Re: Qt 6.0 development and qelectrotech

For the KColorButton, we use it only because the button he is colored according to the current color. If you want to remove the dependency, we can copy the code of kcolorbutton to qet (I think it's very little) but we need make it available in Qt Designer.

For KAutoSaveFile class, we need to keep it because we use the stalesFiles funtion when Qet crash to restore a backup file.
Also we alreday use QSaveFile in Qelectrotech, see QET::writeXmlFile.

Développeur QElectroTech

27 (edited by De-Backer 2020-10-04 17:43:21)

Re: Qt 6.0 development and qelectrotech

ok thanks Joshua and Laurent  for the info, there is a solution for "KColorButton" I think, for KAutoSaveFile I will look further.
And for git submodules is it allowed or not?

Re: Qt 6.0 development and qelectrotech

https://api.kde.org/frameworks/kcoreadd … index.html

KCoreAddons provides classes built on top of QtCore to perform various tasks such as manipulating mime types, autosaving files, creating backup files, generating random sequences, performing text manipulations such as macro replacement, accessing user information and many more.



For me and packaging work add one or 5 externals KF5 libs is the same thing, we would incline to add new other libraries in the future like KArchive, etc. see : https://inqlude.org/
KDE and KDAB guys do a very good work.
KDAB and KDE have a very close relationship. Around 40% of KDAB employees are or have been KDE contributors. In fact, some have been contributing for more than a decade.  So, KDAB has been sponsoring KDE’s Akademy for quite a while.
https://www.kdab.com/expertise/cpp/cpp-tools/
It saves us from reinventing the wheel.
On the other hand, it makes it easier to add code and new features, but it greatly complicates the packaging work.

And for git submodules is it allowed or not?

Yes . ;-)
I hope it doesn't make my job as a packager even more complicated. nomicons/smiley-green

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

Re: Qt 6.0 development and qelectrotech

ok fair enough, where can i find the info to packaging qelectrotech?
I will test this first before I make more problems.

Re: Qt 6.0 development and qelectrotech

It depends on which OS or distribution you want to package?
qtbase5-dev, quilt, qt5-qmake, libqt5svg5-dev, libkf5widgetsaddons-dev, libkf5coreaddons-dev, libsqlite3-dev libs is need on Debian like packages.

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

Re: Qt 6.0 development and qelectrotech

Thanks again for your great work Simon. nomicons/wink

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

Re: Qt 6.0 development and qelectrotech

De-Backer wrote:

ok fair enough, where can i find the info to packaging qelectrotech?
I will test this first before I make more problems.

https://qelectrotech.org/wiki_new/doc/p … tu_windows

33 (edited by De-Backer 2020-10-15 22:57:19)

Re: Qt 6.0 development and qelectrotech

I ran the Clang-Tidy tool on qet ... umm there are still a lot of improvements to be done.

Adding

// NOLINT

will also be needed in the code
suppressing undesired diagnostics
extra info
Memcheck also makes some comments.

Post's attachments

Screenshot_20201015_225511.png, 65.66 kb, 682 x 181
Screenshot_20201015_225511.png 65.66 kb, 310 downloads since 2020-10-15 

Re: Qt 6.0 development and qelectrotech

Lars Knoll, Qt Chief Architect, gave a talk on what to get excited about at the recent QtWS
https://youtu.be/iiwdYk_Gpt8

35 (edited by De-Backer 2020-11-15 08:54:07)

Re: Qt 6.0 development and qelectrotech

Bjarne Stroustrup answers the question "how do you handle big code as a new programmer"
Short version: use of code scanning, smart compilers, => so smart tools
https://youtu.be/86xWVb4XIyE?t=4882

Re: Qt 6.0 development and qelectrotech

a Flame Graph

Qt has nice toys

QtConcurrent consume a lot

Post's attachments

Attachment icon Screenshot_20201115_173713.png 372.79 kb, 112 downloads since 2020-11-15 

Re: Qt 6.0 development and qelectrotech

i am considering rewriting qet_tb_generator in C ++, just too many warnings

Post's attachments

Attachment icon Screenshot_20201115_202946.png 670.36 kb, 113 downloads since 2020-11-15 

Re: Qt 6.0 development and qelectrotech

Nothing to reconsidering, this the feature I will write for QET 0.9 nomicons/wink
Initially the terminal strip generator had to be created for the 0.8 version, but the version 0.7 have now more than one year, so I had decided to release the 0.8 (soon) and continue my initial plan (write the terminal strip generator) for the 0.9.

Développeur QElectroTech

Re: Qt 6.0 development and qelectrotech

cool

on a different note
my drawing, of 3 hours long

Qet wrote:

18:28:50.753 Debug: "exporting diagram \"\"" [ Diagram(0x262e9c0) ] (../../qet/sources/qetproject.cpp:859, QDomDocument QETProject::toXml())
18:28:51: The program has unexpectedly finished.
18:28:51: The process was ended forcefully.
18:28:51: /home/simon/GIT/build/qelectrotech-Clone_of_Desktop_Qt_5_15_1_GCC_64bit-Debug/qelectrotech crashed.

damn nomicons/angry

Re: Qt 6.0 development and qelectrotech

info of Cmake and QT

https://doc-snapshots.qt.io/qt6-dev/cmake-manual.html
https://doc-snapshots.qt.io/qt6-dev/cma … ility.html

(for my reference)

41 (edited by De-Backer 2020-11-30 17:50:20)

Re: Qt 6.0 development and qelectrotech

Cmake VS Qmake example:

qmake

QT += core gui
QT += charts
QT += concurrent

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

SOURCES += \
    callout.cpp \
    main.cpp \
    mainwindow.cpp \
    chartview.cpp \
    view.cpp

HEADERS += \
    callout.h \
    mainwindow.h \
    chartview.h \
    view.h

TRANSLATIONS += \
    Thread_data_viewer_nl_BE.ts

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

Cmake

cmake_minimum_required(VERSION 3.5)

project(Thread_data_viewer LANGUAGES CXX)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

# QtCreator supports the following variables for Android, which are identical to qmake Android variables.
# Check http://doc.qt.io/qt-5/deployment-android.html for more information.
# They need to be set before the find_package(Qt5 ...) call.

#if(ANDROID)
#    set(ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android")
#    if (ANDROID_ABI STREQUAL "armeabi-v7a")
#        set(ANDROID_EXTRA_LIBS
#            ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libcrypto.so
#            ${CMAKE_CURRENT_SOURCE_DIR}/path/to/libssl.so)
#    endif()
#endif()

find_package(
    QT
   NAMES
    Qt6
    Qt5
   COMPONENTS
    Widgets
    Charts
    Concurrent
   REQUIRED
   )
