Important: Please read the Qt Code of Conduct -

Build Qt from source with mac os x statically failed.

  • I tried to build Qt from source, the configure is:
    -prefix /Users/jiangcaiyang/Develop/Qt5.3Static
    -confirm-license -opensource
    -static -release
    -qt-libpng -qt-libjpeg
    -opengl desktop
    -fontconfig -qt-freetype
    -nomake examples -nomake tests
    -skip qtwebkit
    However, when I run make, error occurs: error: cannot initialize a parameter of
    type 'id<NSFileManagerDelegate>' with an lvalue of type
    'NSObject<NSApplicationDelegate> *'
    [NSApp setDelegate:reflectionDelegate];
    /Applications/ 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.

  • Lifetime Qt Champion


    What version of OS X and Xcode are you using ?

  • OS X 10.10 & Xcode 6.0.0 Beta 1 by the looks of that readout.

Log in to reply