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:
Mike McQuaid 2012-01-11 15:41:56 +00:00
parent cffebe643c
commit fc6f340137
1 changed files with 0 additions and 4 deletions

View File

@ -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}")