find_package(
    Qt${QT_VERSION_MAJOR}
   COMPONENTS
    Widgets
    Charts
    Concurrent
   REQUIRED
   )

if(ANDROID)
  add_library(
  Thread_data_viewer
  SHARED
    main.cpp
    mainwindow.cpp
    mainwindow.h
    callout.cpp
    callout.h
    chartview.cpp
    chartview.h
    view.cpp
    view.h
  )
else()
  add_executable(
  Thread_data_viewer
    main.cpp
    mainwindow.cpp
    mainwindow.h
    callout.cpp
    callout.h
    chartview.cpp
    chartview.h
    view.cpp
    view.h
  )
endif()

target_link_libraries(
  Thread_data_viewer
  PRIVATE
   Qt${QT_VERSION_MAJOR}::Widgets
   Qt${QT_VERSION_MAJOR}::Charts
   Qt${QT_VERSION_MAJOR}::Concurrent)

note:
- no TRANSLATIONS
i am still working on it, so that it can be applied for qet.
this is going to be difficult.

todo find_package of xml svg network sql printsupport KWidgetsAddons KCoreAddons

see https://github.com/qelectrotech/qelectr … or/pull/98

Re: Qt 6.0 development and qelectrotech

the current Cmake file

cmake_minimum_required(VERSION 3.5)

set(CMAKE_INCLUDE_CURRENT_DIR ON)

set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(KF5WidgetsAddons)

find_package(
    QT
   NAMES
    Qt6
    Qt5
   COMPONENTS
    Widgets
    Concurrent
    Xml
    Svg
    Network
    Sql
    PrintSupport
   REQUIRED
   )
find_package(
    Qt${QT_VERSION_MAJOR}
   COMPONENTS
    Widgets
    Concurrent
    Xml
    Svg
    Network
    Sql
    PrintSupport
   REQUIRED
   )
qt_wrap_ui(
  autoNum/ui/autonumberingdockwidget.cpp
  autoNum/ui/autonumberingdockwidget.h
  autoNum/ui/autonumberingdockwidget.ui)
qt_wrap_ui(
  autoNum/ui/autonumberingmanagementw.cpp
  autoNum/ui/autonumberingmanagementw.h
  autoNum/ui/autonumberingmanagementw.ui)
qt_wrap_ui(
  autoNum/ui/folioautonumbering.cpp
  autoNum/ui/folioautonumbering.h
  autoNum/ui/folioautonumbering.ui)
qt_wrap_ui(
  autoNum/ui/formulaautonumberingw.cpp
  autoNum/ui/formulaautonumberingw.h
  autoNum/ui/formulaautonumberingw.ui)
qt_wrap_ui(
  autoNum/ui/numparteditorw.cpp
  autoNum/ui/numparteditorw.h
  autoNum/ui/numparteditorw.ui)
qt_wrap_ui(
  autoNum/ui/selectautonumw.cpp
  autoNum/ui/selectautonumw.h
  autoNum/ui/selectautonumw.ui)
qt_wrap_ui(
  dataBase/ui/elementquerywidget.cpp
  dataBase/ui/elementquerywidget.h
  dataBase/ui/elementquerywidget.ui)
qt_wrap_ui(
  dataBase/ui/summaryquerywidget.cpp
  dataBase/ui/summaryquerywidget.h
  dataBase/ui/summaryquerywidget.ui)
qt_wrap_ui(
  editor/ui/dynamictextfieldeditor.cpp
  editor/ui/dynamictextfieldeditor.h
  editor/ui/dynamictextfieldeditor.ui)
qt_wrap_ui(
  editor/ui/elementpropertieseditorwidget.cpp
  editor/ui/elementpropertieseditorwidget.h
  editor/ui/elementpropertieseditorwidget.ui)
qt_wrap_ui(
  editor/ui/ellipseeditor.cpp
  editor/ui/ellipseeditor.h
  editor/ui/ellipseeditor.ui)
qt_wrap_ui(
  editor/ui/lineeditor.cpp
  editor/ui/lineeditor.h
  editor/ui/lineeditor.ui)
qt_wrap_ui(
  editor/ui/polygoneditor.cpp
  editor/ui/polygoneditor.h
  editor/ui/polygoneditor.ui)
qt_wrap_ui(
  editor/ui/rectangleeditor.cpp
  editor/ui/rectangleeditor.h
  editor/ui/rectangleeditor.ui)
qt_wrap_ui(
  editor/ui/texteditor.cpp
  editor/ui/texteditor.h
  editor/ui/texteditor.ui)
qt_wrap_ui(
  ElementsCollection/ui/renamedialog.cpp
  ElementsCollection/ui/renamedialog.h
  ElementsCollection/ui/renamedialog.ui)
qt_wrap_ui(
  factory/ui/addtabledialog.cpp
  factory/ui/addtabledialog.h
  factory/ui/addtabledialog.ui)
qt_wrap_ui(
  NameList/ui/namelistdialog.cpp
  NameList/ui/namelistdialog.h
  NameList/ui/namelistdialog.ui)
qt_wrap_ui(
  NameList/ui/namelistwidget.cpp
  NameList/ui/namelistwidget.h
  NameList/ui/namelistwidget.ui)
qt_wrap_ui(
  print/projectprintwindow.cpp
  print/projectprintwindow.h
  print/projectprintwindow.ui)
qt_wrap_ui(
  PropertiesEditor/propertieseditordockwidget.cpp
  PropertiesEditor/propertieseditordockwidget.h
  PropertiesEditor/propertieseditordockwidget.ui)
qt_wrap_ui(
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.h
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.ui)
qt_wrap_ui(
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.h
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.ui)
#qt_wrap_ui()
qt_wrap_ui(
  SearchAndReplace/ui/replaceadvanceddialog.cpp
  SearchAndReplace/ui/replaceadvanceddialog.h
  SearchAndReplace/ui/replaceadvanceddialog.ui)
qt_wrap_ui(
  SearchAndReplace/ui/replaceconductordialog.cpp
  SearchAndReplace/ui/replaceconductordialog.h
  SearchAndReplace/ui/replaceconductordialog.ui)
qt_wrap_ui(
  SearchAndReplace/ui/replaceelementdialog.cpp
  SearchAndReplace/ui/replaceelementdialog.h
  SearchAndReplace/ui/replaceelementdialog.ui)
qt_wrap_ui(
  SearchAndReplace/ui/replacefoliowidget.cpp
  SearchAndReplace/ui/replacefoliowidget.h
  SearchAndReplace/ui/replacefoliowidget.ui)
qt_wrap_ui(
  SearchAndReplace/ui/searchandreplacewidget.cpp
  SearchAndReplace/ui/searchandreplacewidget.h
  SearchAndReplace/ui/searchandreplacewidget.ui)
