diff options
author | Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com> | 2012-03-05 22:20:34 -0800 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-07 00:42:12 +0100 |
commit | 821fc4cf4e520a74b8d4c834f2fb46e4e2f27001 (patch) | |
tree | 62b6c394eaa1cd612e517b92f73d38f6680d8c6a | |
parent | b102d78fa889480a71d402cd8602f1aa81abcb80 (diff) |
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>
-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 7ad8fd985b..c38b80dd72 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 |