Qt5 + CMake: How to add QtMain?
-
Hi,
I upgraded my open-source code that you can see there: https://bitbucket.org/klaim/aos_qt5 to Qt5. It uses CMake.
The only thing that I can't find in current documentation, like
- http://qt-project.org/doc/qt-5.0/qtdoc/cmake-manual.html
- http://qt-project.org/doc/qt-5.0/qtdoc/qtmain.html
Is how to link with QtMain from CMake.
I think it is the only missing bit for me.
Can someone point me to a doc explaining this or explain how to do it with Qt5? My Qt4 code worked. -
I posted this question on StackOverflow as even here I don't have any answer :P
http://stackoverflow.com/questions/14115024/how-to-link-qtmain-in-cmake-with-qt5