qt_wrap_ui(
  ui/aboutqetdialog.cpp
  ui/aboutqetdialog.h
  ui/aboutqetdialog.ui)
qt_wrap_ui(
  ui/alignmenttextdialog.cpp
  ui/alignmenttextdialog.h
  ui/alignmenttextdialog.ui)
qt_wrap_ui(
  ui/bomexportdialog.cpp
  ui/bomexportdialog.h
  ui/bomexportdialog.ui)
qt_wrap_ui(
  ui/borderpropertieswidget.cpp
  ui/borderpropertieswidget.h
  ui/borderpropertieswidget.ui)
qt_wrap_ui(
  ui/compositetexteditdialog.cpp
  ui/compositetexteditdialog.h
  ui/compositetexteditdialog.ui)
qt_wrap_ui(
  ui/conductorpropertiesdialog.cpp
  ui/conductorpropertiesdialog.h
  ui/conductorpropertiesdialog.ui)
qt_wrap_ui(
  ui/conductorpropertieswidget.cpp
  ui/conductorpropertieswidget.h
  ui/conductorpropertieswidget.ui)
qt_wrap_ui(
  ui/configsaveloaderwidget.cpp
  ui/configsaveloaderwidget.h
  ui/configsaveloaderwidget.ui)
qt_wrap_ui(
  ui/diagramcontextwidget.cpp
  ui/diagramcontextwidget.h
  ui/diagramcontextwidget.ui)
qt_wrap_ui(
  ui/diagramselection.cpp
  ui/diagramselection.h
  ui/diagramselection.ui)
qt_wrap_ui(
  ui/dialogwaiting.cpp
  ui/dialogwaiting.h
  ui/dialogwaiting.ui)
qt_wrap_ui(
  ui/dynamicelementtextitemeditor.cpp
  ui/dynamicelementtextitemeditor.h
  ui/dynamicelementtextitemeditor.ui)
qt_wrap_ui(
  ui/elementinfopartwidget.cpp
  ui/elementinfopartwidget.h
  ui/elementinfopartwidget.ui)
qt_wrap_ui(
  ui/elementinfowidget.cpp
  ui/elementinfowidget.h
  ui/elementinfowidget.ui)
qt_wrap_ui(
  ui/formulaassistantdialog.cpp
  ui/formulaassistantdialog.h
  ui/formulaassistantdialog.ui)
qt_wrap_ui(
  ui/imagepropertieswidget.cpp
  ui/imagepropertieswidget.h
  ui/imagepropertieswidget.ui)
qt_wrap_ui(
  ui/importelementdialog.cpp
  ui/importelementdialog.h
  ui/importelementdialog.ui)
qt_wrap_ui(
  ui/importelementtextpatterndialog.cpp
  ui/importelementtextpatterndialog.h
  ui/importelementtextpatterndialog.ui)
qt_wrap_ui(
  ui/inditextpropertieswidget.cpp
  ui/inditextpropertieswidget.h
  ui/inditextpropertieswidget.ui)
qt_wrap_ui(
  ui/linksingleelementwidget.cpp
  ui/linksingleelementwidget.h
  ui/linksingleelementwidget.ui)
qt_wrap_ui(
  ui/marginseditdialog.cpp
  ui/marginseditdialog.h
  ui/marginseditdialog.ui)
qt_wrap_ui(
  ui/masterpropertieswidget.cpp
  ui/masterpropertieswidget.h
  ui/masterpropertieswidget.ui)
qt_wrap_ui(
  ui/multipastedialog.cpp
  ui/multipastedialog.h
  ui/multipastedialog.ui)
qt_wrap_ui(
  ui/potentialselectordialog.cpp
  ui/potentialselectordialog.h
  ui/potentialselectordialog.ui)
qt_wrap_ui(
  ui/reportpropertiewidget.cpp
  ui/reportpropertiewidget.h
  ui/reportpropertiewidget.ui)
qt_wrap_ui(
  ui/shapegraphicsitempropertieswidget.cpp
  ui/shapegraphicsitempropertieswidget.h
  ui/shapegraphicsitempropertieswidget.ui)
qt_wrap_ui(
  ui/titleblockpropertieswidget.cpp
  ui/titleblockpropertieswidget.h
  ui/titleblockpropertieswidget.ui)
qt_wrap_ui(
  ui/xrefpropertieswidget.cpp
  ui/xrefpropertieswidget.h
  ui/xrefpropertieswidget.ui)
qt_wrap_ui(
  ui/configpage/generalconfigurationpage.cpp
  ui/configpage/generalconfigurationpage.h
  ui/configpage/generalconfigurationpage.ui)

