Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Building Qt Creator on macOS

Building Qt Creator on macOS

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 5 Posters 679 Views 3 Watching
  • 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
    jnkbd
    wrote on last edited by
    #1

    Hi all,

    I'm having problems building qt creator on macOS (mojave). Here's the error.

    xcode-select: error: tool 'actool' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance
    make[2]: *** [/Users/jnkbd/devel/personal/build/src/app/asset_catalog_compiler.Info.plist] Error 1
    make[1]: *** [sub-app-make_first-ordered] Error 2
    make: *** [sub-src-make_first-ordered] Error 2
    

    ...and the full make output.

    https://pastebin.com/PNUqi0Bj

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

      Hi and welcome to devnet,

      Might be a silly question but do you have Xcode installed ?
      If so, which version ?

      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
      1
      • S Offline
        S Offline
        Serjth
        wrote on last edited by
        #3

        I have similiar issue and solve it with command: sudo xcode-select --reset

        1 Reply Last reply
        0
        • StokestackS Offline
          StokestackS Offline
          Stokestack
          wrote on last edited by Stokestack
          #4

          This is still happening.

          Just pulled and built Qt 5.15.0, then Qt Creator.

          make -j just failed with the error message reported here.

          I have Xcode 11.5 installed and working fine. I did xcode-select --reset as suggested above, but this induced a different error:

          /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -Wl,-rpath,@loader_path/../Frameworks,-rpath,@loader_path/../PlugIns -headerpad_max_install_names -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/usr/local/Qt-5.15.0/lib -o ../../bin/Qt\ Creator.app/Contents/MacOS/Qt\ Creator .obj/debug-shared/qtsingleapplication.o .obj/debug-shared/qtlocalpeer.o .obj/debug-shared/qtlockedfile.o .obj/debug-shared/qtlockedfile_unix.o .obj/debug-shared/main.o .obj/debug-shared/crashhandlersetup.o .obj/debug-shared/moc_qtsingleapplication.o .obj/debug-shared/moc_qtlocalpeer.o -F/usr/local/Qt-5.15.0/lib -L/Users/gavin/data/qt-creator-build/bin/Qt\ Creator.app/Contents/Frameworks -lExtensionSystem_debug -lAggregation_debug -lUtils_debug -framework CoreFoundation -framework QtWidgets -framework QtGui -framework AppKit -framework Metal -framework QtConcurrent -framework QtNetwork -framework QtCore -frameworkmake[2]: write error
          make[1]: *** [sub-app-make_first-ordered] Error 1
          make: *** [sub-src-make_first-ordered] Error 2

          Not sure what it's complaining about here, but doing sudo make worked.

          mrjjM 1 Reply Last reply
          0
          • StokestackS Stokestack

            This is still happening.

            Just pulled and built Qt 5.15.0, then Qt Creator.

            make -j just failed with the error message reported here.

            I have Xcode 11.5 installed and working fine. I did xcode-select --reset as suggested above, but this induced a different error:

            /Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -Wl,-rpath,@loader_path/../Frameworks,-rpath,@loader_path/../PlugIns -headerpad_max_install_names -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -Wl,-rpath,@executable_path/../Frameworks -Wl,-rpath,/usr/local/Qt-5.15.0/lib -o ../../bin/Qt\ Creator.app/Contents/MacOS/Qt\ Creator .obj/debug-shared/qtsingleapplication.o .obj/debug-shared/qtlocalpeer.o .obj/debug-shared/qtlockedfile.o .obj/debug-shared/qtlockedfile_unix.o .obj/debug-shared/main.o .obj/debug-shared/crashhandlersetup.o .obj/debug-shared/moc_qtsingleapplication.o .obj/debug-shared/moc_qtlocalpeer.o -F/usr/local/Qt-5.15.0/lib -L/Users/gavin/data/qt-creator-build/bin/Qt\ Creator.app/Contents/Frameworks -lExtensionSystem_debug -lAggregation_debug -lUtils_debug -framework CoreFoundation -framework QtWidgets -framework QtGui -framework AppKit -framework Metal -framework QtConcurrent -framework QtNetwork -framework QtCore -frameworkmake[2]: write error
            make[1]: *** [sub-app-make_first-ordered] Error 1
            make: *** [sub-src-make_first-ordered] Error 2

            Not sure what it's complaining about here, but doing sudo make worked.

            mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by mrjj
            #5

            @Stokestack said in Building Qt Creator on macOS:

            write error

            Hi
            if it then worked with sudo , it just means that your current user didn't have write access to where it wanted to write.

            StokestackS 1 Reply Last reply
            1
            • mrjjM mrjj

              @Stokestack said in Building Qt Creator on macOS:

              write error

              Hi
              if it then worked with sudo , it just means that your current user didn't have write access to where it wanted to write.

              StokestackS Offline
              StokestackS Offline
              Stokestack
              wrote on last edited by
              #6

              @mrjj Indeed, thanks. But given that I was building to the default location, it seems that the documentation should make mention of the likely failure and potentially say to use sudo.

              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