2,201

(236 replies, posted in News)

@Joshua, not fixed yet here.. Debian Bullseye, Ubuntu Bionic, and Focal...

In file included from sources/TerminalStrip/physicalterminal.cpp:18:
sources/TerminalStrip/physicalterminal.h:91:41: error: field 'm_real_terminal' has incomplete type 'QVector<QSharedPointer<RealTerminal> >'
   QVector<QSharedPointer<RealTerminal>> m_real_terminal;
                                         ^~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1194,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1,
                 from sources/TerminalStrip/physicalterminal.h:21,
                 from sources/TerminalStrip/physicalterminal.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtypeinfo.h:193:1: note: declaration of 'class QVector<QSharedPointer<RealTerminal> >'
Q_DECLARE_MOVABLE_CONTAINER(QVector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7517=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/groupterminalscommand.o sources/TerminalStrip/UndoCommand/groupterminalscommand.cpp
In file included from sources/TerminalStrip/terminalstripbridge.cpp:18:
sources/TerminalStrip/terminalstripbridge.h:51:41: error: field 'm_real_terminals' has incomplete type 'QVector<QSharedPointer<RealTerminal> >'
   QVector<QSharedPointer<RealTerminal>> m_real_terminals;
                                         ^~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1194,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qsharedpointer.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QSharedPointer:1,
                 from sources/TerminalStrip/terminalstripbridge.h:21,
                 from sources/TerminalStrip/terminalstripbridge.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtypeinfo.h:193:1: note: declaration of 'class QVector<QSharedPointer<RealTerminal> >'
Q_DECLARE_MOVABLE_CONTAINER(QVector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sources/TerminalStrip/terminalstripbridge.cpp:18:
sources/TerminalStrip/terminalstripbridge.h:34:40: error: return type 'class QVector<QColor>' is incomplete
   static QVector<QColor> bridgeColor() {return QVector<QColor>{Qt::red, Qt::blue, Qt::white, Qt::darkGray, Qt::black};}
                                        ^
sources/TerminalStrip/terminalstripbridge.h: In static member function 'static void TerminalStripBridge::bridgeColor()':
sources/TerminalStrip/terminalstripbridge.h:34:117: error: too many initializers for 'QVector<QColor>'
   static QVector<QColor> bridgeColor() {return QVector<QColor>{Qt::red, Qt::blue, Qt::white, Qt::darkGray, Qt::black};}
                                                                                                                     ^
In file included from sources/TerminalStrip/UndoCommand/changeterminalstripcolor.cpp:19:
sources/TerminalStrip/UndoCommand/../terminalstripbridge.h:51:41: error: field 'm_real_terminals' has incomplete type 'QVector<QSharedPointer<RealTerminal> >'
   QVector<QSharedPointer<RealTerminal>> m_real_terminals;
                                         ^~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1194,
                 from /usr/include/x86_64-linux-gnu/qt5/QtGui/qtguiglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qtwidgetsglobal.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qundostack.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QUndoCommand:1,
                 from sources/TerminalStrip/UndoCommand/changeterminalstripcolor.h:21,
                 from sources/TerminalStrip/UndoCommand/changeterminalstripcolor.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qtypeinfo.h:193:1: note: declaration of 'class QVector<QSharedPointer<RealTerminal> >'
Q_DECLARE_MOVABLE_CONTAINER(QVector);
^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from sources/TerminalStrip/UndoCommand/changeterminalstripcolor.cpp:19:
sources/TerminalStrip/UndoCommand/../terminalstripbridge.h:34:40: error: return type 'class QVector<QColor>' is incomplete
   static QVector<QColor> bridgeColor() {return QVector<QColor>{Qt::red, Qt::blue, Qt::white, Qt::darkGray, Qt::black};}
                                        ^
sources/TerminalStrip/UndoCommand/../terminalstripbridge.h: In static member function 'static void TerminalStripBridge::bridgeColor()':
sources/TerminalStrip/UndoCommand/../terminalstripbridge.h:34:117: error: too many initializers for 'QVector<QColor>'
   static QVector<QColor> bridgeColor() {return QVector<QColor>{Qt::red, Qt::blue, Qt::white, Qt::darkGray, Qt::black};}
                                                                                                                     ^
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7517=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/sortterminalstripcommand.o sources/TerminalStrip/UndoCommand/sortterminalstripcommand.cpp
make[2]: *** [Makefile.Release:9843: release/changeterminalstripcolor.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile.Release:9606: release/physicalterminal.o] Error 1
make[2]: *** [Makefile.Release:9668: release/terminalstripbridge.o] Error 1
make[2]: Leaving directory '/build/qelectrotech-0.90.r7517'
make[1]: *** [Makefile:40: release] Error 2
make[1]: Leaving directory '/build/qelectrotech-0.90.r7517'
dh_auto_build: make -j48 returned exit code 2
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//76724 and its subdirectories

https://launchpadlibrarian.net/58265413 … ING.txt.gz

https://launchpadlibrarian.net/58265436 … ING.txt.gz

2,202

(236 replies, posted in News)

- Log -----------------------------------------------------------------
commit d562ca8a3954ee47534e0c3f82683a65200b8bb1
Author: joshua <Joshua@q>
Date:   Fri Jan 28 18:08:16 2022 +0100

    Fix fail to build from sources

commit a31bd6eb0da59d946c011d5bad1abb783d36825a
Author: joshua <Joshua@>
Date:   Thu Jan 27 20:00:46 2022 +0100

    Minor improvement about undo/redo for bridge creation
   
    When a new bridge is created, an undo command is created for that.
    When undo the action and redo it, all terminals are bridged to a new
    bridge instead of the first one, who continue to exist but is now
    empty and 'lost' because he will never be reused.
    In addition of that, if a more recent undo command (we call it undo2)
    use this bridge,
    there is a unknown behavior, because the status of the bridge is not the
    same as when the undo2  was created.

commit d114b097bf001c452e856dbf356c99de009a5931
Author: joshua <Joshua@>
Date:   Thu Jan 27 19:45:33 2022 +0100

    Minor Fix : undo command for unbridge strip don't work

commit 993eb58d467fc3d0d8775932ed895f853d0c9898
Author: joshua <Joshua@>
Date:   Thu Jan 27 19:07:49 2022 +0100

    Minor : add undo text


- Log -----------------------------------------------------------------
commit 0bd0476cb1aa4b72c118f2750ea53e1155a6dc56
Merge: 7aa0487 d562ca8
Author: joshua <Joshua@>
Date:   Fri Jan 28 18:09:20 2022 +0100

    Merge branch 'terminal_strip'
   
    * terminal_strip:
      Fix fail to build from sources
      Minor improvement about undo/redo for bridge creation
      Minor Fix : undo command for unbridge strip don't work
      Minor : add undo text

2,203

(236 replies, posted in News)

scorpio810 wrote:
scorpio810 wrote:
scorpio810 wrote:

Due to the complete migration of the site to PHP 7.x  instead off PHP 5.x I intend to completely delete the online viewer elmt to SVG..
These old PHP scripts need to be rewritten completely for migrating from PHP 5.6.x to PHP 7.0.x, and I do not have the time or the knowledge of a PHP expert.
https://www.php.net/migration70

FYI, PunBB forum, Dokuwiki, Mantis Bugtracker, now run on PHP 7. And Mantis was upgraded on 2.X branch.
On Forum I removed old  plugin SC WYSIWYG BBCode editor, so we have come back on the official BBcode but on the other hand the other BBcode even if it was more complete was a source of bugs during posts editions, and has force of hacks the PunBB now works with PHP 7 without empty messages on the forum.

If a PHP expert can help us, I'm ready to send him the old PHP files.

BTW, will have the opportunity to move to the new site and find a way to generate another SVG online viewer from the item collection.

Bonjour,

Seny a retravaillé les scripts PHP 5 pour les rendrent compatible PHP 7/8 ..pour qu'ils soit de nouveau possible d'avoir la collection officielle en visuel en convertissant les éléments "elmt" en fichiers SVG sur le site Web à la volée (online viewer elmt to SVG) .

Çà du être un gros labeur et AMHA surement semé d’embûches, on ne peut que le remercier. nomicons/wink

2,204

(236 replies, posted in News)

Rejected:
hirsute is obsolete and will not accept new uploads.

qelectrotech (0.90.r7512-2ubuntu3) hirsute; urgency=medium

I can't produce these build on my PPA to Hirsute., please upgrade... to new ubuntu version, thanks.

2,205

(236 replies, posted in News)

@Joshua FTBFS on Debian Stable Bullseye.. nomicons/wink

g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/gridlayoutanimation.o sources/titleblock/gridlayoutanimation.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/helpercell.o sources/titleblock/helpercell.cpp
sources/qetxml.cpp: In function 'bool QETXML::validXmlProperty(const QDomElement&)':
sources/qetxml.cpp:917:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (!e.hasAttribute("value"))
     ^~
sources/qetxml.cpp:920:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
  return true;
  ^~~~~~
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/integrationmovetemplateshandler.o sources/titleblock/integrationmovetemplateshandler.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/qettemplateeditor.o sources/titleblock/qettemplateeditor.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:105,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qeasingcurve.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariantanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpropertyanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPropertyAnimation:1,
                 from sources/SearchAndReplace/ui/../../QWidgetAnimation/qwidgetanimation.h:21,
                 from sources/SearchAndReplace/ui/searchandreplacewidget.h:21,
                 from sources/qetdiagrameditor.h:21,
                 from sources/qetdiagrameditor.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h: In instantiation of 'uint qHash(const T&, uint) [with T = std::nullptr_t; uint = unsigned int]':
sources/TerminalStrip/ui/terminalstripmodel.h:41:29:   required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:112:5: error: call of overloaded 'qHash(std::nullptr_t&)' is ambiguous
     Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
     ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qeasingcurve.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariantanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpropertyanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPropertyAnimation:1,
                 from sources/SearchAndReplace/ui/../../QWidgetAnimation/qwidgetanimation.h:21,
                 from sources/SearchAndReplace/ui/searchandreplacewidget.h:21,
                 from sources/qetdiagrameditor.h:21,
                 from sources/qetdiagrameditor.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:97:41: note: candidate: 'uint qHash(const QByteArray&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QByteArray &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:99:41: note: candidate: 'uint qHash(const QString&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QString &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:100:41: note: candidate: 'uint qHash(const QStringRef&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QStringRef &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:102:41: note: candidate: 'uint qHash(QStringView, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QStringView key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/splittedhelpercell.o sources/titleblock/splittedhelpercell.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatecellsset.o sources/titleblock/templatecellsset.cpp
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:105,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qeasingcurve.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariantanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpropertyanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPropertyAnimation:1,
                 from sources/SearchAndReplace/ui/../../QWidgetAnimation/qwidgetanimation.h:21,
                 from sources/SearchAndReplace/ui/searchandreplacewidget.h:21,
                 from sources/qetdiagrameditor.h:21,
                 from sources/qetdiagrameditor.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h: In instantiation of 'uint qHash(const T&, uint) [with T = std::nullptr_t; uint = unsigned int]':
sources/TerminalStrip/ui/terminalstripmodel.h:41:29:   required from here
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:112:5: error: call of overloaded 'qHash(std::nullptr_t&)' is ambiguous
     Q_DECL_NOEXCEPT_EXPR(noexcept(qHash(t)))
     ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:47,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvector.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qeasingcurve.h:45,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qvariantanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qpropertyanimation.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QPropertyAnimation:1,
                 from sources/SearchAndReplace/ui/../../QWidgetAnimation/qwidgetanimation.h:21,
                 from sources/SearchAndReplace/ui/searchandreplacewidget.h:21,
                 from sources/qetdiagrameditor.h:21,
                 from sources/qetdiagrameditor.cpp:18:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:97:41: note: candidate: 'uint qHash(const QByteArray&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QByteArray &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:99:41: note: candidate: 'uint qHash(const QString&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QString &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:100:41: note: candidate: 'uint qHash(const QStringRef&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QStringRef &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:102:41: note: candidate: 'uint qHash(QStringView, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QStringView key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:113:15: error: call of overloaded 'qHash(std::nullptr_t&)' is ambiguous
{ return qHash(t) ^ seed; }
          ~~~~~^~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:97:41: note: candidate: 'uint qHash(const QByteArray&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QByteArray &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:99:41: note: candidate: 'uint qHash(const QString&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QString &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:100:41: note: candidate: 'uint qHash(const QStringRef&, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(const QStringRef &key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
/usr/include/x86_64-linux-gnu/qt5/QtCore/qhashfunctions.h:102:41: note: candidate: 'uint qHash(QStringView, uint)'
Q_CORE_EXPORT Q_DECL_PURE_FUNCTION uint qHash(QStringView key, uint seed = 0) Q_DECL_NOTHROW;
                                         ^~~~~
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatecellwidget.o sources/titleblock/templatecellwidget.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatecommands.o sources/titleblock/templatecommands.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatedeleter.o sources/titleblock/templatedeleter.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatelocation.o sources/titleblock/templatelocation.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatelocationchooser.o sources/titleblock/templatelocationchooser.cpp
g++ -c -pipe -std=c++17 -g -O2 -fdebug-prefix-map=/build/qelectrotech-0.90.r7512=. -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 -Isources/TerminalStrip/ui -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtSvg -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/KF5/KWidgetsAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtSql -isystem /usr/include/x86_64-linux-gnu/qt5/QtConcurrent -isystem /usr/include/KF5/KCoreAddons -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -Irelease -isystem /usr/include/libdrm -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o release/templatelocationsaver.o sources/titleblock/templatelocationsaver.cpp
make[2]: *** [Makefile.Release:5134: release/qetdiagrameditor.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/build/qelectrotech-0.90.r7512'
make[1]: *** [Makefile:40: release] Error 2
make[1]: Leaving directory '/build/qelectrotech-0.90.r7512'
dh_auto_build: make -j48 returned exit code 2
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
I: copying local configuration
E: Failed autobuilding of package
I: unmounting dev/ptmx filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: unmounting sys filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//43634 and its subdirectories

Same on ubuntu-bionic and ubuntu-focal ...
https://launchpadlibrarian.net/58264754 … ING.txt.gz
https://launchpadlibrarian.net/58264751 … ING.txt.gz
https://launchpadlibrarian.net/58264725 … ING.txt.gz

2,206

(236 replies, posted in News)

FYI:

scorpio810 wrote:

On My Debian machine SSD NVME PCIE 3x.

14:15:48.103 Info: Start-up 
14:15:48.157 Info: debugging enabled: false 
14:15:48.158 Info: Qt library version: 5.15.2 
14:15:48.158 Info: Qt library location default prefix: "/usr" 
14:15:48.158 Info: Qt library location documentation: "/usr/share/qt5/doc" 
14:15:48.158 Info: Qt library location headers: "/usr/include/x86_64-linux-gnu/qt5" 
14:15:48.158 Info: Qt library location libraries: "/usr/lib/x86_64-linux-gnu" 
14:15:48.158 Info: Qt library location executables: "/usr/lib/x86_64-linux-gnu/qt5/libexec" 
14:15:48.158 Info: Qt library location Qt binaries: "/usr/lib/qt5/bin" 
14:15:48.158 Info: Qt library location Qt plugins: "/usr/lib/x86_64-linux-gnu/qt5/plugins" 
14:15:48.158 Info: Qt library location installed QML extensions: "/usr/lib/x86_64-linux-gnu/qt5/imports" 
14:15:48.158 Info: Qt library location installed QML extensions: "/usr/lib/x86_64-linux-gnu/qt5/qml" 
14:15:48.158 Info: Qt library location dependent Qt data: "/usr/lib/x86_64-linux-gnu/qt5" 
14:15:48.158 Info: Qt library location independent Qt data: "/usr/share/qt5" 
14:15:48.158 Info: Qt library location translation: "/usr/share/qt5/translations" 
14:15:48.158 Info: Qt library location examples: "/usr/lib/x86_64-linux-gnu/qt5/examples" 
14:15:48.158 Info: Qt library location Qt testcases: "/usr/tests" 
14:15:48.158 Info: Qt library location Qt settings: "/etc/xdg" 
14:15:48.158 Info: "QElectroTech V 0.90-DEV+f08811acab0a58100c957a06d79751d3" 
14:15:48.158 Info: "Compilation: GCC 11.2.0" 
14:15:48.158 Info: "Built with Qt 5.15.2 - Date : Nov  7 2021 : 11:58:58" 
14:15:48.158 Info: "Run with Qt 5.15.2 using 48 thread(s)" 
14:15:48.158 Info: "CPU : model name\t: AMD Ryzen Threadripper 3960X 24-Core Processor\n" 
14:15:48.158 Info: "RAM Total : 64193 MB" 
14:15:48.158 Info: "RAM Available : 59416 MB" 
14:15:48.158 Info: "GPU :  Advanced Micro Devices, Inc. [AMD/ATI] Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] (rev c7)\n" 
14:15:48.158 Info: "GPU RAM : @ToDo" 
14:15:48.158 Info: "OS : linux  - x86_64 - Version : Debian GNU/Linux bookworm/sid - Kernel : 5.15.4-vanilla" 
14:15:48.158 Info: *** Qt screens *** 
14:15:48.158 Info: "( 1 : 3840 x 2160 )" 
14:15:48.158 Info: "( 2 : 1920 x 1080 )" 
14:15:48.412 Info: Elements collection reload 
14:15:48.701 Info: Elements collection finished to be loaded 

./count_elements.sh
7820 elements dans 1039 categories (soit 8859 fichiers)


14:15:48.103 Info: Start-up
14:15:48.412 Info: Elements collection reload
14:15:48.701 Info: Elements collection finished to be loaded

7820 elements loaded in 0.3 seconds .... 0.6 seconds after click to launch QET is ready.

2,207

(236 replies, posted in News)

Note that I only measure the first boot, once Windows has started. The other throws after are much faster.
On my laptop is a SSD NVME PCIE 3x.

2,208

(236 replies, posted in News)

@alexhaasjogos, thanks.

SSD/sata/or pciE or HD?
if you have a hard drive it's probably normal to have these load times, but I saw a big progress with latest Windows update..

2,209

(1 replies, posted in Elements)

https://git.tuxfamily.org/qet/qet.git/c … e2e5c42d89
Added, thanks.

2,210

(236 replies, posted in News)

Édition    Windows 10 Professionnel
Version    21H2
Installé le    10/03/2021
Build du système d’exploitation    19044.1469
Expérience    Windows Feature Experience Pack 120.2212.3920.0


08:28:44.973 Info: "QElectroTech V 0.90-DEV+bb48c4607b0a58100c957a06d79751d3"
08:28:44.974 Info: "Compilation : GCC 9.3.0"
08:28:44.974 Info: "Built with Qt 5.15.2 - Date : Jan 21 2022 : 10:40:44"
08:28:44.974 Info: "Run with Qt 5.15.2 using 8 thread(s)"
08:28:44.975 Info: "CPU : NAME                                      \r\r\nINTEL(R) CORE(TM) I7-8550U CPU @ 1.80GHZ  \r\r\n\r\r\n"
08:28:44.975 Info: "RAM Total : 16199 MB"
08:28:44.976 Info: "RAM Available : 11733 MB"
08:28:44.976 Info: "GPU : VideoProcessor                \r\r\nIntel(R) UHD Graphics Family  \r\r\n\r\r\n"
08:28:44.976 Info: "GPU RAM : RAM Total : AdapterRAM  \r\r\n1073741824  \r\r\n\r\r\n B"
08:28:44.977 Info: "OS : winnt  - x86_64 - Version : Windows 10 Version 2009 - Kernel : 10.0.19044"
08:28:44.977 Info: *** Qt screens ***
08:28:44.978 Info: "( 1 : 3840 x 2160 )"
08:28:45.006 Info: Elements collection reload
08:28:45.899 Info: Elements collection finished to be loaded

2,211

(1 replies, posted in DE : Hilfe, Vorschläge, Unterhaltungen...)

https://download.qelectrotech.org/qet/forum_img_2/folio_label.png

Hi,

you have two solution:

Convert your image to DXF by online converter, use DXFtoelmt converter program to create QET element.
Edit this new element, add terminal, text etc.

Or create a element with only a terminal in element editor, put this terminal above your picture in diagram to create connectable elements with images.

https://download.qelectrotech.org/qet/s … t/Windows/

2,214

(53 replies, posted in Videos howto)

Voir ici pour savoir ou snap met ces petits https://qelectrotech.org/forum/viewtopi … 501#p15501

Pour la 0.9-dev c'est dans ~/.qet/elements/

2,216

(53 replies, posted in Videos howto)

2,217

(14 replies, posted in Code)

Possible fix ? ... I don't know this part ...
#if TODO_LIST
#pragma message("@TODO remove code for QT 6 or later")
#        pragma message("@TODO ad Core5Compat to Cmake")
#endif
            qDebug() << "Help code for QT 6 or later";

            QString               path_ = collectionPath(false);
            QRegularExpression rx ("^(.*)/(.*\\.elmt)$");
            if (!rx.isValid())
    {
        qWarning()
            <<QObject::tr("this is an error in the code")
            << rx.errorString()
            << rx.patternErrorOffset();
    }
            QRegularExpressionMatch match = rx.match(path_);
            if (match.hasMatch())
            {
                return project()
                    ->embeddedElementCollection()
                    ->addElementDefinition(
                        match.captured(1),
                        match.captured(2),
                        xml_document.documentElement());
            }
            else
            {
                qDebug() << "ElementsLocation::setXml :"
                            " rx don't match";
            }
#endif

But it segfault again .. further in the code ..

nclude-fixed -I/usr/include/x86_64-linux-gnu -I/usr/include ../sources/titleblocktemplate.h -o release/moc_titleblocktemplate.cpp
../sources/TerminalStrip/terminalstrip.cpp: In member function ‘bool PhysicalTerminal::setLevelOf(shared_real_terminal, int)’:
../sources/TerminalStrip/terminalstrip.cpp:305:76: error: no matching function for call to ‘min(int&, qsizetype)’
  305 |     m_real_terminal.swapItemsAt(i, std::min(level, m_real_terminal.size()-1));
      |                                                                            ^

     
In file included from ../sources/TerminalStrip/ui/terminalstripeditor.cpp:18:
../sources/TerminalStrip/ui/terminalstripeditor.h:74:45: error: field ‘m_item_strip_H’ has incomplete type ‘QHash<QTreeWidgetItem*, TerminalStrip*>’
   74 |   QHash<QTreeWidgetItem *, TerminalStrip *> m_item_strip_H;
      |                                             ^~~~~~~~~~~~~~
In file included from ../../Qt/6.2.2/gcc_64/include/QtCore/qtypeinfo.h:42,
                 from ../../Qt/6.2.2/gcc_64/include/QtCore/qglobal.h:1422,
                 from ../../Qt/6.2.2/gcc_64/include/QtGui/qtguiglobal.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/qtwidgetsglobal.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/qdialog.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/QDialog:1,
                 from ../sources/TerminalStrip/ui/terminalstripeditor.h:21,
                 from ../sources/TerminalStrip/ui/terminalstripeditor.cpp:18:
../../Qt/6.2.2/gcc_64/include/QtCore/qcontainerfwd.h:51:43: note: declaration of ‘class QHash<QTreeWidgetItem*, TerminalStrip*>’
   51 | template <typename Key, typename T> class QHash;
      |                                           ^~~~~
In file included from ../sources/TerminalStrip/ui/terminalstripeditor.cpp:18:
../sources/TerminalStrip/ui/terminalstripeditor.h:75:43: error: field ‘m_uuid_terminal_H’ has incomplete type ‘QHash<QUuid, QPointer<TerminalElement> >’
   75 |   QHash<QUuid, QPointer<TerminalElement>> m_uuid_terminal_H;
      |                                           ^~~~~~~~~~~~~~~~~
In file included from ../../Qt/6.2.2/gcc_64/include/QtCore/qtypeinfo.h:42,
                 from ../../Qt/6.2.2/gcc_64/include/QtCore/qglobal.h:1422,
                 from ../../Qt/6.2.2/gcc_64/include/QtGui/qtguiglobal.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/qtwidgetsglobal.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/qdialog.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/QDialog:1,
                 from ../sources/TerminalStrip/ui/terminalstripeditor.h:21,
                 from ../sources/TerminalStrip/ui/terminalstripeditor.cpp:18:
../../Qt/6.2.2/gcc_64/include/QtCore/qcontainerfwd.h:51:43: note: declaration of ‘class QHash<QUuid, QPointer<TerminalElement> >’
   51 | template <typename Key, typename T> class QHash;
      |                                           ^~~~~
In file included from ../sources/TerminalStrip/ui/terminalstripeditor.cpp:18:
../sources/TerminalStrip/ui/terminalstripeditor.h:76:41: error: field ‘m_uuid_strip_H’ has incomplete type ‘QHash<QUuid, QPointer<TerminalStrip> >’
   76 |   QHash<QUuid, QPointer<TerminalStrip>> m_uuid_strip_H;
      |                                         ^~~~~~~~~~~~~~
In file included from ../../Qt/6.2.2/gcc_64/include/QtCore/qtypeinfo.h:42,
                 from ../../Qt/6.2.2/gcc_64/include/QtCore/qglobal.h:1422,
                 from ../../Qt/6.2.2/gcc_64/include/QtGui/qtguiglobal.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/qtwidgetsglobal.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/qdialog.h:43,
                 from ../../Qt/6.2.2/gcc_64/include/QtWidgets/QDialog:1,
                 from ../sources/TerminalStrip/ui/terminalstripeditor.h:21,
                 from ../sources/TerminalStrip/ui/terminalstripeditor.cpp:18:
../../Qt/6.2.2/gcc_64/include/QtCore/qcontainerfwd.h:51:43: note: declaration of ‘class QHash<QUuid, QPointer<TerminalStrip> >’
   51 | template <typename Key, typename T> class QHash;

https://download.qelectrotech.org/qet/forum_img_2/Qt6_FTBFS.png

https://doc.qt.io/qt-6/portingguide.html
https://doc.qt.io/qt-6/porting-to-qt6-using-clazy.html

Paquet Snap?
Sinon, tu as mon PPA et des debs.
https://launchpad.net/~scorpio/+archive … rotech-dev

2,219

(14 replies, posted in Code)

@ Simon,
you can compile last 0.9-dev on Qt6.X without error?, or saw like me:
../sources/ElementsCollection/elementslocation.cpp: In member function ‘bool ElementsLocation::setXml(const QDomDocument&) const’:
../sources/ElementsCollection/elementslocation.cpp:783:11: error: ‘class QRegularExpression’ has no member named ‘exactMatch’; did you mean ‘NoMatch’?
    if (rx.exactMatch(path_))
           ^~~~~~~~~~
           NoMatch
../sources/ElementsCollection/elementslocation.cpp:788:10: error: ‘class QRegularExpression’ has no member named ‘cap’; did you mean ‘swap’?
       rx.cap(1),
          ^~~
          swap
../sources/ElementsCollection/elementslocation.cpp:789:10: error: ‘class QRegularExpression’ has no member named ‘cap’; did you mean ‘swap’?
       rx.cap(2),
          ^~~
          swap

Joshua wrote:

Oui ouverture/fermeture de la porte avec l'heure.
J'ai demandé autour de moi + les forums, l'ensoleillement sur le papier c'est bien mais en pratique pas vraiment et de toute façon les poules se couchent un peu avant la nuit, donc même si la porte se ferme 15/20 minutes après le couché du soleil c'est pas bien grave.
J'ai pris un arduino avec un écran + pad et un petit moteur pas à pas. Le plus chiant en fait c'est de faire un montage qui tient à peu près dans le temps avec le maximum de récup.
L'autre solution pas cher serais d’investir dans un programmateur 24V et un moteur 24V genre moteur de portail électrique (j'ai la possibilité d'avoir les batteries). 0 programmation juste quelques fil peut être un ou deux relais et un peu de mécanique de bourrin (tasseau de bois pour faire des glissières et une planche ou un bout de tôle pour la porte).

A voir.... (me connaissant c'est pas encore fait :-p )

https://www.instructables.com/3D-Printa … cken-Door/

2,221

(14 replies, posted in Code)

CMake Warning at build/_deps/kcoreaddons-src/CMakeLists.txt:7 (find_package):
  Could not find a configuration file for package "ECM" that is compatible                                                                                                                                                                                                   
  with requested version "5.77.0".  ..... What the fuck ...

laurent@debian:~$ apt-cache policy libkf5coreaddons-dev
libkf5coreaddons-dev:
  Installé : 5.78.0-4
  Candidat : 5.78.0-4
 Table de version :
 *** 5.78.0-4 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status

laurent@debian:~$ apt-cache policy libkf5widgetsaddons-dev
libkf5widgetsaddons-dev:
  Installé : 5.78.0-2
  Candidat : 5.78.0-2
 Table de version :
 *** 5.78.0-2 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
        100 /var/lib/dpkg/status
laurent@debian:~/kde/mkspecs/modules$ cat qt_KCoreAddons.pri 
QT.KCoreAddons.VERSION = 5.91.0
QT.KCoreAddons.MAJOR_VERSION = 5
QT.KCoreAddons.MINOR_VERSION = 91
QT.KCoreAddons.PATCH_VERSION = 0
QT.KCoreAddons.name = KF5CoreAddons
QT.KCoreAddons.module = KF5CoreAddons
QT.KCoreAddons.defines = 
QT.KCoreAddons.includes = $$PWD/../../include/KF6/KCoreAddons
QT.KCoreAddons.private_includes =
QT.KCoreAddons.libs = $$PWD/../../lib/x86_64-linux-gnu
QT.KCoreAddons.depends = core
QT.KCoreAddons.module_config = 

laurent@debian:~/Qt/6.2.2/gcc_64/mkspecs/modules$ cat qt_KCoreAddons.pri 
QT.KCoreAddons.VERSION = 5.91.0
QT.KCoreAddons.MAJOR_VERSION = 5
QT.KCoreAddons.MINOR_VERSION = 91
QT.KCoreAddons.PATCH_VERSION = 0
QT.KCoreAddons.name = KF5CoreAddons
QT.KCoreAddons.module = KF5CoreAddons
QT.KCoreAddons.defines = 
QT.KCoreAddons.includes = ~/kde/include/KF6/KCoreAddons
QT.KCoreAddons.private_includes =
QT.KCoreAddons.libs = ~/kde/lib/x86_64-linux-gnu
QT.KCoreAddons.depends = core
QT.KCoreAddons.module_config = 
laurent@debian:~/qet_git/build$ /usr/local/bin/cmake .. -G Ninja -DBUILD_WITH_QT6=ON -DEXCLUDE_DEPRECATED_BEFORE_AND_AT=CURRENT
-- The CXX compiler identification is GNU 8.3.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
_____________________________________________________________________
Copyright 2006 The QElectroTech Team
This file is part of QElectroTech.

QElectroTech is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.
QElectroTech is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with QElectroTech.  If not, see <http://www.gnu.org/licenses/>.
_____________________________________________________________________
Add sub directorie tests
.____________________________________________________________________
. PROJECT_NAME              :unittests
. PROJECT_SOURCE_DIR        :/home/laurent/qet_git/tests
. Add sub directorie catch
..___________________________________________________________________
.. PROJECT_NAME              :C_unittests
.. PROJECT_SOURCE_DIR        :/home/laurent/qet_git/tests/catch
.. QET_DIR                   :/home/laurent/qet_git
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
-- Looking for C++ include pthread.h
-- Looking for C++ include pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE  
.. QT_VERSION_MAJOR   :6
-- Performing Test HAVE_STDATOMIC
-- Performing Test HAVE_STDATOMIC - Success
-- Found WrapAtomic: TRUE  
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found WrapOpenGL: TRUE  
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
-- Found WrapVulkanHeaders: /usr/include  
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1d")  
-- Found WrapOpenSSLHeaders: /usr/include (found version "1.1.1d") 
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
.. CATCH_INCLUDE_DIR is not set,assuming Catch2 can be found automatically in your system
. Add sub directorie googletest
..___________________________________________________________________
.. PROJECT_NAME              :G_unittests
.. PROJECT_SOURCE_DIR        :/home/laurent/qet_git/tests/googletest
.. QET_DIR                   :/home/laurent/qet_git
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR          :6
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
CMake Deprecation Warning at build/_deps/gtest-src/CMakeLists.txt:4 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 8.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
CMake Deprecation Warning at build/_deps/gtest-src/googlemock/CMakeLists.txt:45 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


CMake Deprecation Warning at build/_deps/gtest-src/googletest/CMakeLists.txt:56 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- Found PythonInterp: /usr/bin/python (found version "2.7.16") 
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
. Add sub directorie googlemock
..___________________________________________________________________
.. PROJECT_NAME              :G_unitmocktests
.. PROJECT_SOURCE_DIR        :/home/laurent/qet_git/tests/googlemock
.. QET_DIR                   :/home/laurent/qet_git
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR          :6
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
. Add sub directorie qttest
..___________________________________________________________________
.. PROJECT_NAME              :qt_unittests
.. PROJECT_SOURCE_DIR        :/home/laurent/qet_git/tests/qttest
.. QET_DIR                   :/home/laurent/qet_git
.. QET_COMPONENTS is not set !!! I set them up !!!
 - qet_compilation_vars
.. QT_VERSION_MAJOR          :6
-- Could NOT find XKB (missing: XKB_LIBRARY XKB_INCLUDE_DIR) (Required is at least version "0.5.0")
 - fetch_kdeaddons
 - fetch_singleapplication
 - fetch_pugixml
 - paths_compilation_installation
 - start_options
 - developer_options
 - git_update_submodules
 - git_last_commit_sha
 - fetch_kdeaddons
CMake Warning at build/_deps/ecm-src/docs/CMakeLists.txt:10 (find_package):
  No "FindSphinx.cmake" found in CMAKE_MODULE_PATH.                                                                                                                                                                                                                           


CMake Warning (dev) at build/_deps/ecm-src/docs/CMakeLists.txt:10 (find_package):
  FindSphinx.cmake must either be part of this project itself, in this case                                                                                                                                                                                                   
  adjust CMAKE_MODULE_PATH so that it points to the correct location inside                                                                                                                                                                                                   
  its source tree.                                                                                                                                                                                                                                                            

  Or it must be installed by a package which has already been found via                                                                                                                                                                                                       
  find_package().  In this case make sure that package has indeed been found                                                                                                                                                                                                  
  and adjust CMAKE_MODULE_PATH to contain the location where that package has                                                                                                                                                                                                 
  installed FindSphinx.cmake.  This must be a location provided by that                                                                                                                                                                                                       
  package.  This error in general means that the buildsystem of this project                                                                                                                                                                                                  
  is relying on a Find-module without ensuring that it is actually available.                                                                                                                                                                                                 

This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                                                                                                                                         

CMake Warning at build/_deps/ecm-src/docs/CMakeLists.txt:20 (find_package):
  No "FindQCollectionGenerator.cmake" found in CMAKE_MODULE_PATH.                                                                                                                                                                                                             


CMake Warning (dev) at build/_deps/ecm-src/docs/CMakeLists.txt:20 (find_package):
  FindQCollectionGenerator.cmake must either be part of this project itself,                                                                                                                                                                                                  
  in this case adjust CMAKE_MODULE_PATH so that it points to the correct                                                                                                                                                                                                      
  location inside its source tree.                                                                                                                                                                                                                                            

  Or it must be installed by a package which has already been found via                                                                                                                                                                                                       
  find_package().  In this case make sure that package has indeed been found                                                                                                                                                                                                  
  and adjust CMAKE_MODULE_PATH to contain the location where that package has                                                                                                                                                                                                 
  installed FindQCollectionGenerator.cmake.  This must be a location provided                                                                                                                                                                                                 
  by that package.  This error in general means that the buildsystem of this                                                                                                                                                                                                  
  project is relying on a Find-module without ensuring that it is actually                                                                                                                                                                                                    
  available.                                                                                                                                                                                                                                                                  

This warning is for project developers.  Use -Wno-dev to suppress it.                                                                                                                                                                                                         

-- The following OPTIONAL packages have been found:

 * PythonInterp
 * Qt6LinguistTools
 * Qt6CoreTools (required version >= 6.2.2)
 * OpenGL
 * WrapVulkanHeaders
 * Qt6GuiTools (required version >= 6.2.2)
 * Qt6DBusTools (required version >= 6.2.2)
 * Qt6DBus (required version >= 6.2.2)
 * Qt6Gui (required version >= 6.2.2)
 * Qt6PrintSupport
 * Qt6Xml
 * Qt6Svg
 * Qt6Sql
 * OpenSSL
 * WrapOpenSSLHeaders
 * Qt6Network
 * Qt6WidgetsTools (required version >= 6.2.2)
 * Qt6Widgets
 * Qt6Concurrent
 * Qt6Test

-- The following REQUIRED packages have been found:

 * QT
 * Threads
 * Qt6

-- The following features have been disabled:

 * BUILD_HTML_DOCS, Generate HTML documentation for installed modules.
 * BUILD_MAN_DOCS, Generate man page documentation for installed modules.
 * BUILD_QTHELP_DOCS, Generate QtHelp documentation for installed modules.
 * BUILD_TESTING, Build automated tests.

-- The following OPTIONAL packages have not been found:

 * XKB (required version >= 0.5.0), XKB API common to servers and clients., <http://xkbcommon.org>
 * Sphinx (required version >= 1.2), Tool to generate documentation., <https://www.sphinx-doc.org/>
   Required to build documentation for Extra CMake Modules.
 * QCollectionGenerator, Qt help collection generator., <https://www.qt.io/>
   Required to build Extra CMake Modules documentation in Qt Help format.

CMake Warning at build/_deps/kcoreaddons-src/CMakeLists.txt:7 (find_package):
  Could not find a configuration file for package "ECM" that is compatible                                                                                                                                                                                                    
  with requested version "5.77.0".                                                                                                                                                                                                                                            

  The following configuration files were considered but not accepted:                                                                                                                                                                                                         

    /usr/share/ECM/cmake/ECMConfig.cmake, version: 5.54.0                                                                                                                                                                                                                     



-- 
 * ECM (required version >= 5.77.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>

CMake Error at /usr/local/share/cmake-3.22/Modules/FeatureSummary.cmake:464 (message):
  feature_summary() Error: REQUIRED package(s) are missing, aborting CMake                                                                                                                                                                                                    
  run.                                                                                                                                                                                                                                                                        
Call Stack (most recent call first):                                                                                                                                                                                                                                          
  build/_deps/kcoreaddons-src/CMakeLists.txt:9 (feature_summary)                                                                                                                                                                                                              


-- Configuring incomplete, errors occurred!
See also "/home/laurent/qet_git/build/CMakeFiles/CMakeOutput.log".
See also "/home/laurent/qet_git/build/CMakeFiles/CMakeError.log".

2,222

(14 replies, posted in Code)

https://doc-snapshots.qt.io/qt6-dev/qre … ssion.html

https://doc.qt.io/qt-5/qregularexpressi … gexp-users

Porting from QRegExp's Exact Matching
Exact matching indicates whether the regular expression matches the entire subject string. For example, the classes yield on the subject string "abc123":

QRegExp::exactMatch()    QRegularExpressionMatch::hasMatch()
"\\d+"    false    true
"[a-z]+\\d+"    true    true
Exact matching is not reflected in QRegularExpression. If you want to be sure that the subject string matches the regular expression exactly, you can wrap the pattern using the anchoredPattern() function:

QString p("a .*|pattern");

// re matches exactly the pattern string p
QRegularExpression re(QRegularExpression::anchoredPattern(p));
Porting from QRegExp's Partial Matching
When using QRegExp::exactMatch(), if an exact match was not found, one could still find out how much of the subject string was matched by the regular expression by calling QRegExp::matchedLength(). If the returned length was equal to the subject string's length, then one could conclude that a partial match was found.

QRegularExpression supports partial matching explicitly by means of the appropriate MatchType.

https://stackoverflow.com/questions/685 … tch-in-qt6
https://github.com/Komet/MediaElch/issues/1086

bugwelle commented on 16 Dec 2020 •
edited
QRegEx is deprecated and was removed in Qt 6. If we want to upgrade, we need to replace it.

Notable differences:

https://doc.qt.io/qt-5/qregularexpressi … gexp-users
Upgrade step by step. We use similar regex names throughout MediaElch. So we could:

replace rx.cap( by match.captured(
replace QRegEx by QRegularExpression
replace if (rx.indexIn( by QRegularExpressionMatch match = rx.match(searchString); if (match.hasMatch()) and update the invalid code parts
replace .setCaseSensitivity by .setPatternOptions
For lastIndexIn patterns, we can rewrite it using QString::lastIndexIn:

    rx.setPattern("[-\\s_]");
    while (name.length() > 0 && rx.lastIndexIn(name) == name.length() - 1) {
        name.chop(1);
    }
becomes

    rx.setPattern("[-\\s_]");
    while (name.length() > 0 && name.lastIndexOf(rx) == name.length() - 1) {
        name.chop(1);
    }

https://github.com/Komet/MediaElch/pull … 6477a862fd

2,223

(14 replies, posted in Code)

@Simon :

De-Backer wrote:

or for Qt6

cp ~/kde/usr/mkspecs/modules/*.pri ~/Qt/6.0.0/gcc_64/mkspecs/modules/
cp -r ~/kde/usr/include/* ~/Qt/6.0.0/gcc_64/include/
cp -r ~/kde/usr/lib64 ~/Qt/6.0.0/gcc_64/
cp -r ~/kde/usr/bin ~/Qt/6.0.0/gcc_64/

Install Qt6.2 before with MaintenanceTool

Edit ~/.bashrc :

PATH=.:~/Qt/6.2.2/gcc_64/bin:$PATH
export PATH=~/kde/src/kdesrc-build:$PATH

Apply change

source ~/.bashrc

Edit qt5.conf

sudo nano /usr/lib/x86_64-linux-gnu/qtchooser/qt5.conf

Verify:

qtchooser -print-env
QT_SELECT="default"
QTTOOLDIR="/home/laurent/Qt/6.2.2/gcc_64/bin"
QTLIBDIR="/home/laurent/Qt/6.2.2/gcc_64/lib"

qmake --version
QMake version 3.1
Using Qt version 6.2.2 in /home/laurent/Qt/6.2.2/gcc_64/lib

Update Cmake :
https://github.com/Kitware/CMake/

laurent@debian:~/Téléchargements/CMake-master$ 
./bootstrap && make && sudo make install

Update ~/.kdesrc-buildrc


laurent@debian:~$ cat ~/.kdesrc-buildrc 

# This is a sample kdesrc-build configuration file appropriate for KDE
# Frameworks 5-based build environments.
#
# See the kdesrc-buildrc-sample for explanations of what the options do, or
# view the manpage or kdesrc-build documentation at
# https://docs.kde.org/trunk5/en/extragea … index.html
global
    branch-group kf5-qt5
    kdedir ~/kde # Where to install KF5-based software
    # Uncomment this and edit value to choose a different Qt5
    qtdir ~/Qt/6.2.2/gcc_64   # Where to find Qt5

    # Where to download source code. By default the build directory and
    # logs will be kept under this directory as well.
    source-dir ~/kde
end global

# Instead of specifying modules here, the current best practice is to refer to
# KF5 module lists maintained with kdesrc-build by the KF5 developers. As new
# modules are added or modified, the kdesrc-build KF5 module list is altered to
# suit, and when you update kdesrc-build you will automatically pick up the
# needed changes.

# NOTE: You MUST change the path below to include the actual path to your
# kdesrc-build installation.
#include ~/kde/src/kdesrc-build/kf6-qt6-build-include
include ~/kde/src/kdesrc-build/kf6-frameworks-build-include
# If you wish to maintain the module list yourself that is possible, simply
# look at the files pointed to above and use the "module-set" declarations that
# they use, with your own changes.

# It is possible to change the options for modules loaded from the file
# included above (since it's not possible to add a module that's already been
# included), e.g.
options kcoreaddons
    make-options -j16
end options

--initial-setup and build with kdesrc-build kwidgetsaddons karchive kcoreaddons

laurent@debian:~$ ./kdesrc-build --initial-setup
laurent@debian:~$ ./kdesrc-build kwidgetsaddons karchive kcoreaddons --include-dependencies


Updating sysadmin-repo-metadata (to branch master)
git gave error exit code 129

Building extra-cmake-modules from frameworks (1/4)
        No source update, but the last configure failed
        Updating extra-cmake-modules (to branch master)
        git gave error exit code 129
        Source update complete for extra-cmake-modules: no files affected
        Preparing build system for extra-cmake-modules.
        Removing files in build directory for extra-cmake-modules
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Compiling... succeeded (after 0 seconds)
        Installing.. succeeded (after 0 seconds)

Building karchive from frameworks (2/4)
        No source update, but the last configure failed
        Updating karchive (to branch master)
        git gave error exit code 129
        Source update complete for karchive: no files affected
        Preparing build system for karchive.
        Removing files in build directory for karchive
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Compiling... succeeded (after 30 seconds)
        Note: - 1 - compile warnings
        Installing.. succeeded (after 0 seconds)

Building kcoreaddons from frameworks (3/4)
        No source update, but the last configure failed
        Updating kcoreaddons (to branch master)
        git gave error exit code 129
        Source update complete for kcoreaddons: no files affected
        Preparing build system for kcoreaddons.
        Removing files in build directory for kcoreaddons
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Compiling... succeeded (after 12 seconds)
        Note: --- 21 --- compile warnings
        Installing.. succeeded (after 0 seconds)

Building kwidgetsaddons from frameworks (4/4)
        No source update, but the last configure failed
        Updating kwidgetsaddons (to branch master)
        git gave error exit code 129
        Source update complete for kwidgetsaddons: no files affected
        Preparing build system for kwidgetsaddons.
        Removing files in build directory for kwidgetsaddons
        Old build system cleaned, starting new build system.
        Running cmake targeting Unix Makefiles...
        Compiling... succeeded (after 3 minutes, and 48 seconds)
        Note: ---- 86 ---- compile warnings
        Installing.. succeeded (after 0 seconds)

<<<  PACKAGES SUCCESSFULLY BUILT  >>>
extra-cmake-modules
karchive
kcoreaddons
kwidgetsaddons
 
        * Installing "sample-kde-env-master.sh" would overwrite an existing file:
        *  /home/laurent/.config/kde-env-master.sh
        * If this is acceptable, please delete the existing file and re-run,
        * or pass --delete-my-settings and re-run.

:-)
Your logs are saved in file:///home/laurent/kde/log/2022-01-15-02

Setup Qt6.2.2:

cp ~/kde/mkspecs/modules/*.pri ~/Qt/6.2.2/gcc_64/mkspecs/modules/
cp -r ~/kde/include/KF6 ~/Qt/6.2.2/gcc_64/include/
cp -r ~/kde/lib/x86_64-linux-gnu ~/Qt/6.2.2/gcc_64/
cp -r ~/kde/bin ~/Qt/6.2.2/gcc_64/

Go to QET source directory

mkdir build && cd build
#/usr/local/bin/cmake .. -G Ninja  ## not working yet
qmake ../qelectrotech.pro
make -j24

Compile error ..with Qt6.2.2 and KF6

../sources/ElementsCollection/elementslocation.cpp: In member function ‘bool ElementsLocation::setXml(const QDomDocument&) const:
../sources/ElementsCollection/elementslocation.cpp:783:11: error:class QRegularExpression’ has no member named ‘exactMatch’; did you mean ‘NoMatch’?
    if (rx.exactMatch(path_))
           ^~~~~~~~~~
           NoMatch
../sources/ElementsCollection/elementslocation.cpp:788:10: error:class QRegularExpression’ has no member named ‘cap’; did you mean ‘swap’?
       rx.cap(1),
          ^~~
          swap
../sources/ElementsCollection/elementslocation.cpp:789:10: error:class QRegularExpression’ has no member named ‘cap’; did you mean ‘swap’?
       rx.cap(2),
          ^~~
          swap
g++ -c -pipe -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -DGIT_COMMIT_SHA=\"d7e2ef283a6c9b48f2e405fa7bd0f46dd3500c0a\" -DQET_LANG_PATH=/usr/local/share/qelectrotech/lang/ -DQET_COMMON_COLLECTION_PATH=/usr/local/share/qelectrotech/elements/ -DQET_COMMON_TBT_PATH=/usr/local/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../../qet_git -I. -I../SingleApplication -I../sources/ui -I../sources/TerminalStrip/ui -I../../Qt/6.2.2/gcc_64/include -I../../Qt/6.2.2/gcc_64/include/QtSvg -I../../Qt/6.2.2/gcc_64/include/QtPrintSupport -I../../Qt/6.2.2/gcc_64/include/KF6/KWidgetsAddons -I../../Qt/6.2.2/gcc_64/include/QtWidgets -I../../Qt/6.2.2/gcc_64/include/QtGui -I../../Qt/6.2.2/gcc_64/include/QtNetwork -I../../Qt/6.2.2/gcc_64/include/QtXml -I../../Qt/6.2.2/gcc_64/include/QtSql -I../../Qt/6.2.2/gcc_64/include/QtConcurrent -I../../Qt/6.2.2/gcc_64/include/KF6/KCoreAddons -I../../Qt/6.2.2/gcc_64/include/QtCore -Irelease -I. -I../../Qt/6.2.2/gcc_64/mkspecs/linux-g++ -o release/xmlprojectelementcollectionitem.o ../sources/ElementsCollection/xmlprojectelementcollectionitem.cpp
make[1]: *** [Makefile.Release:62978: release/elementslocation.o] Error 1
make[1]: *** Attente des tâches non terminées....
make[1] : on quitte le répertoire « /home/laurent/qet_git/build »
make: *** [Makefile:42: release] Error 2

https://download.qelectrotech.org/qet/forum_img_2/Qt6_bug.png

2,224

(146 replies, posted in Code)

https://www.volkerkrause.eu/2022/01/15/ … ation.html

2,225

(53 replies, posted in Videos howto)