add_executable(
  ${PROJECT_NAME}
  borderproperties.cpp
  borderproperties.h
  bordertitleblock.cpp
  bordertitleblock.h
  conductorautonumerotation.cpp
  conductorautonumerotation.h
  conductornumexport.cpp
  conductornumexport.h
  conductorprofile.cpp
  conductorprofile.h
  conductorproperties.cpp
  conductorproperties.h
  conductorsegment.cpp
  conductorsegment.h
  conductorsegmentprofile.h
  configdialog.cpp
  configdialog.h
  configpage.h
  configpages.cpp
  configpages.h
  createdxf.cpp
  createdxf.h
  diagramcommands.cpp
  diagramcommands.h
  diagramcontent.cpp
  diagramcontent.h
  diagramcontext.cpp
  diagramcontext.h
  diagram.cpp
  diagram.h
  diagramposition.cpp
  diagramposition.h
  diagramview.cpp
  diagramview.h
  elementdialog.cpp
  elementdialog.h
  elementprovider.cpp
  elementprovider.h
  elementscategoryeditor.cpp
  elementscategoryeditor.h
  elementscollectioncache.cpp
  elementscollectioncache.h
  elementsmover.cpp
  elementsmover.h
  elementspanel.cpp
  elementspanel.h
  elementspanelwidget.cpp
  elementspanelwidget.h
  elementtextpattern.cpp
  elementtextpattern.h
  elementtextsmover.cpp
  elementtextsmover.h
  exportdialog.cpp
  exportdialog.h
  exportproperties.cpp
  exportproperties.h
  exportpropertieswidget.cpp
  exportpropertieswidget.h
  genericpanel.cpp
  genericpanel.h
  machine_info.cpp
  machine_info.h
  main.cpp
  newelementwizard.cpp
  newelementwizard.h
  projectconfigpages.cpp
  projectconfigpages.h
  projectview.cpp
  projectview.h
  qetapp.cpp
  qetapp.h
  qetarguments.cpp
  qetarguments.h
  qet.cpp
  qetdiagrameditor.cpp
  qetdiagrameditor.h
  qet.h
  qeticons.cpp
  qeticons.h
  qetinformation.cpp
  qetinformation.h
  qetmainwindow.cpp
  qetmainwindow.h
  qetmessagebox.cpp
  qetmessagebox.h
  qetproject.cpp
  qetproject.h
  qetregexpvalidator.cpp
  qetregexpvalidator.h
  qetresult.cpp
  qetresult.h
  qetxml.cpp
  qetxml.h
  qfilenameedit.cpp
  qfilenameedit.h
  qgimanager.cpp
  qgimanager.h
  qtextorientationspinboxwidget.cpp
  qtextorientationspinboxwidget.h
  qtextorientationwidget.cpp
  qtextorientationwidget.h
  recentfiles.cpp
  recentfiles.h
  titleblockcell.cpp
  titleblockcell.h
  titleblockproperties.cpp
  titleblockproperties.h
  titleblocktemplate.cpp
  titleblocktemplate.h
  titleblocktemplaterenderer.cpp
  titleblocktemplaterenderer.h

  autoNum/assignvariables.cpp
  autoNum/assignvariables.h
  autoNum/numerotationcontextcommands.cpp
  autoNum/numerotationcontextcommands.h
  autoNum/numerotationcontext.cpp
  autoNum/numerotationcontext.h
  autoNum/ui/autonumberingdockwidget.cpp
  autoNum/ui/autonumberingdockwidget.h
  autoNum/ui/autonumberingmanagementw.cpp
  autoNum/ui/autonumberingmanagementw.h
  autoNum/ui/folioautonumbering.cpp
  autoNum/ui/folioautonumbering.h
  autoNum/ui/formulaautonumberingw.cpp
  autoNum/ui/formulaautonumberingw.h
  autoNum/ui/numparteditorw.cpp
  autoNum/ui/numparteditorw.h
  autoNum/ui/selectautonumw.cpp
  autoNum/ui/selectautonumw.h

  dataBase/projectdatabase.cpp
  dataBase/projectdatabase.h

  dataBase/ui/elementquerywidget.cpp
  dataBase/ui/elementquerywidget.h
  dataBase/ui/summaryquerywidget.cpp
  dataBase/ui/summaryquerywidget.h

  diagramevent/diagrameventaddelement.cpp
  diagramevent/diagrameventaddelement.h
  diagramevent/diagrameventaddimage.cpp
  diagramevent/diagrameventaddimage.h
  diagramevent/diagrameventaddshape.cpp
  diagramevent/diagrameventaddshape.h
  diagramevent/diagrameventaddtext.cpp
  diagramevent/diagrameventaddtext.h
  diagramevent/diagrameventinterface.cpp
  diagramevent/diagrameventinterface.h

  dvevent/dveventinterface.cpp
  dvevent/dveventinterface.h

  editor/arceditor.cpp
  editor/arceditor.h
  editor/editorcommands.cpp
  editor/editorcommands.h
  editor/elementcontent.h
  editor/elementitemeditor.cpp
  editor/elementitemeditor.h
  editor/elementprimitivedecorator.cpp
  editor/elementprimitivedecorator.h
  editor/elementscene.cpp
  editor/elementscene.h
  editor/elementview.cpp
  editor/elementview.h
  editor/graphicspart
  editor/qetelementeditor.cpp
  editor/qetelementeditor.h
  editor/styleeditor.cpp
  editor/styleeditor.h
  editor/terminaleditor.cpp
  editor/terminaleditor.h

  editor/esevent/eseventaddarc.cpp
  editor/esevent/eseventaddarc.h
  editor/esevent/eseventadddynamictextfield.cpp
  editor/esevent/eseventadddynamictextfield.h
  editor/esevent/eseventaddellipse.cpp
  editor/esevent/eseventaddellipse.h
  editor/esevent/eseventaddline.cpp
  editor/esevent/eseventaddline.h
  editor/esevent/eseventaddpolygon.cpp
  editor/esevent/eseventaddpolygon.h
  editor/esevent/eseventaddrect.cpp
  editor/esevent/eseventaddrect.h
  editor/esevent/eseventaddterminal.cpp
  editor/esevent/eseventaddterminal.h
  editor/esevent/eseventaddtext.cpp
  editor/esevent/eseventaddtext.h
  editor/esevent/eseventinterface.cpp
  editor/esevent/eseventinterface.h

  editor/graphicspart/abstractpartellipse.cpp
  editor/graphicspart/abstractpartellipse.h
  editor/graphicspart/customelementgraphicpart.cpp
  editor/graphicspart/customelementgraphicpart.h
  editor/graphicspart/customelementpart.cpp
  editor/graphicspart/customelementpart.h
  editor/graphicspart/partarc.cpp
  editor/graphicspart/partarc.h
  editor/graphicspart/partdynamictextfield.cpp
  editor/graphicspart/partdynamictextfield.h
  editor/graphicspart/partellipse.cpp
  editor/graphicspart/partellipse.h
  editor/graphicspart/partline.cpp
  editor/graphicspart/partline.h
  editor/graphicspart/partpolygon.cpp
  editor/graphicspart/partpolygon.h
  editor/graphicspart/partrectangle.cpp
  editor/graphicspart/partrectangle.h
  editor/graphicspart/partterminal.cpp
  editor/graphicspart/partterminal.h
  editor/graphicspart/parttext.cpp
  editor/graphicspart/parttext.h

  editor/ui/dynamictextfieldeditor.cpp
  editor/ui/dynamictextfieldeditor.h
  editor/ui/elementpropertieseditorwidget.cpp
  editor/ui/elementpropertieseditorwidget.h
  editor/ui/ellipseeditor.cpp
  editor/ui/ellipseeditor.h
  editor/ui/lineeditor.cpp
  editor/ui/lineeditor.h
  editor/ui/polygoneditor.cpp
  editor/ui/polygoneditor.h
  editor/ui/rectangleeditor.cpp
  editor/ui/rectangleeditor.h
  editor/ui/texteditor.cpp
  editor/ui/texteditor.h

  editor/UndoCommand/pastepartscommand.cpp
  editor/UndoCommand/pastepartscommand.h

  ElementsCollection/elementcollectionhandler.cpp
  ElementsCollection/elementcollectionhandler.h
  ElementsCollection/elementcollectionitem.cpp
  ElementsCollection/elementcollectionitem.h
  ElementsCollection/elementscollectionmodel.cpp
  ElementsCollection/elementscollectionmodel.h
  ElementsCollection/elementscollectionwidget.cpp
  ElementsCollection/elementscollectionwidget.h
  ElementsCollection/elementslocation.cpp
  ElementsCollection/elementslocation.h
  ElementsCollection/elementstreeview.cpp
  ElementsCollection/elementstreeview.h
  ElementsCollection/fileelementcollectionitem.cpp
  ElementsCollection/fileelementcollectionitem.h
  ElementsCollection/xmlelementcollection.cpp
  ElementsCollection/xmlelementcollection.h
  ElementsCollection/xmlprojectelementcollectionitem.cpp
  ElementsCollection/xmlprojectelementcollectionitem.h


  ElementsCollection/ui/renamedialog.cpp
  ElementsCollection/ui/renamedialog.h

  factory/elementfactory.cpp
  factory/elementfactory.h
  factory/elementpicturefactory.cpp
  factory/elementpicturefactory.h
  factory/propertieseditorfactory.cpp
  factory/propertieseditorfactory.h
  factory/qetgraphicstablefactory.cpp
  factory/qetgraphicstablefactory.h

  factory/ui/addtabledialog.cpp
  factory/ui/addtabledialog.h

  NameList/nameslist.cpp
  NameList/nameslist.h

  NameList/ui/namelistdialog.cpp
  NameList/ui/namelistdialog.h
  NameList/ui/namelistwidget.cpp
  NameList/ui/namelistwidget.h

  print/projectprintwindow.cpp
  print/projectprintwindow.h

  properties/propertiesinterface.cpp
  properties/propertiesinterface.h
  properties/reportproperties.cpp
  properties/reportproperties.h
  properties/terminaldata.cpp
  properties/terminaldata.h
  properties/xrefproperties.cpp
  properties/xrefproperties.h

  PropertiesEditor/propertieseditordialog.h
  PropertiesEditor/propertieseditordockwidget.cpp
  PropertiesEditor/propertieseditordockwidget.h
  PropertiesEditor/propertieseditorwidget.cpp
  PropertiesEditor/propertieseditorwidget.h

  pugixml/pugiconfig.hpp
  pugixml/pugixml.cpp
  pugixml/pugixml.hpp

  qetgraphicsitem/conductor.cpp
  qetgraphicsitem/conductor.h
  qetgraphicsitem/conductortextitem.cpp
  qetgraphicsitem/conductortextitem.h
  qetgraphicsitem/crossrefitem.cpp
  qetgraphicsitem/crossrefitem.h
  qetgraphicsitem/diagramimageitem.cpp
  qetgraphicsitem/diagramimageitem.h
  qetgraphicsitem/diagramtextitem.cpp
  qetgraphicsitem/diagramtextitem.h
  qetgraphicsitem/dynamicelementtextitem.cpp
  qetgraphicsitem/dynamicelementtextitem.h
  qetgraphicsitem/element.cpp
  qetgraphicsitem/element.h
  qetgraphicsitem/elementtextitemgroup.cpp
  qetgraphicsitem/elementtextitemgroup.h
  qetgraphicsitem/independenttextitem.cpp
  qetgraphicsitem/independenttextitem.h
  qetgraphicsitem/masterelement.cpp
  qetgraphicsitem/masterelement.h
  qetgraphicsitem/qetgraphicsitem.cpp
  qetgraphicsitem/qetgraphicsitem.h
  qetgraphicsitem/qetshapeitem.cpp
  qetgraphicsitem/qetshapeitem.h
  qetgraphicsitem/qgraphicsitemutility.cpp
  qetgraphicsitem/qgraphicsitemutility.h
  qetgraphicsitem/reportelement.cpp
  qetgraphicsitem/reportelement.h
  qetgraphicsitem/simpleelement.cpp
  qetgraphicsitem/simpleelement.h
  qetgraphicsitem/slaveelement.cpp
  qetgraphicsitem/slaveelement.h
  qetgraphicsitem/terminal.cpp
  qetgraphicsitem/terminalelement.cpp
  qetgraphicsitem/terminalelement.h
  qetgraphicsitem/terminal.h

  qetgraphicsitem/ViewItem/projectdbmodel.cpp
  qetgraphicsitem/ViewItem/projectdbmodel.h
  qetgraphicsitem/ViewItem/qetgraphicsheaderitem.cpp
  qetgraphicsitem/ViewItem/qetgraphicsheaderitem.h
  qetgraphicsitem/ViewItem/qetgraphicstableitem.cpp
  qetgraphicsitem/ViewItem/qetgraphicstableitem.h

  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.cpp
  qetgraphicsitem/ViewItem/ui/graphicstablepropertieseditor.h
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.cpp
  qetgraphicsitem/ViewItem/ui/projectdbmodelpropertieswidget.h

  QetGraphicsItemModeler/qetgraphicshandleritem.cpp
  QetGraphicsItemModeler/qetgraphicshandleritem.h
  QetGraphicsItemModeler/qetgraphicshandlerutility.cpp
  QetGraphicsItemModeler/qetgraphicshandlerutility.h

  QPropertyUndoCommand/qpropertyundocommand.cpp
  QPropertyUndoCommand/qpropertyundocommand.h

  QWidgetAnimation/qwidgetanimation.cpp
  QWidgetAnimation/qwidgetanimation.h
#dit kan problemen geven
  richtext/addlinkdialog.ui
  richtext/richtexteditor.cpp
  richtext/richtexteditor_p.h
  richtext/ui_addlinkdialog.h

  SearchAndReplace/searchandreplaceworker.cpp
  SearchAndReplace/searchandreplaceworker.h

  SearchAndReplace/ui/replaceadvanceddialog.cpp
  SearchAndReplace/ui/replaceadvanceddialog.h
  SearchAndReplace/ui/replaceconductordialog.cpp
  SearchAndReplace/ui/replaceconductordialog.h
  SearchAndReplace/ui/replaceelementdialog.cpp
  SearchAndReplace/ui/replaceelementdialog.h
  SearchAndReplace/ui/replacefoliowidget.cpp
  SearchAndReplace/ui/replacefoliowidget.h
  SearchAndReplace/ui/searchandreplacewidget.cpp
  SearchAndReplace/ui/searchandreplacewidget.h

  titleblock/dimension.cpp
  titleblock/dimension.h
  titleblock/dimensionwidget.cpp
  titleblock/dimensionwidget.h
  titleblock/gridlayoutanimation.cpp
  titleblock/gridlayoutanimation.h
  titleblock/helpercell.cpp
  titleblock/helpercell.h
  titleblock/integrationmovetemplateshandler.cpp
  titleblock/integrationmovetemplateshandler.h
  titleblock/movetemplateshandler.h
  titleblock/qettemplateeditor.cpp
  titleblock/qettemplateeditor.h
  titleblock/splittedhelpercell.cpp
  titleblock/splittedhelpercell.h
  titleblock/templatecellsset.cpp
  titleblock/templatecellsset.h
  titleblock/templatecellwidget.cpp
  titleblock/templatecellwidget.h
  titleblock/templatecommands.cpp
  titleblock/templatecommands.h
  titleblock/templatedeleter.cpp
  titleblock/templatedeleter.h
  titleblock/templatelocationchooser.cpp
  titleblock/templatelocationchooser.h
  titleblock/templatelocation.cpp
  titleblock/templatelocation.h
  titleblock/templatelocationsaver.cpp
  titleblock/templatelocationsaver.h
  titleblock/templatelogomanager.cpp
  titleblock/templatelogomanager.h
  titleblock/templatescollection.cpp
  titleblock/templatescollection.h
  titleblock/templateview.cpp
  titleblock/templateview.h
  titleblock/templatevisualcell.cpp
  titleblock/templatevisualcell.h

  ui/aboutqetdialog.cpp
  ui/aboutqetdialog.h
  ui/abstractelementpropertieseditorwidget.cpp
  ui/abstractelementpropertieseditorwidget.h
  ui/alignmenttextdialog.cpp
  ui/alignmenttextdialog.h
  ui/bomexportdialog.cpp
  ui/bomexportdialog.h
  ui/borderpropertieswidget.cpp
  ui/borderpropertieswidget.h
  ui/compositetexteditdialog.cpp
  ui/compositetexteditdialog.h
  ui/conductorpropertiesdialog.cpp
  ui/conductorpropertiesdialog.h
  ui/conductorpropertieswidget.cpp
  ui/conductorpropertieswidget.h
  ui/configsaveloaderwidget.cpp
  ui/configsaveloaderwidget.h
  ui/diagramcontextwidget.cpp
  ui/diagramcontextwidget.h
  ui/diagrampropertiesdialog.cpp
  ui/diagrampropertiesdialog.h
  ui/diagrampropertieseditordockwidget.cpp
  ui/diagrampropertieseditordockwidget.h
  ui/diagramselection.cpp
  ui/diagramselection.h
  ui/dialogwaiting.cpp
  ui/dialogwaiting.h
  ui/dynamicelementtextitemeditor.cpp
  ui/dynamicelementtextitemeditor.h
  ui/dynamicelementtextmodel.cpp
  ui/dynamicelementtextmodel.h
  ui/elementinfopartwidget.cpp
  ui/elementinfopartwidget.h
  ui/elementinfowidget.cpp
  ui/elementinfowidget.h
  ui/elementpropertieswidget.cpp
  ui/elementpropertieswidget.h
  ui/formulaassistantdialog.cpp
  ui/formulaassistantdialog.h
  ui/imagepropertieswidget.cpp
  ui/imagepropertieswidget.h
  ui/importelementdialog.cpp
  ui/importelementdialog.h
  ui/importelementtextpatterndialog.cpp
  ui/importelementtextpatterndialog.h
  ui/inditextpropertieswidget.cpp
  ui/inditextpropertieswidget.h
  ui/linksingleelementwidget.cpp
  ui/linksingleelementwidget.h
  ui/marginseditdialog.cpp
  ui/marginseditdialog.h
  ui/masterpropertieswidget.cpp
  ui/masterpropertieswidget.h
  ui/multipastedialog.cpp
  ui/multipastedialog.h
  ui/potentialselectordialog.cpp
  ui/potentialselectordialog.h
  ui/projectpropertiesdialog.cpp
  ui/projectpropertiesdialog.h
  ui/reportpropertiewidget.cpp
  ui/reportpropertiewidget.h
  ui/shapegraphicsitempropertieswidget.cpp
  ui/shapegraphicsitempropertieswidget.h
  ui/titleblockpropertieswidget.cpp
  ui/titleblockpropertieswidget.h
  ui/xrefpropertieswidget.cpp
  ui/xrefpropertieswidget.h

  ui/configpage/generalconfigurationpage.cpp
  ui/configpage/generalconfigurationpage.h

  undocommand/addelementtextcommand.cpp
  undocommand/addelementtextcommand.h
  undocommand/changeelementinformationcommand.cpp
  undocommand/changeelementinformationcommand.h
  undocommand/changetitleblockcommand.cpp
  undocommand/changetitleblockcommand.h
  undocommand/deleteqgraphicsitemcommand.cpp
  undocommand/deleteqgraphicsitemcommand.h
  undocommand/itemmodelcommand.cpp
  undocommand/itemmodelcommand.h
  undocommand/linkelementcommand.cpp
  undocommand/linkelementcommand.h
  undocommand/rotateselectioncommand.cpp
  undocommand/rotateselectioncommand.h
  undocommand/rotatetextscommand.cpp
  undocommand/rotatetextscommand.h

  utils/conductorcreator.cpp
  utils/conductorcreator.h
  utils/macosxopenevent.cpp
  utils/macosxopenevent.h
  utils/qetutils.cpp
  utils/qetutils.h

)

