From 45580db33ce8b0ffe455cb0e81fb715577ac9f43 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Mon, 22 May 2017 22:34:25 +0100 Subject: [PATCH] Port fix for guitests from offical debian package --- src/test/guitests/guitests.pro | 3 +-- src/test/guitests/src/VersionCheckerTests.cpp | 2 +- src/test/guitests/src/VersionCheckerTests.h | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/test/guitests/guitests.pro b/src/test/guitests/guitests.pro index dc9986a4..3be7e0d4 100644 --- a/src/test/guitests/guitests.pro +++ b/src/test/guitests/guitests.pro @@ -8,8 +8,7 @@ TEMPLATE = app INCLUDEPATH += ../../gui/src SOURCES += src/main.cpp \ src/VersionCheckerTests.cpp -HEADERS += src/VersionCheckerTests.h \ - src/VersionChecker.h +HEADERS += src/VersionCheckerTests.h win32 { Debug:DESTDIR = ../../../bin/Debug Release:DESTDIR = ../../../bin/Release diff --git a/src/test/guitests/src/VersionCheckerTests.cpp b/src/test/guitests/src/VersionCheckerTests.cpp index 33d92f9f..350c3e90 100644 --- a/src/test/guitests/src/VersionCheckerTests.cpp +++ b/src/test/guitests/src/VersionCheckerTests.cpp @@ -18,7 +18,7 @@ #include "VersionCheckerTests.h" #include "VersionChecker.cpp" -#include "../../gui/tmp/debug/moc_VersionChecker.cpp" +#include "../../gui/tmp/release/moc_VersionChecker.cpp" #include diff --git a/src/test/guitests/src/VersionCheckerTests.h b/src/test/guitests/src/VersionCheckerTests.h index 818aaf62..8d17af90 100644 --- a/src/test/guitests/src/VersionCheckerTests.h +++ b/src/test/guitests/src/VersionCheckerTests.h @@ -18,7 +18,7 @@ #pragma once -#include "QObject.h" +#include "qobject.h" class VersionCheckerTests : public QObject {