diff options
author | Jørgen Lind <jorgen.lind@nokia.com> | 2011-06-09 15:56:55 +0200 |
---|---|---|
committer | Jørgen Lind <jorgen.lind@nokia.com> | 2011-06-10 09:46:56 +0200 |
commit | 6ee65dc4785b9f38cfd7405a5535c88feb3a0ea1 (patch) | |
tree | ff55c0b4037cc0b9c247667fb887af8b1893a7b9 /src/plugins/platforms/xcb/xcb.pro | |
parent | 17763a7b31c1f6df6f7725c4b67e5dcc4d3b00fb (diff) |
QtPlatformSupport: A helper library for platform plugins
QtPlatformSupport is a static library. Platform plugins are meant to
link against this library to pull in dependencies such as fontengines
and convenience functions for finding the right GL configs. The linker
will only pull in the symbols used, so the size of the library doesn't
really matter
Diffstat (limited to 'src/plugins/platforms/xcb/xcb.pro')
-rw-r--r-- | src/plugins/platforms/xcb/xcb.pro | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/plugins/platforms/xcb/xcb.pro b/src/plugins/platforms/xcb/xcb.pro index 2b545f9b1d..c8814b04f6 100644 --- a/src/plugins/platforms/xcb/xcb.pro +++ b/src/plugins/platforms/xcb/xcb.pro @@ -1,9 +1,9 @@ TARGET = xcb -load(qpa/plugin) +load(qt_plugin) QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/platforms -QT += core-private gui-private +QT += core-private gui-private platformsupport-private SOURCES = \ qxcbclipboard.cpp \ @@ -61,14 +61,9 @@ contains(QT_CONFIG, opengl) { } else { contains(QT_CONFIG, opengles2) { DEFINES += XCB_USE_EGL - load(qpa/egl/convenience) - load(qpa/egl/context) - load(qpa/egl/xlibintegration) - LIBS += -lEGL } else { DEFINES += XCB_USE_GLX - load(qpa/glx/convenience) HEADERS += qglxintegration.h SOURCES += qglxintegration.cpp } @@ -83,8 +78,7 @@ DEFINES += $$QMAKE_DEFINES_XCB LIBS += $$QMAKE_LIBS_XCB QMAKE_CXXFLAGS += $$QMAKE_CFLAGS_XCB -load(qpa/fontdatabases/genericunix) -load(qpa/printersupport/genericunix) +CONFIG += qpa/genericunixfontdatabase target.path += $$[QT_INSTALL_PLUGINS]/platforms INSTALLS += target |