Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Build Qt from source with mac os x statically failed.

$
0
0
I tried to build Qt from source, the configure is: ./configure \ -prefix /Users/jiangcaiyang/Develop/Qt5.3Static \ -confirm-license -opensource \ -static -release \ -qt-libpng -qt-libjpeg \ -opengl desktop \ -fontconfig -qt-freetype \ -qt-sql-sqlite \ -no-qml-debug \ -nomake examples -nomake tests \ -skip qtwebkit \ -no-xcb However, when I run make, error occurs: qcocoaapplicationdelegate.mm:127:28: error: cannot initialize a parameter of type ‘id<NSFileManagerDelegate>’ with an lvalue of type ‘NSObject<NSApplicationDelegate> *’ [NSApp setDelegate:reflectionDelegate]; ^~~~~~~~~~~~~~~~~~ /Applications/Xcode6-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:95:47: note: passing argument to parameter ‘delegate’ here @property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 2_0); ^ 1 error generated. I don’t know how to do because I don’t know Objective C. Please help me thanks.

Viewing all articles
Browse latest Browse all 2113

Trending Articles