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 11.4k 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.
  • hskoglundH Offline
    hskoglundH Offline
    hskoglund
    wrote on last edited by
    #2

    It's tricky with 10.6.8. You sure you cannot upgrade to Mountain Lion or Mavericks?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      GreyJay
      wrote on last edited by
      #3

      Hi hsk...
      I'm working on a company computer, and I'm not sure if they want to upgrade this machine...apparently they are experiencing issues with Mountain Lion and Mavricks...

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

        Hi and welcome to devnet,

        What version of Xcode have you installed ?

        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
        • G Offline
          G Offline
          GreyJay
          wrote on last edited by
          #5

          Thanks devnet.

          I'm running Version 3.2.6 (1761)

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

            A bit old…

            Also, can you show an example to the error message you got while installing ?

            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
            • G Offline
              G Offline
              GreyJay
              wrote on last edited by
              #7

              Certainly...

              The component installation dialog box:
              !http://engineeredvisions.com/qt/Components.gif!

              The error during installation:
              !http://engineeredvisions.com/qt/Error.gif!

              And the error when doing the first run/execution:
              !http://engineeredvisions.com/qt/GoToError.gif!

              Should I upgrade my Xcode immediately?

              Thanks again,

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

                Just remembered something: installing 5.2 and onward might have been dropped for 10.6 (however you can still create application that will run on 10.6)

                What you can do if you can't update your OS, is to build Qt 5.2 directly on 10.6, AFAIK that is still supported.

                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
                • G Offline
                  G Offline
                  GreyJay
                  wrote on last edited by
                  #9

                  SGait,
                  Which older version should I install, if 5.2 is not accepted on my system? - J

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

                    IIRC the latest in the 5.1 series

                    But you should really consider building 5.2, it's not really that hard on OS X and depending on your needs, you don't have to build every module

                    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
                    • G Offline
                      G Offline
                      GreyJay
                      wrote on last edited by
                      #11

                      I'd love to, SGaist. I just can get past these errors during installation and run :(

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

                        Then just download Qt Creator, and the 5.2.1 sources from there you should be able to build Qt and use it in Qt Creator (after the usual configuration steps for add a new Qt 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
                        0
                        • J Offline
                          J Offline
                          jimphillips
                          wrote on last edited by
                          #13

                          I get the same error doing a vanilla install on 10.6.8 . :

                          Error during installation process (qt.521.clang_64.essentials):
                          Command install_name_tool failed.
                          Arguments: -id /Users/jdp/Qt5.2.1/5.2.1/clang_64/lib/QtHelp.framework/Versions/5/QtHelp /Users/jdp/Qt5.2.1/5.2.1/clang_64/lib/QtHelp.framework/Versions/5/QtHelp
                          Output:

                          This happens twice. I ignore it and the app installs.

                          There are no example projects available from the GUI.

                          I am able to create a new project. Whenever I do anything, I get:

                          :-1: error: The Qt version is invalid: Qt version is not properly installed, please run make install

                          This is not a very helpful message. I did not download the source.

                          Hey guys, this really should work out of the box. If this version does not work for 10.6.8, you should state that somewhere; usually there is a system requirements link. I couldn't find one on your site.

                          For the record, Lion and Mountain Lion don't support multiple monitors very well and I'm not ready for Mavericks.

                          Please explain how to get this working.
                          --Jim

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

                            Update your Xcode to 4.2 (it's free) it works on Snow Leopard 10.6.8.
                            I think Xcode 3.2.6 prefers gcc compiler, but Qt prefers clang.
                            Xcode 4.2 has a much better clang support.

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

                              Thanks for the quick reply.

                              I am using Xcode 4.2. Why does this matter? Is Qt using Xcode somehow?

                              What about the "install_name_tool failed" message? Isn't that a bug in the Qt installer? Could that explain the "Qt version is invalid" problem? Or are these two separate problems?
                              --Jim

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

                                Aha, sorry I thought you were still using Xcode 3.2.6 (1761).
                                Also check that you have installed the command line tools for Xcode.

                                1 Reply Last reply
                                0
                                • 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

                                          • Login

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