aboutsummaryrefslogtreecommitdiff
path: root/modules/ECMFindQmlModule.cmake.in
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2022-03-20 12:57:52 +0200
committerAhmad Samir <a.samirh78@gmail.com>2022-03-24 16:24:38 +0000
commita720a6380ca75ec23e0635cc8ae47ee4b9508be0 (patch)
treec9e44d079d7c392b3f7b2beeeea748236f2de6c8 /modules/ECMFindQmlModule.cmake.in
parent4047d1a676ac6133f357d6aca63f3093381b0986 (diff)
downloadextra-cmake-modules-a720a6380ca75ec23e0635cc8ae47ee4b9508be0.tar.gz
extra-cmake-modules-a720a6380ca75ec23e0635cc8ae47ee4b9508be0.tar.bz2
Port from ECMQueryQmake to ECMQueryQt
Continuation of commit 4e47b053c9d799. All unittests still pass.
Diffstat (limited to 'modules/ECMFindQmlModule.cmake.in')
-rw-r--r--modules/ECMFindQmlModule.cmake.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ECMFindQmlModule.cmake.in b/modules/ECMFindQmlModule.cmake.in
index 6c054bf0..0ee5665e 100644
--- a/modules/ECMFindQmlModule.cmake.in
+++ b/modules/ECMFindQmlModule.cmake.in
@@ -8,8 +8,8 @@ include(FindPackageHandleStandardArgs)
include("${ECM_MODULE_DIR}/QtVersionOption.cmake")
if (QT_MAJOR_VERSION EQUAL "5")
- include("${ECM_MODULE_DIR}/ECMQueryQmake.cmake")
- query_qmake(qt_binaries_dir QT_HOST_BINS)
+ include("${ECM_MODULE_DIR}/ECMQueryQt.cmake")
+ ecm_query_qt(qt_binaries_dir QT_HOST_BINS)
find_program(QMLPLUGINDUMP_PROGRAM NAMES qmlplugindump HINTS ${qt_binaries_dir})
elseif (QT_MAJOR_VERSION EQUAL "6")
find_package(Qt6 COMPONENTS QmlTools REQUIRED)