Qt 5.3.0 Source Install Fails, OS X 10.10



  • This is pretty much expected given the stage of the betas, and given that Xcode no longer contains the 10.8 SDK that a lot of things build against but perhaps this readout will be useful to Qt. I have a feeling the issue is probably an upstream one and one that Apple will need to fix, but I could be wrong.

    @
    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-Beta2.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.
    make[6]: *** [.obj/debug/qcocoaapplicationdelegate.o] Error 1
    make[5]: *** [debug-install] Error 2
    make[4]: *** [sub-cocoa-install_subtargets] Error 2
    make[3]: *** [sub-platforms-install_subtargets] Error 2
    make[2]: *** [sub-plugins-install_subtargets] Error 2
    make[1]: *** [sub-src-install_subtargets] Error 2
    make: *** [module-qtbase-install_subtargets] Error 2
    @


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Since you are testing bleeding edge version of OS X and Xcode you'll also have to do the same with Qt i.e. build from git.

    You can also check the "bug report system":http://bugreports.qt-project.org to see if it's something known.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.