Re: Crash on loading project

Hmm, not fixed, strange FTBFS on Debian Buster:

sources/editor/ui/elementpropertieseditorwidget.cpp: In member function 'void ElementPropertiesEditorWidget::on_m_base_type_cb_currentIndexChanged(int)':
sources/editor/ui/elementpropertieseditorwidget.cpp:259:17: error: 'class QTabWidget' has no member named 'setTabVisible'; did you mean 'setVisible'?
  ui->tabWidget->setTabVisible(1,
                 ^~~~~~~~~~~~~
                 setVisible
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7168=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_EXPORT_PROJECT_DB -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -DQET_LANG_PATH=/usr/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/share/qelectrotech/titleblocks/ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -ISingleApplication -Isources/ui -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtSvg -isystem /usr/include/i386-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/i386-linux-gnu/qt5/QtWidgets -isystem /usr/include/i386-linux-gnu/qt5/QtGui -isystem /usr/include/i386-linux-gnu/qt5/QtNetwork -isystem /usr/include/i386-linux-gnu/qt5/QtXml -isystem /usr/include/i386-linux-gnu/qt5/QtSql -isystem /usr/include/i386-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/i386-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o release/partline.o sources/editor/graphicspart/partline.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7168=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_EXPORT_PROJECT_DB -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -DQET_LANG_PATH=/usr/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/share/qelectrotech/titleblocks/ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -ISingleApplication -Isources/ui -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtSvg -isystem /usr/include/i386-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/i386-linux-gnu/qt5/QtWidgets -isystem /usr/include/i386-linux-gnu/qt5/QtGui -isystem /usr/include/i386-linux-gnu/qt5/QtNetwork -isystem /usr/include/i386-linux-gnu/qt5/QtXml -isystem /usr/include/i386-linux-gnu/qt5/QtSql -isystem /usr/include/i386-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/i386-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o release/partpolygon.o sources/editor/graphicspart/partpolygon.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7168=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_EXPORT_PROJECT_DB -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -DQET_LANG_PATH=/usr/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/share/qelectrotech/titleblocks/ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -ISingleApplication -Isources/ui -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtSvg -isystem /usr/include/i386-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/i386-linux-gnu/qt5/QtWidgets -isystem /usr/include/i386-linux-gnu/qt5/QtGui -isystem /usr/include/i386-linux-gnu/qt5/QtNetwork -isystem /usr/include/i386-linux-gnu/qt5/QtXml -isystem /usr/include/i386-linux-gnu/qt5/QtSql -isystem /usr/include/i386-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/i386-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o release/partrectangle.o sources/editor/graphicspart/partrectangle.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7168=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_EXPORT_PROJECT_DB -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -DQET_LANG_PATH=/usr/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/share/qelectrotech/titleblocks/ -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -ISingleApplication -Isources/ui -isystem /usr/include/i386-linux-gnu/qt5 -isystem /usr/include/i386-linux-gnu/qt5/QtSvg -isystem /usr/include/i386-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/i386-linux-gnu/qt5/QtWidgets -isystem /usr/include/i386-linux-gnu/qt5/QtGui -isystem /usr/include/i386-linux-gnu/qt5/QtNetwork -isystem /usr/include/i386-linux-gnu/qt5/QtXml -isystem /usr/include/i386-linux-gnu/qt5/QtSql -isystem /usr/include/i386-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/i386-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o release/partterminal.o sources/editor/graphicspart/partterminal.cpp
make[2]: *** [Makefile.Release:7318: release/elementpropertieseditorwidget.o] Error 1
make[2]: *** Waiting for unfinished jobs....

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Crash on loading project

https://launchpadlibrarian.net/52669757 … ING.txt.gz
https://launchpadlibrarian.net/52669809 … ING.txt.gz

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

28 (edited by Joshua 2021-03-07 13:19:04)

Re: Crash on loading project

Buster use Qt 5.11.3
SetTabVisible introduced in Qt 5.15.

Pushed to master

Développeur QElectroTech

Re: Crash on loading project

Il n'y a pas eut de changement sur ce code récemment, et les builds précédents sont passés..

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Crash on loading project

Testerai ce soir en rentrant du boulot.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Crash on loading project

Ok, fixed.

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."