Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Build Qt from source with mac os x statically failed.
QtWS25 Last Chance

Build Qt from source with mac os x statically failed.

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 3 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jiangcaiyang
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      What version of OS X and Xcode are you using ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DomT4
        wrote on last edited by
        #3

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

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved