diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2014-08-20 16:31:05 +0200 |
---|---|---|
committer | Robin Burchell <robin.burchell@viroteck.net> | 2014-09-23 12:35:31 +0200 |
commit | 8655435f86b45a343d7a36c35968fa2c7c83f9c3 (patch) | |
tree | 9ead216ddc460db68615f140afaea03b29716bb4 /src/plugins/decorations/bradient/bradient.pro | |
parent | 59d691d6c54932a92933ee69876b8f0bc8cf954e (diff) |
QtWaylandClient: Pluginize window decorations.
Convert to a D-pointer, split between abstract base class and an implementation.
Also move implementation of the current built-in decoration to the "bradient"
plugin, named in glorious memory of the programmer-designed blue gradient that
will forever sear our eyeballs.
The decoration plugin may be specified using the environment variable
QT_WAYLAND_DECORATION.
Change-Id: Idc99ab06ae138ad299bad2b62b9595379bd007ab
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Diffstat (limited to 'src/plugins/decorations/bradient/bradient.pro')
-rw-r--r-- | src/plugins/decorations/bradient/bradient.pro | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/plugins/decorations/bradient/bradient.pro b/src/plugins/decorations/bradient/bradient.pro new file mode 100644 index 000000000..fd376f4a9 --- /dev/null +++ b/src/plugins/decorations/bradient/bradient.pro @@ -0,0 +1,17 @@ +PLUGIN_TYPE = wayland-decoration-client +load(qt_plugin) + +QT += waylandclient-private + +OTHER_FILES += \ + bradient.json + +SOURCES += main.cpp + +contains(QT_CONFIG, no-pkg-config) { + LIBS += -lwayland-client +} else { + CONFIG += link_pkgconfig + PKGCONFIG += wayland-client +} + |