target_link_libraries(
  ${PROJECT_NAME}
  PUBLIC
   Qt${QT_VERSION_MAJOR}::Xml
   Qt${QT_VERSION_MAJOR}::Svg
   Qt${QT_VERSION_MAJOR}::Network
   Qt${QT_VERSION_MAJOR}::Sql
   Qt${QT_VERSION_MAJOR}::PrintSupport
   KF5::WidgetsAddons
  PRIVATE
   Qt${QT_VERSION_MAJOR}::Widgets
   Qt${QT_VERSION_MAJOR}::Concurrent)

Re: Qt 6.0 development and qelectrotech

we will probably have to wait until the end of September.
see:
https://phoronix.com/scan.php?page=news … ing-Sooner

With Qt 6.2 we are likely to see most modules not yet ported to Qt6 from Qt 5.15 brought over and other fixing and stability improvements made ahead of that LTS release. After Qt 6.2 LTS ships is when we will likely see an uptick in adoption of Qt6 toolkit usage by programs.

and

Qt 6.2 would also see a shorter release cycle that would put the feature freeze at the end of June and its official release at the end of September.

Re: Qt 6.0 development and qelectrotech

aagg,  so close

19:46:18: Running steps for project qelectrotech...
19:46:18: Starting: "/home/simon/Qt/Tools/CMake/bin/cmake" --build . --target all
[1/298 0.5/sec] Building CXX object Tests/tests/CMakeFiles/My_test.dir/tst_My_test.cpp.o
[2/298 0.9/sec] Building CXX object Tests/tests/CMakeFiles/My_test.dir/__/__/sources/borderproperties.cpp.o
[3/298 0.8/sec] Automatic MOC and UIC for target qelectrotech
[4/298 1.0/sec] Generating ui_projectprintwindow.h
FAILED: sources/ui_projectprintwindow.h 
cd /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug/sources && /home/simon/Qt/5.15.1/gcc_64/bin/uic -o /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug/sources/ui_projectprintwindow.h /home/simon/GIT/qet/sources/print/projectprintwindow.h
uic: Error in line 1, column 1 : Start tag expected.

