Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake Build Error. Qt6::QScxmlEcmaScriptDataModelPlugin #810

Open
develooper1994 opened this issue May 27, 2023 · 2 comments
Open

Cmake Build Error. Qt6::QScxmlEcmaScriptDataModelPlugin #810

develooper1994 opened this issue May 27, 2023 · 2 comments

Comments

@develooper1994
Copy link

develooper1994 commented May 27, 2023

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: 5269d6e) 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)

@winterz
Copy link
Member

winterz commented May 27, 2023

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

@ferdnyc
Copy link
Contributor

ferdnyc commented Dec 31, 2023

Because the Debian packagers are hilarious jokers, the name of the package supplying that file is not any of:

  • libqt6scxml6
  • libqt6scxmlqml6
  • libqt6statemachine6
  • libqt6statemachineqml6
  • qt6-scxml-dev
  • qml6-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants