Switching from Qmake to Cmake
-
i try to switch from qmake to cmake
i followed the tutorial on this side but when i want to compile i get this error:
/usr/include/qt/QtCore/qobject.h:491:24: Fehler: missing binary operator before token "("
#if QT_DEPRECATED_SINCE(5, 0)my cmake file:
http://pastebin.com/qRVpXpAWwhat am i missing?
-
Hi and welcome to devnet,
What version of Qt are you using ?
Does it also happen with a simple Qt Hello World application ?
-
Hi and welcome to devnet,
What version of Qt are you using ?
Does it also happen with a simple Qt Hello World application ?
-
Did you see this forum post? Perhaps you have a similar header name collision in your project.
-
Not the fastest technique but one thing you can do is to remove all files from your build and add each again one by one to see exactly which one triggers the error.