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. Are you kidding? You have to install Xcode in order to install Qt?

Are you kidding? You have to install Xcode in order to install Qt?

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 2.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.
  • R Offline
    R Offline
    Rennie Allen
    wrote on last edited by
    #1

    I am sitting in the installer at the point where it is asking me to install Xcode.

    Are you serious that I have to install a completely unneccessary 5GB on my Macbook Pro just so I can then not use any of it?

    I want to use clang 6.0 to cross compile to Windows targets from my Mac and it appears that although I can do this fine right now without Xcode, I can't avoid installing Xcode in order to install Qt.

    I am simply trying to support a customer (for our product which is linked into the same executable) who's a very large Qt commercial licensee.

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

      Hi
      Im not familiar with the online installer for mac. Sounds odd if you cant skip it.
      Alternatively, you might skip by using the binary directly
      https://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-mac-x64-5.10.1.dmg

      That said, unless you are a cross compiling wizard, its often far faster to install a win X in parallels
      and build and test in a virtual machine.

      R 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        Im not familiar with the online installer for mac. Sounds odd if you cant skip it.
        Alternatively, you might skip by using the binary directly
        https://download.qt.io/official_releases/qt/5.10/5.10.1/qt-opensource-mac-x64-5.10.1.dmg

        That said, unless you are a cross compiling wizard, its often far faster to install a win X in parallels
        and build and test in a virtual machine.

        R Offline
        R Offline
        Rennie Allen
        wrote on last edited by
        #3

        @mrjj Thanks for the link to the binary, that looks like what I need. FYI I am cross compiling because I want access to clang's thinlto and parallel linking which would be a pain to get working on Windows. It does not allow me to skip, and yes I do find it less than desirable that a library installer would force the installation of a specific toolchain, particularly a very large one like Xcode.0_1521736547929_Screen Shot 2018-03-22 at 9.35.17 AM.png

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi
          Ok, so you need features from clang. Makes sense then.
          So even the offline installer demands you first install Xcode before you can press continue ?

          1 Reply Last reply
          0
          • mrjjM Offline
            mrjjM Offline
            mrjj
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi
            I wonder if this would work ?
            https://gist.github.com/shoogle/750a330c851bd1a924dfe1346b0b4a08
            (Qt without Xcode)
            Sorry im macOS noob so maybe others have better suggestions :)

            1 Reply Last reply
            2
            • J.HilkJ Offline
              J.HilkJ Offline
              J.Hilk
              Moderators
              wrote on last edited by
              #6

              If i remember correctly, you don‘t need the total of Xcode, the xcode command line tools should be enough


              Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


              Q: What's that?
              A: It's blue light.
              Q: What does it do?
              A: It turns blue.

              1 Reply Last reply
              3
              • R Offline
                R Offline
                Rennie Allen
                wrote on last edited by
                #7

                So to wrap this up, the link that mrjj provided allowed me to skip the Xcode installation, so I am good to go. Thanks to all who replied and this is solved.

                1 Reply Last reply
                2

                • Login

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