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. Solved: installing 4.8.4 libraries on MacOS
Forum Updated to NodeBB v4.3 + New Features

Solved: installing 4.8.4 libraries on MacOS

Scheduled Pinned Locked Moved Installation and Deployment
24 Posts 6 Posters 10.9k 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #9

    Well, that presents a problem of its own: Creator won't let me into the /usr directory (probably because it's invisible). I created an alias, but the Qt Versions ->Add... dialog evidently won't accept an alias.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #10

      :( Symlink will work perhaps?

      This is bad. I'm sure there was another qmake somewhere else, but as said - can't check now, I've only got a Mac machine at work (luckily ;) ). Or we are back at compiling from source.

      (Z(:^

      1 Reply Last reply
      0
      • mzimmersM Offline
        mzimmersM Offline
        mzimmers
        wrote on last edited by
        #11

        Using the link did seem to work. I modified my default kit to run with the 4.8.4 libraries and didn't get any complaints.

        Thanks for the help. I do look forward for the day when the Mac OS architecture doesn't require the Qt installer to be so cumbersome.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #12

          Good to hear that. Per aspera ad astra, as they say :)

          (Z(:^

          1 Reply Last reply
          0
          • H Offline
            H Offline
            hmariod
            wrote on last edited by
            #13

            Same problem, but I don't realize how do you solve.
            Could you explain for me?
            Thank you.

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

              Hi and welcome to devnet,

              If you need to get qmake from /usr/bin:

              • Do as before (click on choose)
              • Go to Macintosh HD
              • Presss CMD + SHIFT + .

              That will temporarily show hidden folders. Then you can access /usr

              Hope it helps

              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
              • H Offline
                H Offline
                hmariod
                wrote on last edited by
                #15

                SGaist,
                Thank you very much!!!
                You are my hero.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  vwcc
                  wrote on last edited by
                  #16

                  Hi I have the same problem here:

                  I followed the suggestion there and indeed find that there is /usr/bin/qmake and it is indeed "Using Qt version 4.8.5 in /Library/Frameworks"

                  Following the SGaist's advice I use the command+shift+. to reveal hidden files.

                  Now I can see both qmake under /usr/bin BUT it is greyed out and I just CANNOT select it.

                  Can someone help?

                  1 Reply Last reply
                  0
                  • V Offline
                    V Offline
                    vwcc
                    wrote on last edited by
                    #17

                    Hi I have the same problem here:

                    I followed the suggestion there and indeed find that there is /usr/bin/qmake and it is indeed "Using Qt version 4.8.x in /Library/Frameworks"

                    Following the SGaist's advice I use the command+shift+. to reveal hidden files.

                    Now I can see both qmake under /usr/bin BUT it is greyed out and I just CANNOT select it.

                    Can someone help?

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

                      What version of Qt Creator 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
                      • A Offline
                        A Offline
                        afifer
                        wrote on last edited by
                        #19

                        Not the same person, but I have the same issue with usr/bin/qmake being greyed out. I'm using Qt Creator 3.0.1.

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

                          Are you sure that /usr/bin/qmake is not a symbolic link that points to nowhere ?

                          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
                          • A Offline
                            A Offline
                            afifer
                            wrote on last edited by
                            #21

                            Just got it working actually, it was an ownership issue. Changing it with "sudo chown" in terminal got it fixed:

                            cd usr/bin
                            sudo chown [username] qmake

                            Thanks!

                            Edit: Wow nope, spoke too soon. Once I changed the ownership, the Qt version automatically showed up under "Manual" so I thought everything was good. I changed tabs to add the version to my kit but it wouldn't show up in the drop-down menu. I closed the Preferences window (I didn't hit "apply") and reopened it, now the Qt version is gone and it's still greyed out when I try to select it.

                            1 Reply Last reply
                            0
                            • V Offline
                              V Offline
                              vwcc
                              wrote on last edited by
                              #22

                              I managed to finally load qmake but in a rather roundabout way.

                              I followed an earlier suggest and made an alias for qmake on my documents folder using Symlink.

                              ln -s /usr/bin/qmake Documents/qmake

                              But I also saw this alias qmake as greyed out.

                              I then reinstalled the Qt5 binary package that includes Qt Creator and Qt 5 library (I earlier uninstalled this in preparation for installing the 4.8.5 library and Creator separately).

                              I choose Preference>Qt Version and choose Add.

                              I could now see the alias qmake which I selected.

                              I uninstalled the QtCreator+Qt 5 combo.

                              I started the Qt Creator installed earlier on a separate dir. I could now see the alias qmake as not greyed out. But the actual qmake as revealed by command+shift+. was still greyed out.

                              Now I have successfully installed Qt 4.8.5

                              This is a rather round about way and I am sure I must have turned on something by accident which could have been got at by a much shorter. But nonetheless this is how I got it working.

                              I wish it could be a lot less painful

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

                                Glad you succeeded but it's indeed pretty convoluted...

                                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
                                • A Offline
                                  A Offline
                                  afifer
                                  wrote on last edited by
                                  #24

                                  Thanks vwcc, I uninstalled and reinstalled everything and now it works.

                                  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