Add QT_LIBRARIES_PLUGINS variable to UseQt4.
This commit is contained in:
parent
68e43c2fad
commit
cf4b52980d
|
@ -1062,6 +1062,14 @@ IF (QT_QMAKE_EXECUTABLE AND QTVERSION)
|
|||
SET( QT_SCRIPT_PLUGINS qtscriptdbus )
|
||||
SET( QT_SQLDRIVERS_PLUGINS qsqldb2 qsqlibase qsqlite qsqlite2 qsqlmysql qsqloci qsqlodbc qsqlpsql qsqltds )
|
||||
|
||||
SET( QT_PHONON_PLUGINS ${QT_PHONON_BACKEND_PLUGINS} )
|
||||
SET( QT_QT3SUPPORT_PLUGINS qtaccessiblecompatwidgets )
|
||||
SET( QT_QTCORE_PLUGINS ${QT_BEARER_PLUGINS} ${QT_CODECS_PLUGINS} )
|
||||
SET( QT_QTGUI_PLUGINS qtaccessiblewidgets qgif qjpeg qmng qico qtiff ${QT_DECORATIONS_PLUGINS} ${QT_GRAPHICSDRIVERS_PLUGINS} ${QT_GRAPHICSSYSTEMS_PLUGINS} ${QT_INPUTMETHODS_PLUGINS} ${QT_MOUSEDRIVERS_PLUGINS} )
|
||||
SET( QT_QTSCRIPT_PLUGINS ${QT_SCRIPT_PLUGINS} )
|
||||
SET( QT_QTSQL_PLUGINS ${QT_SQLDRIVERS_PLUGINS} )
|
||||
SET( QT_QTSVG_PLUGINS qsvg qsvgicon )
|
||||
|
||||
IF(QT_QMAKE_CHANGED)
|
||||
FOREACH(QT_PLUGIN_TYPE ${QT_PLUGIN_TYPES})
|
||||
STRING(TOUPPER ${QT_PLUGIN_TYPE} _upper_qt_plugin_type)
|
||||
|
|
|
@ -28,6 +28,7 @@ ENDIF()
|
|||
INCLUDE_DIRECTORIES(${QT_INCLUDE_DIR})
|
||||
|
||||
SET(QT_LIBRARIES "")
|
||||
SET(QT_LIBRARIES_PLUGINS "")
|
||||
|
||||
IF (QT_USE_QTMAIN)
|
||||
IF (Q_WS_WIN)
|
||||
|
@ -91,6 +92,7 @@ FOREACH(module QT3SUPPORT QTOPENGL QTASSISTANT QTDESIGNER QTMOTIF QTNSPLUGIN
|
|||
INCLUDE_DIRECTORIES(${QT_${module}_INCLUDE_DIR})
|
||||
ENDIF(QT_USE_${module})
|
||||
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIBRARY})
|
||||
SET(QT_LIBRARIES_PLUGINS ${QT_LIBRARIES_PLUGINS} ${QT_${module}_PLUGINS})
|
||||
IF(QT_IS_STATIC)
|
||||
SET(QT_LIBRARIES ${QT_LIBRARIES} ${QT_${module}_LIB_DEPENDENCIES})
|
||||
ENDIF(QT_IS_STATIC)
|
||||
|
|
Loading…
Reference in New Issue