Fix linking order for plugins using QtDBus
This commit is contained in:
parent
0ae4e78a12
commit
0bacdcaaa4
1 changed files with 3 additions and 1 deletions
4
external/qt/CMakeLists.txt
vendored
4
external/qt/CMakeLists.txt
vendored
|
|
@ -212,9 +212,11 @@ else()
|
||||||
$<TARGET_OBJECTS:Qt${QT_VERSION_MAJOR}::QGlibNetworkInformationPlugin_init>
|
$<TARGET_OBJECTS:Qt${QT_VERSION_MAJOR}::QGlibNetworkInformationPlugin_init>
|
||||||
)
|
)
|
||||||
if (TARGET Qt::DBus)
|
if (TARGET Qt::DBus)
|
||||||
list(APPEND qt_libs
|
list(PREPEND qt_libs
|
||||||
plugins/platforminputcontexts/${qt_lib_prefix}ibusplatforminputcontextplugin
|
plugins/platforminputcontexts/${qt_lib_prefix}ibusplatforminputcontextplugin
|
||||||
plugins/platformthemes/${qt_lib_prefix}qxdgdesktopportal
|
plugins/platformthemes/${qt_lib_prefix}qxdgdesktopportal
|
||||||
|
)
|
||||||
|
list(APPEND qt_libs
|
||||||
lib/${qt_lib_prefix}Qt${QT_VERSION_MAJOR}DBus
|
lib/${qt_lib_prefix}Qt${QT_VERSION_MAJOR}DBus
|
||||||
lib/${qt_lib_prefix}Qt${QT_VERSION_MAJOR}Core
|
lib/${qt_lib_prefix}Qt${QT_VERSION_MAJOR}Core
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue