diff --git a/gui/test/filelist/filelist.pro b/gui/test/filelist/filelist.pro index 9f87d10f6..52adfcbd2 100644 --- a/gui/test/filelist/filelist.pro +++ b/gui/test/filelist/filelist.pro @@ -8,6 +8,8 @@ QT += testlib include(../common.pri) +DEFINES += SRCDIR=\\\"$$PWD\\\" + # tests SOURCES += testfilelist.cpp \ ../../filelist.cpp \ diff --git a/gui/test/projectfile/projectfile.pro b/gui/test/projectfile/projectfile.pro index 771f7f3ca..5284dc969 100644 --- a/gui/test/projectfile/projectfile.pro +++ b/gui/test/projectfile/projectfile.pro @@ -7,6 +7,8 @@ MOC_DIR = ../build include(../common.pri) +DEFINES += SRCDIR=\\\"$$PWD\\\" + # tests SOURCES += testprojectfile.cpp \ ../../projectfile.cpp