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. INSTALLING ON MAC 10.6.8
Forum Updated to NodeBB v4.3 + New Features

INSTALLING ON MAC 10.6.8

Scheduled Pinned Locked Moved Installation and Deployment
26 Posts 4 Posters 10.8k Views 1 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
    jimphillips
    wrote on last edited by
    #17

    I think I did a full install of Xcode. How do I check for command line tools?

    1 Reply Last reply
    0
    • hskoglundH Offline
      hskoglundH Offline
      hskoglund
      wrote on last edited by
      #18

      Easiest might be just to install them anyway:
      Inside Xcode, Preferences Downloads, look in "more downloads", log in to Apple and choose "Command line tools for Xcode".

      Also start a Terminal and type install_name_tool to see that it starts ok.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jimphillips
        wrote on last edited by
        #19

        I don't see command line tools for Xcode under preferences: downloads tab.
        install_name_tool appears to be there. I get the following in the Terminal:

        MacMini:~ jdp$ install_name_tool
        Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input

        1 Reply Last reply
        0
        • hskoglundH Offline
          hskoglundH Offline
          hskoglund
          wrote on last edited by
          #20

          install_name_tool ok, good.
          About command line tools for Xcode 4.2, it seems there is no separate package for it, sorry! They're supposed to be installed together with Xcode, and should be installed at /Developer/usr/bin or /usr/bin.

          1 Reply Last reply
          0
          • J Offline
            J Offline
            jimphillips
            wrote on last edited by
            #21

            They appear to be at /Developer/usr/bin.

            What does this have to do with Qt?

            1 Reply Last reply
            0
            • hskoglundH Offline
              hskoglundH Offline
              hskoglund
              wrote on last edited by
              #22

              Qt needs a compiler and a toolchain, for Macs that's Xcode and the other tools.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jimphillips
                wrote on last edited by
                #23

                I think all that stuff is there. So Qt has a bad path from the installer?

                Can I point it at the compiler and tool chain manually somehow?

                1 Reply Last reply
                0
                • hskoglundH Offline
                  hskoglundH Offline
                  hskoglund
                  wrote on last edited by
                  #24

                  Yeah, go inside QtCreator, Preferences, Build & Run, select the Kits tab. Under Auto-detected you should see "Desktop Qt 5.2.1 clang 64bit".
                  Check that the Compiler field is set, otherwise click Manage...

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    jimphillips
                    wrote on last edited by
                    #25

                    This totally did not work . I tried setting the compiler and the version.

                    I finally uninstalled 5.2.1 and Qt Creator 3.0.1. I then installed Qt 4.8.5, Qt Debug Libraries 4.8.5, and Qt Creator 2.8.1. I had to go to archives to find Qt Creator 2.8.1. It did not work out of the box.

                    I had to do the following:

                    Launch Qt Creator 2.8.1 .
                    Select Qt Creator-> Preferences, then Build & Run tab.
                    Select Qt Versions tab.
                    Select qmake location: Choose...
                    Navigate from the Applications folder to /Developer/Tools/Qt/qmake
                    Select the Kits tab.
                    Select Clang 64bit.
                    Select Qt Version: Manage ...
                    Select Qt 4.8.5.
                    Repeat the last 3 steps for GCC 64bit.
                    I think I may have had to select "Auto-detect" on the debugger.

                    Why doesn't Qt Creator know or find where qmake is?

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

                      Because there is no single place for qmake especially if you have several version Qt installed (e.g. Qt 5, Qt 4, Qt for Android etc…)

                      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

                      • Login

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