Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
Some future release
-
None
-
Linux, clang 3.1, CONFIG+=precompile_header, PRECOMPILED_HEADER=(filename)
Description
Bug appears on Linux (and probably MacOSX) with any qmake project.
When precomile_header turned on via qmake variable CONFIG, and PRECOMPILED_HEADER variable set, clang creates directory "$targetName" in build dir, and writes "c++.pch" file into it.
On linkage step, ld attemts to write binary file "$targetName" and fails with message "/usr/bin/ld: cannot open output file untitled: Is a directory".
Curious fact: changing qmake variable TARGET doesn't fix problem: in this case clang saves c++.pch into $$OUT_PWS/$$TARGET directory, but TARGET=bin/(appname) will fix.
Attachments
Issue Links
- is duplicated by
-
QTBUG-29008 Precompiled header don't work with Clang 64b on Linux 64b
- Closed
-
QTBUG-39092 Incompatibility between MacOS Framework build and Precompiled Header
- Closed