aboutsummaryrefslogtreecommitdiffstats
path: root/testing/cmake-extras/qmlplugindump_path.patch
blob: 475b3826ae696f4f3f96a5771cfcba8567bc0a74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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.")