This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Error building marble libs

Tags: None
(comma "," separated)
nyquist
Registered Member
Posts
1
Karma
0

Error building marble libs

Thu Jan 28, 2016 7:08 am
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
User avatar
Earthwings
KDE Developer
Posts
172
Karma
1
OS

Re: Error building marble libs

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.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]