-if (USE_QT5)
- message(STATUS "Building for Qt5...")
- set(QT_MIN_VERSION "5.2.0")
- add_definitions(-DHAVE_QT5)
-else()
- message(STATUS "Building for Qt4...")
- set(QT_MIN_VERSION "4.8.0")
-
- # Select a Qt installation here, if you don't want to use system Qt
- if(QT_PATH)
- # FindQt4 will look for the qmake binary in $PATH, so we just prepend QT_PATH
- set(ENV{PATH} ${QT_PATH}/bin:$ENV{PATH})
- endif()
-endif()
-
-