hello, I just uploaded my qt6-cmake branch which I have succesfully compiled QET with QT 6.8.
github.com/elevatormind/qelectrotech-source-mirror/tree/qt6-cmake
My steps to succesfully compile QET:
Install Qt 6.8.0 (I installed it with the online installer), assuming Qt 6.8.0 installed to "~/Qt/6.8.0/"
Install ECM 6.8.0 manually:
git clone [url]https://github.com/KDE/extra-cmake-modules.git[/url] ecm-src
git checkout tags/v6.8.0
mkdir ecm-build && cd ecm-build
~/Qt/6.8.0/gcc_64/bin/qt-cmake -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=<Release or Debug> -G Ninja ../ecm-src
cmake --build . -j<n>
sudo cmake --install .
Compile QET (from a clean build-dir):
~/Qt/6.8.0/gcc_64/bin/qt-cmake -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=<Release or Debug> -DPACKAGE_TESTS=OFF -DBUILD_KF6=ON -G Ninja ../qet-src
cmake --build . -j<n>
sudo cmake --install .
Note, this will download and compile KCoreAddons and KWidgetAddons from github with cmake by default so no need to have them installed. This is controlled by the BUILD_KF6 (ON by default) and KF6_GIT_TAG (6.8.0 by default) cmake options.
I haven't got ExtraCmakeModules to work with the download and compile with cmake, but I assume it's only used for compiling and not needed at runtime so shouldn't be an issue.
I can't remember exactly why but there were some problems compiling KF6 addons lower than 6.8.0.
There are a lot of compile warning and error fixes, these maybe should be reviewed as I can't guarantee any bugs or side effects, there are probably some other fixes in there also that might not be related to Qt6. I remember putting all the .qm-files in a Qt-resource for example.
I have so far discovered two issues with QET/QT6.
1. Symbol library panel, the texts don't show until you hover over them with the mouse.
2. Nomenclature tables are growing in width, when you reload them the width increases.