aboutsummaryrefslogtreecommitdiff
path: root/modules/FindQt5Transitional.cmake
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-02-21 13:24:00 +0100
committerStephen Kelly <steveire@gmail.com>2012-02-21 13:24:43 +0100
commit21761a4e1c6dde5259a61628e23a424106a51da2 (patch)
tree3ea6ab33e4300a63396c67a00deaa2a5e0e0f79b /modules/FindQt5Transitional.cmake
parent646e538f5d1b9478021bca96114009adaf20a408 (diff)
downloadextra-cmake-modules-21761a4e1c6dde5259a61628e23a424106a51da2.tar.gz
extra-cmake-modules-21761a4e1c6dde5259a61628e23a424106a51da2.tar.bz2
Qt5Declarative and Qt5Quick are actually incompatible
They can't be used together.
Diffstat (limited to 'modules/FindQt5Transitional.cmake')
-rw-r--r--modules/FindQt5Transitional.cmake6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/FindQt5Transitional.cmake b/modules/FindQt5Transitional.cmake
index 5e67b47d..3ff9490f 100644
--- a/modules/FindQt5Transitional.cmake
+++ b/modules/FindQt5Transitional.cmake
@@ -9,7 +9,6 @@ if (QT5_BUILD)
DBus
DBusTools # For macros
Designer
- Declarative
Script
ScriptTools
Network
@@ -21,13 +20,16 @@ if (QT5_BUILD)
PrintSupport
Concurrent
UiTools
- Quick
+ Quick1
WebKit
)
find_package(Qt5${_component})
endforeach()
else()
foreach(_component ${Qt5Transitional_FIND_COMPONENTS})
+ if ("${_component}" STREQUAL "Declarative")
+ set(_component Quick1)
+ endif()
find_package(Qt5${_component} REQUIRED)
if ("${_component}" STREQUAL "Gui")
find_package(Qt5Widgets REQUIRED)