Frage zu cmake (und qt)
-
hallo,
das Bsp Prog
#include <QApplication> #include <QPushButton> int main(int argc, char *argv[]) { QApplication app(argc, argv); QPushButton hello("Hello world!"); hello.resize(100, 30); hello.show(); return app.exec(); }
welches die Qt Libraries benutzt, soll mit cmake erstellt werden.
Wie sieht die CMakeLists.txt Datei für so ein einfaches Bsp (mit Qt Libraries) aus ?
Und gibt es vll ne Möglichkeit, aus VS2008 heraus cmake Dateien zu generieren ?
-
Google: Cmake Qt => http://qtnode.net/wiki/Qt4_with_cmake