Problems compiling marble with Qt5

Dirk Hohndel dirk at hohndel.org
Sat Dec 13 13:16:55 PST 2014


On Sat, Dec 13, 2014 at 06:58:22PM +0000, Pedro Neves wrote:
> Thanks Dirk.
> 
> I'll wait for it then...

Not quite ready to do that (I need to change things so the debug messages
that I've added are only spewed out if the debug flag is set...)

But here's the hack that gets it to compile:


diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a4dec385589..1b5e32a749d2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -84,6 +84,8 @@ else()
   include_directories( ${Qt5Test_INCLUDE_DIRS} )
   include_directories( ${Qt5Xml_INCLUDE_DIRS} )
   include_directories( ${Qt5Sql_INCLUDE_DIRS} )
+  include_directories( /usr/include/qt5/QtQuick )
+  include_directories( /usr/include/qt5/QtQml )
 
   SET(CMAKE_AUTOMOC TRUE)
   SET(CMAKE_AUTOMOC_RELAXED_MODE TRUE)


More information about the subsurface mailing list