diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-03-06 06:20:34 (GMT) |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-06 23:42:12 (GMT) |
commit | 821fc4cf4e520a74b8d4c834f2fb46e4e2f27001 (patch) | |
tree | 62b6c394eaa1cd612e517b92f73d38f6680d8c6a /src | |
parent | b102d78fa889480a71d402cd8602f1aa81abcb80 (diff) | |
download | Qt-821fc4cf4e520a74b8d4c834f2fb46e4e2f27001.zip Qt-821fc4cf4e520a74b8d4c834f2fb46e4e2f27001.tar.gz Qt-821fc4cf4e520a74b8d4c834f2fb46e4e2f27001.tar.bz2 |
Add egl include paths and link lines to eglfs.
Similar to the code in gui/egl/egl.pri.
Change-Id: I1dbcf6f0d70405d8dc9f404bfed64fdfcd7c14ab
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/platforms/eglfs/eglfs.pro | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/eglfs.pro b/src/plugins/platforms/eglfs/eglfs.pro index 7ad8fd9..c38b80d 100644 --- a/src/plugins/platforms/eglfs/eglfs.pro +++ b/src/plugins/platforms/eglfs/eglfs.pro @@ -27,5 +27,16 @@ HEADERS = qeglfsintegration.h \ include(../fontdatabases/genericunix/genericunix.pri) +!isEmpty(QMAKE_INCDIR_EGL){ + INCLUDEPATH += $$QMAKE_INCDIR_EGL +} +!isEmpty(QMAKE_LIBDIR_EGL){ + for(p, QMAKE_LIBDIR_EGL) { + exists($$p):LIBS += -L$$p + } +} + +!isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL + target.path += $$[QT_INSTALL_PLUGINS]/platforms INSTALLS += target |