Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
4.8.4, 5.2.0
-
None
-
MacOS
Description
I try to compile a library as framework using Precompiled Header.
Probleme , precompiled header create a directory "ProjectName"
Step latter: building of framework use "ProjectName" as file... but it's a directory already used
CONFIG += precompile_header
PRECOMPILED_HEADER = ../sources/StdAfx.h ####it is a precompiled headear file
FRAMEWORK_HEADERS.version = Versions
FRAMEWORK_HEADERS.files = $$INCLUDE_HEADERS
FRAMEWORK_HEADERS.path = Headers
QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
Build Outptut:
rm: DasHardDevKit: is a directory
make: [DasHardDevKit.framework/DasHardDevKit] Error 1 (ignored)
ld: can't open output file for writing: DasHardDevKit, errno=21 for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [DasHardDevKit.framework/DasHardDevKit] Error 1
08:39:42: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project DevKit (kit: Desktop Qt 5.2.0 clang 64bit)
When executing step 'Make'
WorkArround:
Disable precompiled header seems working
Tested with the both Qt version I have on my machine Qt5.2.0 Qt4.8.4)
Attachments
Issue Links
- duplicates
-
QTBUG-27018 Linux: clang fails to build project if precompile_header turned on
- Reported