2017-10-20 11:03 GMT+02:00 Andreas Tille <[email protected]>: > > but I'm somehow missing some proper -I option to tell gcc where to seek > for the qt5 includes. I'm afraid that the cmake configuration was not > fully successful. Any further hints? > According to [1], #include <QDebug> should work. Include directories should be set by target_link_directories(program Qt5::Core [...]). Maybe QT_ variables like ${QT_LIBRARIES} are not set as expected.
[1] http://doc.qt.io/qt-5/qdebug.html -- Alexis Murzeau PGP: B7E6 0EBB 9293 7B06 BDBC 2787 E7BD 1904 F480 937F

