Commit 5b3f207e authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

consistently put {qt,qml}_{module,plugin} at the end of project files


this fixes static builds by ensuring that all dependencies are exported.

Task-number: QTBUG-51071
Change-Id: Ie9e89fa47696244e8ee478ed1a019765c835533e
Reviewed-by: default avatarPaul Olav Tvete <paul.tvete@theqtcompany.com>
Showing with 53 additions and 68 deletions
TARGET = QtWaylandClient
MODULE = waylandclient
QT += core-private gui-private
QT_FOR_PRIVATE += platformsupport-private
MODULE=waylandclient
MODULE_PLUGIN_TYPES = \
wayland-graphics-integration-client \
wayland-inputdevice-integration \
wayland-decoration-client
CONFIG += generated_privates
load(qt_module)
# We have a bunch of C code with casts, so we can't have this option
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
......@@ -117,3 +109,10 @@ HEADERS += qwaylandintegration_p.h \
include(hardwareintegration/hardwareintegration.pri)
include(shellintegration/shellintegration.pri)
include(inputdeviceintegration/inputdeviceintegration.pri)
CONFIG += generated_privates
MODULE_PLUGIN_TYPES = \
wayland-graphics-integration-client \
wayland-inputdevice-integration \
wayland-decoration-client
load(qt_module)
......@@ -3,9 +3,6 @@ QT = core gui-private
contains(QT_CONFIG, opengl):MODULE_DEFINES = QT_COMPOSITOR_WAYLAND_GL
MODULE_PLUGIN_TYPES = wayland-graphics-integration-server
load(qt_module)
CONFIG -= precompile_header
CONFIG += link_pkgconfig
......@@ -27,4 +24,6 @@ include ($$PWD/hardware_integration/hardware_integration.pri)
include ($$PWD/compositor_api/compositor_api.pri)
include ($$PWD/windowmanagerprotocol/windowmanagerprotocol.pri)
MODULE_PLUGIN_TYPES = \
wayland-graphics-integration-server
load(qt_module)
PLUGIN_TYPE = wayland-decoration-client
load(qt_plugin)
QT += waylandclient-private
OTHER_FILES += \
......@@ -15,3 +12,5 @@ contains(QT_CONFIG, no-pkg-config) {
PKGCONFIG += wayland-client
}
PLUGIN_TYPE = wayland-decoration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
QT += waylandclient-private
include(../../../../hardwareintegration/client/brcm-egl/brcm-egl.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
# We have a bunch of C code with casts, so we can't have this option
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
......@@ -13,3 +10,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
QT += waylandclient-private
include(../../../../hardwareintegration/client/libhybris-egl-server/libhybris-egl-server.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
QT += waylandclient-private
include(../../../../hardwareintegration/client/wayland-egl/wayland-egl.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
# We have a bunch of C code with casts, so we can't have this option
QMAKE_CXXFLAGS_WARN_ON -= -Wcast-qual
......@@ -13,3 +10,5 @@ OTHER_FILES += xcomposite-egl.json
SOURCES += \
main.cpp
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
QT += waylandclient-private
include(../../../../hardwareintegration/client/xcomposite-glx/xcomposite-glx.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += xcomposite-glx.json
SOURCES += \
main.cpp
PLUGIN_TYPE = wayland-graphics-integration-client
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
QT = compositor compositor-private core-private gui-private
OTHER_FILES += brcm-egl.json
......@@ -9,3 +6,6 @@ SOURCES += \
main.cpp
include(../../../../hardwareintegration/compositor/brcm-egl/brcm-egl.pri)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
QT = compositor compositor-private core-private gui-private
OTHER_FILES += drm-egl-server.json
......@@ -10,3 +7,5 @@ SOURCES += \
include($PWD/../../../../../hardwareintegration/compositor/drm-egl-server/drm-egl-server.pri)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
QT = compositor compositor-private core-private gui-private
OTHER_FILES += libhybris-egl-server.json
......@@ -10,3 +7,5 @@ SOURCES += \
include($PWD/../../../../../hardwareintegration/compositor/libhybris-egl-server/libhybris-egl-server.pri)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
QT = compositor compositor-private core-private gui-private platformsupport-private
OTHER_FILES += wayland-egl.json
......@@ -9,3 +6,6 @@ SOURCES += \
main.cpp
include(../../../../hardwareintegration/compositor/wayland-egl/wayland-egl.pri)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
QT += compositor compositor-private core-private gui-private
OTHER_FILES += xcomposite-egl.json
......@@ -9,3 +6,6 @@ SOURCES += \
main.cpp
include(../../../../hardwareintegration/compositor/xcomposite-egl/xcomposite-egl.pri)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
QT += compositor compositor-private core-private gui-private
OTHER_FILES += xcomposite-glx.json
......@@ -9,3 +6,6 @@ SOURCES += \
main.cpp
include(../../../../hardwareintegration/compositor/xcomposite-glx/xcomposite-glx.pri)
PLUGIN_TYPE = wayland-graphics-integration-server
load(qt_plugin)
PLUGIN_TYPE = platforms
load(qt_plugin)
QT += waylandclient-private
include(../../../hardwareintegration/client/brcm-egl/brcm-egl.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = platforms
load(qt_plugin)
PLUGIN_TYPE = platforms
load(qt_plugin)
QT += waylandclient-private
include(../../../hardwareintegration/client/wayland-egl/wayland-egl.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = platforms
load(qt_plugin)
PLUGIN_TYPE = platforms
load(qt_plugin)
QT += waylandclient-private
OTHER_FILES += \
......@@ -8,3 +5,5 @@ OTHER_FILES += \
SOURCES += main.cpp
PLUGIN_TYPE = platforms
load(qt_plugin)
PLUGIN_TYPE = platforms
load(qt_plugin)
QT += waylandclient-private
include(../../../hardwareintegration/client/xcomposite-egl/xcomposite-egl.pri)
......@@ -10,3 +7,5 @@ OTHER_FILES += qwayland-xcomposite-egl.json
SOURCES += \
main.cpp
PLUGIN_TYPE = platforms
load(qt_plugin)
PLUGIN_TYPE = platforms
load(qt_plugin)
QT += waylandclient-private
include(../../../hardwareintegration/client/xcomposite-glx/xcomposite-glx.pri)
......@@ -12,3 +9,6 @@ SOURCES += \
HEADERS += \
qwaylandxcompositeglxplatformintegration.h
PLUGIN_TYPE = platforms
load(qt_plugin)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment