[Marble-devel] Marble Compilation Error

Dennis Nienhüser nienhueser at kde.org
Fri Jan 29 20:01:31 UTC 2016


Hi,

your Qt installation lacks some header files. This often happens with 
distribution packages which split Qt into several packages, e.g. Debian 
or Ubuntu. To fix it install the missing ones (sth like 
qtdeclarative5-dev, qtscript5-dev, libqt5svg5-dev).

Regards,
Dennis

Am 29.01.2016 19:27, schrieb Ramon Nastase:
> Hello everyone !
> 
> Nastase Ramon is my name. I am trying to build from sources the marble
> project, but my compilation fails with the following errors. What am I
> missing ?
> 
> ramon at ubuntu:~/marble/sources$ make
> [  0%] Automoc for target marblewidget-qt5
> [  0%] Built target marblewidget-qt5_automoc
> [  0%] Automoc for target astro
> [  0%] Built target astro_automoc
> [  0%] Built target astro
> [  0%] Building CXX object
> src/lib/marble/CMakeFiles/marblewidget-qt5.dir/MarbleQuickItem.cpp.o
> In file included from
> /home/ramon/marble/sources/src/lib/marble/MarbleQuickItem.cpp:12:0:
> /home/ramon/marble/sources/src/lib/marble/MarbleQuickItem.h:15:29:
> fatal error: QQuickPaintedItem: No such file or directory
>  #include <QQuickPaintedItem>
>                              ^
> compilation terminated.
> make[2]: ***
> [src/lib/marble/CMakeFiles/marblewidget-qt5.dir/MarbleQuickItem.cpp.o]
> Error 1
> make[1]: *** [src/lib/marble/CMakeFiles/marblewidget-qt5.dir/all] Error 
> 2
> make: *** [all] Error 2
> 
> 
> When i enter make, the project stopped initially at 33%. Also had a
> similar with #include <QSvgRenderer> (38% progress I think).
> 
> Thanks,
> 
> Nastase Ramon
> 
>>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to 
>>> unsubscribe <<


More information about the Marble-devel mailing list