Results 1 to 4 of 4

Thread: Unable to create/open qmake project under MacOS X

  1. #1
    Join Date
    Sep 2009
    Location
    Poland, Cracow
    Posts
    34
    Thanks
    2
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Unable to create/open qmake project under MacOS X

    I've just installed Qt and QtCreator on my Mavericks and I'm unable to open my qmake project (the .pro file).

    In the "New project" dialog I'm also unable to create Qt project:
    dNz7V.jpg

    The environment was detected correctly (xcode clang):


    I remember having the same problem when I tried QtCreator under Windows XP and I was told that it was too old system and is not officially supported, so I switched to Windows 7 and that was the solution.

    Here I'm running pretty recent MacOS X, so what can it be? Is it "too recent"?

  2. #2
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Unable to create/open qmake project under MacOS X

    I just installed Qt5.3.1 on Lion 10.7.3

    1. did you install CommandLineTools for Xcode 1st?
    2. then Xcode what ever version for your Mac OS X version
    3. trick for me was after opening the dmg, copy the Xcode to /Applications directory, then installing.
    4. had to do step 3, to get below to work in terminal....
    Qt Code:
    1. sudo /usr/bin/xcode-select -switch /Applications/Xcode.app/Contents/Developer
    To copy to clipboard, switch view to plain text mode 
    5. Install Qt of course, I chose all the packages
    6. then in .pro file I had to add
    Qt Code:
    1. QMAKE_MAC_SDK = macosx10.7
    To copy to clipboard, switch view to plain text mode 

    sounds dumb but I also had to update my ITunes (don't know or want to know why)
    I also had to play around with different versions of Xcode all of which "should've" worked, but took 3 installs till I had the exact one I needed.

    this link is a big help
    http://en.wikipedia.org/wiki/Xcode

    hope you solve your issue

  3. #3
    Join Date
    Sep 2009
    Location
    Poland, Cracow
    Posts
    34
    Thanks
    2
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Unable to create/open qmake project under MacOS X

    Thanks for the reply!
    I did all the steps you mentioned, but it was not working anyway. Then I looked into QtCreator plugins ("About Plugins" in the menubar) and I noticed that qmake support is a plugin. It was loaded but I also double clicked on it and I noticed that it depends on some Qml plugin, which was not loaded. I loaded it and everything started to work

    Thanks anyway!

  4. #4
    Join Date
    Mar 2010
    Posts
    86
    Thanks
    11
    Thanked 7 Times in 4 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Unable to create/open qmake project under MacOS X

    Installing all the packages also includes all the plugins. Glad you didn't give up.

Similar Threads

  1. Replies: 0
    Last Post: 14th September 2011, 03:59
  2. Visual Studio 2010 Add-In - unable to create project
    By garaddon in forum Installation and Deployment
    Replies: 2
    Last Post: 1st January 2011, 12:40
  3. Unable to use Qt with Ruby on MacOS
    By Micro in forum Newbie
    Replies: 1
    Last Post: 25th October 2010, 10:03
  4. making qmake create VisualStudio console app project file?
    By akos.maroy in forum Qt Programming
    Replies: 2
    Last Post: 18th August 2008, 15:45
  5. Create Qt Application Bundle in MacOs
    By joy in forum Installation and Deployment
    Replies: 2
    Last Post: 25th February 2008, 19:06

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.