From 8321683694e46b791566209e384ddf79927b8389 Mon Sep 17 00:00:00 2001 From: Roberto Raggi <qtc-committer@nokia.com> Date: Thu, 5 Feb 2009 14:39:53 +0100 Subject: [PATCH] Fixes: Compile with msvc --- tests/auto/cplusplus/shared/shared.pri | 2 +- tests/auto/cplusplus/shared/shared.pro | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/auto/cplusplus/shared/shared.pri b/tests/auto/cplusplus/shared/shared.pri index 924cda99911..63573f07c69 100644 --- a/tests/auto/cplusplus/shared/shared.pri +++ b/tests/auto/cplusplus/shared/shared.pri @@ -1,5 +1,5 @@ -DEFINES += HAVE_QT CPLUSPLUS_WITH_NAMESPACE +DEFINES += CPLUSPLUS_WITH_NAMESPACE INCLUDEPATH += $$PWD/../../../../src/shared/cplusplus DEPENDPATH += $$INCLUDEPATH . LIBS += -L$$PWD -lCPlusPlusTestSupport diff --git a/tests/auto/cplusplus/shared/shared.pro b/tests/auto/cplusplus/shared/shared.pro index 2f84af560bc..a3746386dfa 100644 --- a/tests/auto/cplusplus/shared/shared.pro +++ b/tests/auto/cplusplus/shared/shared.pro @@ -3,6 +3,7 @@ TEMPLATE = lib TARGET = CPlusPlusTestSupport CONFIG += static QT = core +DESTDIR = $$PWD -DEFINES += HAVE_QT CPLUSPLUS_WITH_NAMESPACE +DEFINES += CPLUSPLUS_WITH_NAMESPACE include($$PWD/../../../../src/shared/cplusplus/cplusplus.pri) -- GitLab