1
0
Fork 0

Fix linking order for plugins using QtDBus

This commit is contained in:
Ilya Fedin 2023-09-23 12:28:15 +04:00 committed by John Preston
parent 0ae4e78a12
commit 0bacdcaaa4

View file

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