Re: Qt 6.0 development and qelectrotech

for Cmake

Running /home/simon/Qt/Tools/CMake/bin/cmake -S /home/simon/GIT/qet -B /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug in /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug.
_____________________________________________________________________
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/>.
_____________________________________________________________________
PROJECT_NAME       :qelectrotech
PROJECT_SOURCE_DIR :/home/simon/GIT/qet
QET_DIR            :/home/simon/GIT/qet
GIT_COMMIT_SHA     :d0c129478ec16aa869270444a90957ad305ff1b9

-- 

Installing in /usr. Run /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug/_deps/kwidgetsaddons-build/prefix.sh to set the environment for qelectrotech.
-- At least one python version must be available to use PythonModuleGeneration.
-- The following features have been enabled:

 * DESIGNERPLUGIN, Build plugin for Qt Designer

-- The following OPTIONAL packages have been found:

 * KF5CoreAddons

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.76.0), Extra CMake Modules., <https://commits.kde.org/extra-cmake-modules>
 * Qt5Gui (required version >= 5.15.1)
 * Qt5Widgets
 * Qt5LinguistTools
 * Qt5UiPlugin
   Required to build Qt Designer plugins
 * Qt5Test
 * Qt5 (required version >= 5.12.0)

-- The following features have been disabled:

 * QCH, API documentation in QCH format (for e.g. Qt Assistant, Qt Creator & KDevelop)

