Port fix for guitests from offical debian package

This commit is contained in:
Andrew Nelless 2017-05-22 22:34:25 +01:00
parent 62ab8ffc4f
commit 45580db33c
3 changed files with 3 additions and 4 deletions

View File

@ -8,8 +8,7 @@ TEMPLATE = app
INCLUDEPATH += ../../gui/src INCLUDEPATH += ../../gui/src
SOURCES += src/main.cpp \ SOURCES += src/main.cpp \
src/VersionCheckerTests.cpp src/VersionCheckerTests.cpp
HEADERS += src/VersionCheckerTests.h \ HEADERS += src/VersionCheckerTests.h
src/VersionChecker.h
win32 { win32 {
Debug:DESTDIR = ../../../bin/Debug Debug:DESTDIR = ../../../bin/Debug
Release:DESTDIR = ../../../bin/Release Release:DESTDIR = ../../../bin/Release

View File

@ -18,7 +18,7 @@
#include "VersionCheckerTests.h" #include "VersionCheckerTests.h"
#include "VersionChecker.cpp" #include "VersionChecker.cpp"
#include "../../gui/tmp/debug/moc_VersionChecker.cpp" #include "../../gui/tmp/release/moc_VersionChecker.cpp"
#include <QtTest/QTest> #include <QtTest/QTest>

View File

@ -18,7 +18,7 @@
#pragma once #pragma once
#include "QObject.h" #include "qobject.h"
class VersionCheckerTests : public QObject class VersionCheckerTests : public QObject
{ {