Registered Member
|
hi, guys,
I tried to compile marble for Qt 5 under linux debian wheezy. Last marble source is cloned to /home/viktor/marble/source/, Qt 5.2.1 is installed in /opt/Qt5.2.1/, i set all PATH variables in cmake (i use the GUI-version 2.8.9), everything looks fine, but when I run make, after 91% of the build-process I get the following error message: .... .... [ 91%] Automoc for target pntreplace [ 91%] Built target pntreplace_automoc [ 91%] Building CXX object tools/pntreplace/CMakeFiles/pntreplace.dir/pntreplace.o /home/viktor/marble/sources/tools/pntreplace/pntreplace.cpp:16:27: fatal error: QXmlInputSource: Datei oder Verzeichnis nicht gefunden The message in the console-widget of cmake after running the generate-process: -- The following features have been enabled: * Qt Designer plugins , Marble widget support in Qt Designer. Toggle with WITH_DESIGNER_PLUGIN=YES/NO * Marble tools , Build various Marble tools for e.g. file format conversion. Toggle with BUILD_MARBLE_TOOLS=YES/NO. * Marble library C++ examples , Build C++ examples showing how to use the Marble library. Toggle with BUILD_MARBLE_EXAMPLES=YES/NO. -- The following OPTIONAL packages have been found: * libshp , reading and writing of ESRI Shapefiles (.shp) , <http://shapelib.maptools.org/> reading and displaying .shp files * Protobuf * ZLIB -- The following REQUIRED packages have been found: * Qt5Core * Qt5Xml * Qt5Network * Qt5Test * Qt5Script * Qt5Gui (required version >= 5.2.1) * Qt5Widgets * Qt5Qml (required version >= 5.2.1) * Qt5Quick (required version >= 5.2.1) * Qt5OpenGL (required version >= 5.2.1) * Qt5WebKit (required version >= 5.2.1) * Qt5Positioning (required version >= 5.2.1) * Qt5Sensors (required version >= 5.2.1) * Qt5WebKitWidgets * Qt5Svg * Qt5Sql * Qt5Concurrent * Qt5PrintSupport * Qt5Designer -- The following features have been disabled: * Unit tests , Build unit tests. Toggle with BUILD_MARBLE_TESTS=YES/NO. 'make test' will run all. * Marble Desktop/Mobile applications , Build Marble Desktop/Mobile applications. Toggle with BUILD_MARBLE_APPS=YES/NO. Configuring done Generating done Can somebody tell me, what I'm doing wrong? thanks in advance, vittorio |
Administrator
|
It appears that your system is missing some of the headers which are part of QtXml - can you verify that all necessary development packages for Qt 5 are installed?
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
Registered Member
|
Did you use qt5 branch and -DQTONLY=ON -DQT5BUILD=ON cmake options?
I got same issue and had to add Qt5Xml_LIBRARIES in CMakeFiles.txt. But it was ok with options above (except issue with SattelitePlugin) |
Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]