-- The following OPTIONAL packages have not been found:

 * PythonModuleGeneration

QET_COMPONENTS     :WidgetsConcurrentXmlSvgNetworkSqlPrintSupportLinguistTools
QT_VERSION_MAJOR   :5
Add sub directorie tests
.____________________________________________________________________
. PROJECT_NAME:       unittests
. PROJECT_SOURCE_DIR: /home/simon/GIT/qet/tests
. Add sub directorie catch
..___________________________________________________________________
.. PROJECT_NAME       :C_unittests
.. PROJECT_SOURCE_DIR :/home/simon/GIT/qet/tests/catch
.. QET_DIR            :/home/simon/GIT/qet
.. QT_VERSION_MAJOR   :5
.. 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/simon/GIT/qet/tests/googletest
.. QET_DIR            :/home/simon/GIT/qet
.. QT_VERSION_MAJOR   :5
. Add sub directorie googlemock
..___________________________________________________________________
.. PROJECT_NAME       :G_unitmocktests
.. PROJECT_SOURCE_DIR :/home/simon/GIT/qet/tests/googlemock
.. QET_DIR            :/home/simon/GIT/qet
.. QT_VERSION_MAJOR   :5
. Add sub directorie qttest
..___________________________________________________________________
.. PROJECT_NAME       :qt_unittests
.. PROJECT_SOURCE_DIR :/home/simon/GIT/qet/tests/qttest
.. QET_DIR            :/home/simon/GIT/qet
.. QT_VERSION_MAJOR   :5
-- Configuring done
-- Generating done
-- Build files have been written to: /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug
Elapsed time: 00:01.

compilation

13:30:06: Running steps for project qelectrotech...
13:30:07: Starting: "/home/simon/Qt/Tools/CMake/bin/cmake" --build . --target all
[1/33 189.3/sec] Automatic MOC and UIC for target gtest
[2/33 369.5/sec] Automatic MOC and UIC for target C_unittests
[3/33 162.3/sec] Building CXX object tests/catch/CMakeFiles/C_unittests.dir/C_unittests_autogen/mocs_compilation.cpp.o
[4/33 210.0/sec] Building CXX object _deps/gtest-build/googletest/CMakeFiles/gtest.dir/gtest_autogen/mocs_compilation.cpp.o
[5/33 34.4/sec] Linking CXX shared library lib/libgtestd.so
[6/33 40.1/sec] Automatic MOC and UIC for target gmock
[7/33 46.7/sec] Automatic MOC and UIC for target gtest_main
[8/33 49.8/sec] Building CXX object _deps/gtest-build/googletest/CMakeFiles/gtest_main.dir/gtest_main_autogen/mocs_compilation.cpp.o
[9/33 55.5/sec] Building CXX object _deps/gtest-build/googlemock/CMakeFiles/gmock.dir/gmock_autogen/mocs_compilation.cpp.o
[10/33 55.9/sec] Automatic MOC and UIC for target qt_unittests
[11/33 58.3/sec] Building CXX object tests/qttest/CMakeFiles/qt_unittests.dir/qt_unittests_autogen/mocs_compilation.cpp.o
[12/33 53.7/sec] Linking CXX shared library lib/libgtest_maind.so
[13/33 57.1/sec] Automatic MOC and UIC for target G_unittests
[14/33 58.3/sec] Building CXX object tests/googletest/CMakeFiles/G_unittests.dir/G_unittests_autogen/mocs_compilation.cpp.o
[15/33 57.6/sec] Linking CXX shared library lib/libgmockd.so
[16/33 60.6/sec] Automatic MOC and UIC for target gmock_main
[17/33 62.2/sec] Building CXX object _deps/gtest-build/googlemock/CMakeFiles/gmock_main.dir/gmock_main_autogen/mocs_compilation.cpp.o
[18/33 51.3/sec] Linking CXX shared library lib/libgmock_maind.so
[19/33 53.6/sec] Automatic MOC and UIC for target G_unitmocktests
[20/33 54.4/sec] Building CXX object tests/googlemock/CMakeFiles/G_unitmocktests.dir/G_unitmocktests_autogen/mocs_compilation.cpp.o
[21/33 39.7/sec] Building CXX object tests/catch/CMakeFiles/C_unittests.dir/tst_My_test.cpp.o
[22/33 15.7/sec] Building CXX object tests/googletest/CMakeFiles/G_unittests.dir/main.cpp.o
[23/33 15.4/sec] Building CXX object tests/catch/CMakeFiles/C_unittests.dir/__/__/sources/borderproperties.cpp.o
[24/33 13.9/sec] Building CXX object tests/catch/CMakeFiles/C_unittests.dir/src/borderproperties_test.cpp.o
[25/33 14.3/sec] Building CXX object tests/googlemock/CMakeFiles/G_unitmocktests.dir/main.cpp.o
[26/33 12.3/sec] Building CXX object tests/qttest/CMakeFiles/qt_unittests.dir/tst_mytest.cpp.o
[27/33 11.2/sec] Building CXX object tests/googletest/CMakeFiles/G_unittests.dir/tst_My_test.cpp.o
[28/33 11.4/sec] Linking CXX executable tests/qttest/qt_unittests
[29/33 10.7/sec] Building CXX object tests/googlemock/CMakeFiles/G_unitmocktests.dir/tst_My_test.cpp.o
[30/33 11.0/sec] Linking CXX executable tests/googletest/G_unittests
[31/33 10.2/sec] Linking CXX executable tests/googlemock/G_unitmocktests
[32/33 4.4/sec] Building CXX object tests/catch/CMakeFiles/C_unittests.dir/main.cpp.o
[33/33 4.3/sec] Linking CXX executable tests/catch/C_unittests
13:30:14: The process "/home/simon/Qt/Tools/CMake/bin/cmake" exited normally.
13:30:14: Elapsed time: 00:08.

