Add support for Qt5 in the build system
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 30 Mar 2012 23:17:14 +0000 (01:17 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 1 Apr 2012 22:07:17 +0000 (00:07 +0200)
commitff81aaec156b8dc2e12f49286fd69e55f215af29
tree7121156d73f200b4ec74580005d978e3ee621b37
parentd46081aea2428632174d5553cffa44fafa20afb9
Add support for Qt5 in the build system

Support for building against Qt5 can now be enabled by passing -DWITH_QT5=1 to CMake.
Note that your Qt5 installation (the qmake location) needs to be in your PATH, unless
it's already in one of the standard system locations.

Needless to say that Qt5 support in Quassel is highly experimental, though surprisingly
it seems to work mostly fine already. A README.Qt5 with known issues is forthcoming.

As a side effect, I've cleaned up the build system a bit and got rid of QT_USE_FILE and the related
fugly hacks for Qt4 (so that the -I and -D options now actually match the modules we're building
against).
CMakeLists.txt
cmake/modules/QuasselMacros.cmake
src/CMakeLists.txt
src/client/CMakeLists.txt
src/common/CMakeLists.txt
src/core/CMakeLists.txt
src/qtui/CMakeLists.txt
src/uisupport/CMakeLists.txt