aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cmake-extras/qmlplugindump_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/cmake-extras/qmlplugindump_path.patch')
-rw-r--r--testing/cmake-extras/qmlplugindump_path.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/cmake-extras/qmlplugindump_path.patch b/testing/cmake-extras/qmlplugindump_path.patch
new file mode 100644
index 0000000000..475b3826ae
--- /dev/null
+++ b/testing/cmake-extras/qmlplugindump_path.patch
@@ -0,0 +1,13 @@
+diff --git a/src/QmlPlugins/QmlPluginsConfig.cmake b/src/QmlPlugins/QmlPluginsConfig.cmake
+index f563330..7e326bf 100644
+--- a/src/QmlPlugins/QmlPluginsConfig.cmake
++++ b/src/QmlPlugins/QmlPluginsConfig.cmake
+@@ -2,7 +2,7 @@
+ # target before loading this plugin.
+
+ if(NOT TARGET qmlplugindump)
+- find_program(qmlplugindump_exe qmlplugindump)
++ find_program(qmlplugindump_exe qmlplugindump HINTS /usr/lib/qt5/bin/)
+
+ if(NOT qmlplugindump_exe)
+ msg(FATAL_ERROR "Could not locate qmlplugindump.")