Test

PASS    Executing test case mytest
    Qt version: 5.15.1
    Qt build: Qt 5.15.1 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 5.3.1 20160406 (Red Hat 5.3.1-6))
    QTest version: 5.15.1
PASS    Executing test function initTestCase
INFO    Signal: QThread(00bcad80) started ()
PASS    mytest::initTestCase
    Execution took 0.171962 ms.
PASS    Executing test function test_case1
PASS    mytest::test_case1
    Execution took 0.01823 ms.
PASS    Executing test function cleanupTestCase
PASS    mytest::cleanupTestCase
    Execution took 0.00264 ms.
INFO    Signal: QThread(00bcad80) finished ()
    Test execution took 0.297252 ms.
    Note: Google Test filter = googletest.*
PASS    Executing test suite googletest
PASS    googletest.sample_test
    Execution took 0 ms.
    Test execution took 0 ms total
    Note: Google Test filter = googlemocktest.*
PASS    Executing test suite googlemocktest
PASS    googlemocktest.sample_mock
    Execution took 0 ms.
    Test execution took 0 ms total
PASS    Executing test case "My first test with Catch2"
PASS    Test case "My first test with Catch2" passed
    Finished executing test case "My first test with Catch2"
PASS    Executing test case "BorderProperties"
PASS    Test case "BorderProperties" passed
    Finished executing test case "BorderProperties"

ToDo: build qelectrotech

46 (edited by De-Backer 2020-12-10 14:38:30)

Re: Qt 6.0 development and qelectrotech

De-Backer wrote:

aagg,  so close

19:46:18: Running steps for project qelectrotech...
19:46:18: Starting: "/home/simon/Qt/Tools/CMake/bin/cmake" --build . --target all
[1/298 0.5/sec] Building CXX object Tests/tests/CMakeFiles/My_test.dir/tst_My_test.cpp.o
[2/298 0.9/sec] Building CXX object Tests/tests/CMakeFiles/My_test.dir/__/__/sources/borderproperties.cpp.o
[3/298 0.8/sec] Automatic MOC and UIC for target qelectrotech
[4/298 1.0/sec] Generating ui_projectprintwindow.h
FAILED: sources/ui_projectprintwindow.h 
cd /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug/sources && /home/simon/Qt/5.15.1/gcc_64/bin/uic -o /home/simon/GIT/build/qet-Desktop_Qt_5_15_1_GCC_64bit-Debug/sources/ui_projectprintwindow.h /home/simon/GIT/qet/sources/print/projectprintwindow.h
uic: Error in line 1, column 1 : Start tag expected.

this is a bug

uic: Error in line 1, column 1 : Start tag expected

a reference to .ui should not be on the first line
fixt commit 10c4c3d52816d3440ca2397c2de70e7a37a154d8

Re: Qt 6.0 development and qelectrotech

Build Debian packages

dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
        cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
Can't exec "cmake": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 475.
dh_auto_configure: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. failed to execute: No child processes
dh_auto_configure: cd obj-x86_64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu .. 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

Mxe build Windows packages:

oject/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtNetwork -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtXml -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtSql -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtConcurrent -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/include/KF5/KCoreAddons -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtCore -Irelease -I. -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/mkspecs/win32-g++  -o release/elementview.o ../sources/editor/elementview.cpp
../sources/machine_info.cpp: In member function 'void Machine_info::send_info_to_debug()':
../sources/machine_info.cpp:121:38: error: 'GIT_COMMIT_SHA' was not declared in this scope
  121 |  qInfo() << "GitRevision " + QString(GIT_COMMIT_SHA);
      |                                      ^~~~~~~~~~~~~~
x86_64-w64-mingw32.static-g++ -c -pipe -fno-keep-inline-dllexport -std=c++17 -O2 -std=gnu++1z -Wall -Wextra -Wextra -ffunction-sections -fdata-sections -fexceptions -mthreads -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQET_ALLOW_OVERRIDE_CED_OPTION -DQET_ALLOW_OVERRIDE_CTBTD_OPTION -DQET_ALLOW_OVERRIDE_CD_OPTION -DQET_EXPORT_PROJECT_DB -DQAPPLICATION_CLASS=QApplication -DQT_MESSAGELOGCONTEXT -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 -DQT_NEEDS_QMAIN -I../../qelectrotech-0.80.r6975 -I. -I../SingleApplication -I../sources -I../sources/titleblock -I../sources/ui -I../sources/qetgraphicsitem -I../sources/qetgraphicsitem/ViewItem -I../sources/qetgraphicsitem/ViewItem/ui -I../sources/richtext -I../sources/factory -I../sources/properties -I../sources/dvevent -I../sources/editor -I../sources/editor/esevent -I../sources/editor/graphicspart -I../sources/editor/ui -I../sources/editor/UndoCommand -I../sources/undocommand -I../sources/diagramevent -I../sources/ElementsCollection -I../sources/ElementsCollection/ui -I../sources/autoNum -I../sources/autoNum/ui -I../sources/ui/configpage -I../sources/SearchAndReplace -I../sources/SearchAndReplace/ui -I../sources/NameList -I../sources/NameList/ui -I../sources/utils -I../sources/pugixml -I../sources/dataBase -I../sources/dataBase/ui -I../sources/factory/ui -I../sources/print -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w64-mingw32.static/qt5/include/QtSvg -I../../../digikam/project/bundles/mxe/build.win64/usr/x86_64-w6

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

Re: Qt 6.0 development and qelectrotech

Windows:

GIT_COMMIT_SHA

todo: add to cmake

Debian???? is this qet?

Re: Qt 6.0 development and qelectrotech

De-Backer wrote:

Windows:

GIT_COMMIT_SHA

todo: add to cmake

Debian???? is this qet?

Fix GIT_COMMIT_SHA in Cmake
https://git.tuxfamily.org/qet/qet.git/c … 54cc7cb6d9

50 (edited by De-Backer 2020-12-11 01:53:04)

Re: Qt 6.0 development and qelectrotech

Edit :
now the Tests works the builds are disabled
you can already try them
the intention is to have K5 packages when building
the problems are with the .ui files
therefore the builds are disabled

Post's attachments

Screenshot_20201211_005249.png, 224.22 kb, 917 x 682
Screenshot_20201211_005249.png 224.22 kb, 249 downloads since 2020-12-11