Results 1 to 11 of 11

Thread: where is Qt and qmake installed

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #5
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: where is Qt and qmake installed

    Well, if you use QtCreator from QtSDK then you don't need to do anything. QtCreator will find qmake by itself. But if you need to add additional Qt version then you should go to QtCreator's preferences (cmd + ,), navigate to "Build & Run", select "Qt Versions" tab. Here you can simply add any new versions.

    If you need to use qmake in the console then you have to export path to the qmake into PATH system variable like this:
    export QTDIR=<path_to_qt_folder>
    export PATH=$QTDIR/bin:$PATH
    After that you can simply use qmake in any project's folder to build it.

    Optionally: You'd also, probably, need to install XCode's command line tools to use make and other comman-line tools, but it's only for XCode 4.3 and higher.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  2. The following user says thank you to spirit for this useful post:

    timmu (9th August 2012)

Similar Threads

  1. deermine if Qt is installed
    By GrahamLabdon in forum Newbie
    Replies: 4
    Last Post: 9th November 2010, 13:57
  2. installed languages
    By bhavyasg in forum Qt Programming
    Replies: 1
    Last Post: 17th July 2009, 20:17
  3. How to set permission of installed files via qmake?
    By totycro in forum Installation and Deployment
    Replies: 1
    Last Post: 25th May 2008, 13:33
  4. can i have both qt3 and qt4 installed
    By illuzioner in forum Installation and Deployment
    Replies: 1
    Last Post: 8th June 2007, 08:50
  5. No printer installed..?
    By Cutey in forum Qt Programming
    Replies: 2
    Last Post: 24th February 2007, 11:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.