From ae3e53f391da1fb96f01d15a1e95c6cb0d7810df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 19 Apr 2019 13:44:55 +0200 Subject: [PATCH] Travis: Try to fix gui/test --- gui/test/filelist/filelist.pro | 2 ++ gui/test/projectfile/projectfile.pro | 2 ++ 2 files changed, 4 insertions(+) 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