Thu Jan 28, 2016 7:08 am
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
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: *** [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: *** [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!
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:
Fri Jan 29, 2016 8:11 pm
Qt5Script is not optional, it's required. You have to install something like qtscript5-dev. The exact name of the package varies across distributions.