Bonjour,

il est déjà possible d'exporter la base de donnée sqlite "nomenclature", justement pour l’éditer en SQL, exemple avec un browser-sql.
https://sqlitebrowser.org/
Ou
https://www.devart.com/odbc/sqlite/docs/excel.htm
https://wiki.qt.io/Handling_Microsoft_Excel_file_format

Mais pour l'instant il n'est pas facile de la re-injecter sans bricoler dans le code.
https://git.tuxfamily.org/qet/qet.git/t … tabase.cpp

L'export de la db n'est pour le moment pas accessible sur OSX, AppImage, Flatpak.

Hallo,

have you installed TCl?
https://www.activestate.com/products/tcl/downloads/

2,553

(17 replies, posted in News)

Version 0.8 arrives on Debian, thanks Martin.
http://incoming.debian.org/debian-build … ectrotech/
https://tracker.debian.org/pkg/qelectrotech

Try last builds.

2,555

(2 replies, posted in EN : Help, suggestions, discussions, ...)

Hi,

you want to install Windows fonts in your Linux?

Thanks for your help, but I 'm waitting to have Big sur on my KVM machine.

Thanks for feedback, if user on Big sur can adapt command with new Python path, I 'm happy to added.
https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2344

I don't know, I don't have yet Big sur, only Catalina.
https://github.com/foxlet/macOS-Simple-KVM/issues/413
QET need to be cloed when your run in manualhy qet_tb_generator.
You could try it with industrial.qet example provided in bundle.

in manual the plugin will work just as well, just have QET closed and go with dialog find and chose the QET project file to generate terminalblocks.

Maybe force quit finder and terminal and retry?

Or with

/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

ok,
now
It 'launch with this command:

python3.8 /Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

/Applications/Python\ 3.8/Update\ Shell\ Profile.command ; exit;

Qet_tb_generator path need to be in this path for is open with QET
/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator


not in Users/jvdv/Library/Pyhon/3.8 ....

OK, plugin run, but QET search plugin in this path

#elif  defined(Q_OS_MAC)
    if (openedProjects().count()){
        success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {(QETDiagramEditor::currentProjectView()->project()->filePath())});
    }
    else  {
        success = process->startDetached("/Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator", {("")});
    }

https://git.tuxfamily.org/qet/qet.git/t … .cpp#n2344

When you installed Python3.8 pkg your run Profile.command script?

/Applications/Python\ 3.8/Update\ Shell\ Profile.command ; exit;

Clik on QEt_tb_generator is start?

It 'launch with this command:

python3.8 /Library/Frameworks/Python.framework/Versions/3.8/bin/qet_tb_generator

Hi and thanks for compliments,

what your OS?
QET version?
How you install qet_tb_generator?

Ok, fixed.

Testerai ce soir en rentrant du boulot.

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

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

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....

2,574

(2 replies, posted in Elements)

Added, thanks Thomas for his PR.

2,575

(236 replies, posted in News)

https://www.kdab.com/kdsingleapplication/

What is a single-instance policy?
Single-instance policy refers to those applications that want to spawn a unique instance for a given user session. Even when launched multiple times, such applications will not spawn a number of separate instances. Instead, the existing instance will be notified, somehow, and some action will be taken by that instance. Typically, its window will be shown (if hidden) and raised to the foreground.

This mechanism works even when the application is launched indirectly, like from a file manager when opening a file type associated with the application. In this case, the new instance (launched by the file manager) will simply tell the existing instance to open the selected file, and then the new instance will immediately quit.

The problem is: on most operating systems we do normally get a new instance every time we launch an application! Therefore, some logic is needed to honor a single-instance policy. KDSingleApplication implements such logic.