Don't use QT_LIBRARIES_PLUGINS by default.
A lot of the libraries won't be found by default so will spit out all sorts of errors. Don't kill QT_LIBRARIES_PLUGINS altogether as it is sometimes useful.
This commit is contained in:
parent
cffebe643c
commit
fc6f340137
|
@ -264,10 +264,6 @@ function(install_qt4_executable executable)
|
|||
set(qt_plugins_dir "")
|
||||
endif()
|
||||
|
||||
if(NOT qtplugins AND QT_LIBRARIES_PLUGINS)
|
||||
set(qtplugins "${QT_LIBRARIES_PLUGINS}")
|
||||
endif()
|
||||
|
||||
foreach(plugin ${qtplugins})
|
||||
set(installed_plugin_paths "")
|
||||
install_qt4_plugin("${plugin}" "${executable}" 0 installed_plugin_paths "${plugins_dir}" "${component}")
|
||||
|
|
Loading…
Reference in New Issue