diff options
author | Donald Carr <donald.carr@nokia.com> | 2012-03-06 22:35:30 +0000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-09 01:42:05 +0100 |
commit | d26ef66a660fb7d3e1cb94c863c4076a2ecd8199 (patch) | |
tree | 8037705baf4edc3f31538606b37698bff1ffe761 /src/plugins/platforms/eglfs/eglfs.pro | |
parent | 5434295389caf821d39adceb2b34c1a18e8d1403 (diff) |
Remove widgets dependency from eglfs
eglfs uses the (old) OpenGL paint engine for paint operations. This drags in a
QWidget dependency and hence everything bar the kitchen sink. This change
gets eglfs buildable without widget support although anything which relies
on a QPaintDevice will end up rendering nothing to the screen. (Similar
to the QWS simplegl driver)
Change-Id: If7fcdb79038ef7568e771402fd1667bc0318ff5f
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Diffstat (limited to 'src/plugins/platforms/eglfs/eglfs.pro')
-rw-r--r-- | src/plugins/platforms/eglfs/eglfs.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro index 8675dc164e..291e09d6ed 100644 --- a/src/plugins/platforms/eglfs/eglfs.pro +++ b/src/plugins/platforms/eglfs/eglfs.pro @@ -2,7 +2,11 @@ TARGET = qeglfs TEMPLATE = lib CONFIG += plugin -QT += opengl core-private gui-private opengl-private platformsupport-private widgets-private +QT += core-private gui-private platformsupport-private + +!contains(QT_CONFIG, no-widgets) { + QT += opengl opengl-private widgets-private +} DESTDIR = $$QT.gui.plugins/platforms |