diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-10 15:41:55 +0100 |
---|---|---|
committer | Tomasz Olszak <olszak.tomasz@gmail.com> | 2015-11-10 15:41:55 +0100 |
commit | d590a0e0a1025c1679bae7809f2a429942d34318 (patch) | |
tree | e39d164561f438f2eb4a008be3853e96603f0983 | |
parent | 05e26c7ebf8ceb41f37b9f196a53984c4bedb2ff (diff) | |
download | qtbase-d590a0e0a1025c1679bae7809f2a429942d34318.tar.gz qtbase-d590a0e0a1025c1679bae7809f2a429942d34318.tar.bz2 qtbase-d590a0e0a1025c1679bae7809f2a429942d34318.zip |
xcb: Added handling of XCB_STATIC_LINK qmake variable.
This makes it possible to link xcb platform plugin statically with
libxcb. Such plugin will be bundled in Tizen application package because
Tizen compliance policy does not allow to link to system libxcb (it
supposed to be replaced by wayland in the future).
Change-Id: Iaf66cf2b4a04a32e1fd653bcb9eb7c0d915a3981
Reviewed-by: Tomasz Olszak <olszak.tomasz@gmail.com>
-rw-r--r-- | config.tests/qpa/xcb/xcb.pro | 1 | ||||
-rw-r--r-- | src/plugins/platforms/xcb/xcb-plugin.pro | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/config.tests/qpa/xcb/xcb.pro b/config.tests/qpa/xcb/xcb.pro index a48fdbd15f..3d86c83703 100644 --- a/config.tests/qpa/xcb/xcb.pro +++ b/config.tests/qpa/xcb/xcb.pro @@ -3,3 +3,4 @@ CONFIG -= qt LIBS += -lxcb +!isEmpty(XCB_STATIC_LINK): LIBS += -lXau diff --git a/src/plugins/platforms/xcb/xcb-plugin.pro b/src/plugins/platforms/xcb/xcb-plugin.pro index 09ab1ad77a..eb0a4ec2a4 100644 --- a/src/plugins/platforms/xcb/xcb-plugin.pro +++ b/src/plugins/platforms/xcb/xcb-plugin.pro @@ -11,3 +11,4 @@ SOURCES = \ qxcbmain.cpp OTHER_FILES += xcb.json README + !isEmpty(XCB_STATIC_LINK): LIBS += -lXau |