I am using qt apt installed version.
developer@LAPTOP ~/repos/$ qmake -v QMake version 3.1 Using Qt version 5.15.8 in /usr/lib/x86_64-linux-gnu
developer@LAPTOP ~/repos/$ qmake6 -v QMake version 3.1 Using Qt version 6.4.2 in /usr/lib/x86_64-linux-gnu
-- Found libdw: /usr/lib/x86_64-linux-gnu/libdw.so -- Found libbfd: /usr/lib/x86_64-linux-gnu/libbfd.so -- Found libdwarf: /usr/lib/x86_64-linux-gnu/libdwarf.so -- Found Backward: /home/developer/repos/GammaRay/3rdparty/backward-cpp -- Building GammaRay 2.99.50 (revision: 5269d6ec0) in Debug mode CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6Scxml/Qt6QScxmlEcmaScriptDataModelPluginTargets.cmake:96 (message): The imported target "Qt6::QScxmlEcmaScriptDataModelPlugin" references the file
"/usr/lib/x86_64-linux-gnu/qt6/plugins/scxmldatamodel/libqscxmlecmascriptdatamodel.so"but this file does not exist. Possible reasons include:
-
The file was deleted, renamed, or moved to another location.
-
An install or uninstall procedure did not complete successfully.
-
The installation package was faulty and contained
"/usr/lib/x86_64-linux-gnu/cmake/Qt6Scxml/Qt6QScxmlEcmaScriptDataModelPluginTargets.cmake"
but not all the files it references.
Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt6Scxml/Qt6QScxmlEcmaScriptDataModelPluginConfig.cmake:61 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt6/QtPublicPluginHelpers.cmake:439 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt6Scxml/Qt6ScxmlPlugins.cmake:5 (__qt_internal_include_plugin_packages) /usr/lib/x86_64-linux-gnu/cmake/Qt6Scxml/Qt6ScxmlConfig.cmake:133 (include) CMakeLists.txt:473 (find_package)
Activity
2Because the Debian packagers are hilarious jokers, the name of the package supplying that file is not any of:
libqt6scxml6libqt6scxmlqml6libqt6statemachine6libqt6statemachineqml6qt6-scxml-devqml6-module-qtqml-statemachine
(NOTE: THESE ARE ALL REAL PACKAGE NAMES.)
Rather, that particular file lives in:
qml6-module-qtscxml
...which will not be automatically installed when installing any of the ones in the first list.
But you probably want them all installed, for things to build right.
do you have qt6-qtscxml-devel (and maybe qt6-qtscxml) installed? (or whatever ubuntu calls those packages)
currently the gammaray cmake buildsystem doesn't check and complain if those are missing