From 76c7af60c351cacbce01c89b7e2e7f1df536c7aa Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 16 Sep 2015 15:47:37 +0200 Subject: Fix khr autotest to work with non-standard locations Just like the egl autotest in qtbase does, the paths have to be added from the respective QMAKE variables, otherwise the test will never pass on systems where EGL and friends are installed in a non-standard location. Change-Id: Idaa2136b5574f6f320abb8a7074350b5838b402e Reviewed-by: Allan Sandfeld Jensen --- tools/qmake/config.tests/khr/khr.pro | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/qmake/config.tests/khr') diff --git a/tools/qmake/config.tests/khr/khr.pro b/tools/qmake/config.tests/khr/khr.pro index 6abd2367a..b8e935f5a 100644 --- a/tools/qmake/config.tests/khr/khr.pro +++ b/tools/qmake/config.tests/khr/khr.pro @@ -1,2 +1,6 @@ +!isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL +!isEmpty(QMAKE_INCDIR_OPENGL): INCLUDEPATH += $$QMAKE_INCDIR_OPENGL + CONFIG-=qt + linux:SOURCES += khr.cpp -- cgit v1.2.3