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.

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

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.

Re: Qt 6.0 development and qelectrotech

Thanks again for your great work Simon. nomicons/wink

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, 9 downloads since 2020-10-15