Results 1 to 4 of 4

Thread: how to add C++ compiler to QT creator?

  1. #1
    Join Date
    Feb 2014
    Posts
    1
    Qt products
    Qt5
    Platforms
    Unix/X11

    Default how to add C++ compiler to QT creator?

    Hello!


    I have installed the QT creator and I need to compile c++ project. THere are a lot of guides but all them have screenshots where C++ compilers are auto-detected, but in my QT there are nothing about it.

    Couldn't you help me? or just post a good link or smth.

    thanks in advance

  2. #2
    Join Date
    Nov 2012
    Posts
    47
    Thanks
    5
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: how to add C++ compiler to QT creator?

    Fire up QtCreator, go to Tools > Options

    Make sure those settings are correct

  3. #3
    Join Date
    Oct 2012
    Posts
    132
    Thanks
    10
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows Android

    Default Re: how to add C++ compiler to QT creator?

    Which platform and which compiler do you want to use? Normally your compiler should be detected.
    If you are using the VS versions of Qt I think you have to install the Microsoft C++ compiler separately (by installing Visual Studio for example). Or use the MinGW version of Qt instead (here is the compiler included).

  4. #4
    Join Date
    Jan 2009
    Location
    The Netherlands and Spain
    Posts
    150
    Thanks
    6
    Thanked 18 Times in 18 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to add C++ compiler to QT creator?

    On Linux (Debian or Ubuntu) you might do (as root):
    apt-get update
    apt-get install g++

Similar Threads

  1. -1: error: Qt Creator needs a compiler set up to build. -- Solution
    By principedinerezza in forum Installation and Deployment
    Replies: 0
    Last Post: 18th January 2013, 19:28
  2. Replies: 1
    Last Post: 2nd April 2012, 17:13
  3. qt creator and cross compiler
    By RAI32 in forum Newbie
    Replies: 2
    Last Post: 19th January 2012, 08:10
  4. Compiler messages in Qt Creator
    By TorAn in forum Qt Tools
    Replies: 0
    Last Post: 30th June 2010, 04:42
  5. how to set QT Creator to use MSVC++ compiler instead of mingw
    By hcetiner in forum Installation and Deployment
    Replies: 5
    Last Post: 28th March 2010, 19:55

Tags for this Thread

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.