Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P4: Low
-
Resolution: Done
-
Affects Version/s: Qt Creator 4.12.1
-
Fix Version/s: Qt Creator 4.13.0-beta1
-
Component/s: Project & Build Management
-
Labels:None
-
Platform/s:
-
Commits:26d46fc19dccb3b599dcd24f2a3701b7c4e25d2b (qt-creator/qt-creator/master)
Description
Under certain circumstances, Creator will generate duplicate backslashes in .pro files, like so:
SOURCES += \ \ test.cpp
Steps to repeat:
1) Start with a simple .pro file:
SOURCES += \
2) Open the project in Creator (choose any kit)
3) Right-click the "Projects" tree entry of the project, and choose "Add new..."
4) Select "C++ source file" (1st wizard page)
5) Choose a name and keep the preselected location (2nd wizard page)
6) "Finish" keeping default selections (3rd wizard page)
--> Surplus backslash added to .pro file