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. Install problems on Mac, no qmake at $PATH

Install problems on Mac, no qmake at $PATH

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 4 Posters 13.0k 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.
  • G Offline
    G Offline
    GregEdwds
    wrote on last edited by
    #1

    Hi,

    I recently installed the latest? Qt SDK on to my MacBook (running 10.6.5)
    (qtsdkinstaller-x64-2010-11-24-public.app)
    It was installed into <username>/QtSDK

    To remove the previous version I ran the script,
    uninstall-qtsdk.py from /Developer/Tools
    I assume this was the right thing to do..?

    Inside QtCreator -> Preferences -> Qt4 it lists the qmake location as ‘not found’ for Auto-detect (Qt in PATH)

    Should qmake be in usr/bin? (there's a 'qmake-4.7' but no 'qmake').
    Or was the installer meant to update $PATH with an additional location to find qmake?

    I assume I need to update $PATH, if so, how? and where to?

    Thanks for any help
    Greg

    ps. I’m also having issues with QML finding the stuff, not sure if it’s related?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      In Qt Creator you can manually add your newly installed Qt SDK, just go to preferences / Qt4 and click on the "+"-Button.

      Regarding the path, I don't know if that's right. I never installed the SDK.

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • S Offline
        S Offline
        stukdev
        wrote on last edited by
        #3

        In Windows and Ubuntu qmake in under /pathqt/qt/bin/qmake

        1 Reply Last reply
        0
        • T Offline
          T Offline
          toglia3d
          wrote on last edited by
          #4

          @Volker Something very weird happens with the Qt Creator that you CAN'T select the qmake in the hidden "/usr/bin/" path with the instructions you said.

          In my case I have these two files in /usr/bin
          qmake // <--- This one is an alias of qmake-4.7
          qmake-4.7

          This seems very stupid cause I'm guessing Qt Creator does not want you to pick an alias, an the other executable is not exactly named qmake, so you can't select it either. I had to duplicate the "qmake-4.7" and rename it "qmake" so I could pick the system's qmake.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #5

            You should file a bugreport on "Jira":http://bugreports.qt.nokia.com in this case. Please post back the issue id here, so that others can follow it.

            http://www.catb.org/~esr/faqs/smart-questions.html

            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