aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@qt.io>2018-03-13 15:09:55 +0100
committerChristian Stenger <christian.stenger@qt.io>2018-03-13 14:57:15 +0000
commite7f611cc67503d00ee27ceb7f2f5c50035122cd1 (patch)
tree269e0811ae348cff10ff0364606b67fb3b680286 /src
parenteece1be3168d798a1de43f4fbc732261ea4c4c37 (diff)
Wizards: Fix Qt Unit test wizard
Remove unused define which lead to build errors if the build directory contained white spaces. Task-number: QTCREATORBUG-20047 Change-Id: Ieea4b61d6936479dfcd87714baed0854d4b4ced1 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmakeprojectmanager/wizards/testwizard.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmakeprojectmanager/wizards/testwizard.cpp b/src/plugins/qmakeprojectmanager/wizards/testwizard.cpp
index 3f2ebfc619..a0c4d55306 100644
--- a/src/plugins/qmakeprojectmanager/wizards/testwizard.cpp
+++ b/src/plugins/qmakeprojectmanager/wizards/testwizard.cpp
@@ -171,8 +171,7 @@ Core::GeneratedFiles TestWizard::generateFiles(const QWizard *w, QString *errorM
QtProjectParameters::writeProFileHeader(proStr);
projectParams.writeProFile(proStr);
proStr << "\n\nSOURCES +="
- << " \\\n " << Utils::FileName::fromString(sourceFilePath).fileName()
- << " \n\nDEFINES += SRCDIR=\\\\\\\"$$PWD/\\\\\\\"\n";
+ << " \\\n " << Utils::FileName::fromString(sourceFilePath).fileName();
}
profile.setContents(contents);