![]() Registered Member ![]()
|
Hi!
I'm trying to build the marble libs from soure. I followed the instruction on: https://marble.kde.org/sources.php. My build fails because the include "QScriptValue" is not found. The whole error message is: /home/username/marble/sources/src/lib/marble/cloudsync/RouteSyncManager.cpp:29:24: fatal error: QScriptValue: No such file or directory #include <QScriptValue> ^ compilation terminated. src/lib/marble/CMakeFiles/marblewidget-qt5.dir/build.make:14398: recipe for target 'src/lib/marble/CMakeFiles/marblewidget-qt5.dir/cloudsync/RouteSyncManager.cpp.o' failed make[2]: *** [src/lib/marble/CMakeFiles/marblewidget-qt5.dir/cloudsync/RouteSyncManager.cpp.o] Error 1 CMakeFiles/Makefile2:1024: recipe for target 'src/lib/marble/CMakeFiles/marblewidget-qt5.dir/all' failed make[1]: *** [src/lib/marble/CMakeFiles/marblewidget-qt5.dir/all] Error 2 Makefile:147: recipe for target 'all' failed make: *** [all] Error 2 It seems like I'm missing some Qt stuff but I can't figure it out. Any ideas? Thanks a lot! Edit: So I tried to track down the problem a little further. Cmake does not find "Qt5Script" and "Qt5Designer" but says: -- The following OPTIONAL packages have not been found: * Qt5Script * Qt5Designer |
![]() KDE Developer ![]()
|
Qt5Script is not optional, it's required. You have to install something like qtscript5-dev. The exact name of the package varies across distributions.
|
Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]