Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.4.0
-
None
-
8cea3ec8ce7f4110e849b53e3c97b690a8899dd9
Description
The behaviour of qmake's -o switch differs between Windows vcxproj output and Mac xcodeproj output.
On Windows you must specify the extension:
qmake -tp vc -o foo bar.pro => generates foo (wrong)
qmake -tp vc -o foo.vcxproj bar.pro => generates foo.vcxproj (correct)
On Mac, you must omit the extension:
qmake -spec macx-xcode -o foo bar.pro => foo.xcodeproj (correct)
qmake -spec macx-xcode -o foo.xcodeproj bar.pro => foo.xcodeproj (correct, except... run it again
qmake -spec macx-xcode -o foo.xcodeproj bar.pro => foo.xcodeproj/foo.xcodeproj (wrong!)
Attachments
Issue Links
- is duplicated by
-
QTBUG-47688 Qmake + Subdirs + MSVC
- Closed
-
QTBUG-52099 Xcode generator erroneously adds target names after project.pbxproj filenames
- Closed