Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. C++11 support in QtCreator
Qt 6.11 is out! See what's new in the release blog

C++11 support in QtCreator

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    bobhairgrove
    wrote on last edited by
    #1

    My QtCreator is version 3.2.0 which was bundled with Qt 5.3.1.
    OS is Linux Ubuntu 12.04 LTS
    g++ is version 4.9.0 (for c++11 features such as std::unique_ptr).

    Everything seems to work OK, but when I add

    @CONFIG += c++11@

    to my .pro file, QtCreator's compile output is showing that it is passing

    @-std=c++0x@

    instead of

    @-std=c++11@

    to the compiler.

    I was wondering why, and if there might be a problem with my setup? The gcc version is newer than the one that ships with this version of Ubuntu.

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      It's the same. "Wiki":http://en.wikipedia.org/wiki/C++11

      157

      1 Reply Last reply
      0
      • B Offline
        B Offline
        bobhairgrove
        wrote on last edited by
        #3

        Thanks for the link ... that is a great reference page!

        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