Results 1 to 2 of 2

Thread: Qt (5.1.0) Application not compiling in Qt Creator 2.7.2

  1. #1
    Join Date
    Apr 2013
    Qt products

    Default Qt (5.1.0) Application not compiling in Qt Creator 2.7.2

    I just downloaded from the qt website and installed it. I had checked the option to install the qt creator also but after installing when I click on the QtCreator icon nothing comes up. So I downloaded qt-creator-linux-x86_64-opensource-2.7.2.bin seperately and installed it. Now it opens. But when I opened New Project the Qt GUI Application option was not available. After browsing through some forums I found out that I had to add some qmake in the Tools->Options->kits. I found a qmake in my <home directory>/Qt5.1.0/5.1.0/gcc_64/bin folder. I added it (but something was wrong, it had a red exclamation and told no compiler can run this code or something like that). But after that Gui application option was available but when I try to compile it says ":-1: error: Qt Creator needs a compiler set up to build. Configure a compiler in the kit options." What should I do?

  2. #2
    Join Date
    Mar 2009
    Brisbane, Australia
    Thanked 1,592 Times in 1,520 Posts
    Qt products
    Qt4 Qt5
    Unix/X11 Windows
    Wiki edits

    Default Re: Qt (5.1.0) Application not compiling in Qt Creator 2.7.2

    Go to where the error message is telling you to go and tell Qt Creator where to find your 64-bit compiler. If you are using a binary Linux distro you may need to install a compiler first ( it would generally be found automatically on the system path )

Similar Threads

  1. Compiling asm file within Qt Creator
    By Jedive in forum Qt Tools
    Replies: 3
    Last Post: 9th July 2017, 18:43
  2. Replies: 3
    Last Post: 17th July 2012, 20:58
  3. Compiling Qt Creator with mingw
    By psykoprof in forum Qt Programming
    Replies: 1
    Last Post: 29th January 2011, 13:21
  4. Replies: 1
    Last Post: 25th December 2010, 07:38
  5. error compiling Qt Creator
    By gt.beta2 in forum Qt Tools
    Replies: 3
    Last Post: 6th April 2009, 14:49

Tags for this Thread


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.