[qpa] Set binary output path for QPA plugin

Summary: Required for kwin_wayland to find it's own plugin.

Test Plan: My kwin_wayland was crashing and gdb showed wrong plugin being loaded

Reviewers: #kwin

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D19010
This commit is contained in:
Martin Flöser 2019-02-14 17:39:52 +01:00
parent 71acd12eb2
commit 1d8d7bd9f7

View file

@ -18,6 +18,7 @@ include(ECMQtDeclareLoggingCategory)
ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical) ecm_qt_declare_logging_category(QPA_SOURCES HEADER logging.h IDENTIFIER KWIN_QPA CATEGORY_NAME kwin_qpa_plugin DEFAULT_SEVERITY Critical)
add_library(KWinQpaPlugin MODULE ${QPA_SOURCES}) add_library(KWinQpaPlugin MODULE ${QPA_SOURCES})
set_target_properties(KWinQpaPlugin PROPERTIES LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin/platforms/")
set(QT5PLATFORMSUPPORT_LIBS set(QT5PLATFORMSUPPORT_LIBS
Qt5FontDatabaseSupport::Qt5FontDatabaseSupport Qt5FontDatabaseSupport::Qt5FontDatabaseSupport