Results 1 to 2 of 2

Thread: Solved: Creator2.5, GC4.7 and nullptr

  1. #1
    Join Date
    Jul 2007
    Posts
    121
    Thanks
    38
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Solved: Creator2.5, GC4.7 and nullptr

    Keep answering my own questions lately

    -std=c++0x worked.

    Thanks.





    I am moving my projects under ubuntu12.4/qtcreator/gcc from windows/VS2010

    Under this new environment I was getting the error about nullptr not being defined. GCC version is 4.6.3, which should support c+11, but I went ahead and installed gc4.7. Then I created "manual toolchain" in qtCreator and pointed it to the new gcc4.7. The error was still there.

    Next, I added following option to my .pro file:
    QMAKE_CXXFLAGS += -std=c++11
    to support c++11 features.

    Now I am getting the error:
    [release/<myprojectname.0>] Error 1
    File not found:

    I'll appreciate any help in setting up the qtCreator environment to support c++11 features.
    Also: what is this error?
    And also: how to change the name of the manual toolchain config? I cloned it from autodetected one and it is now "cloned from...". I'd like to change it to some meaningful one, like "gcc4.7"

    Thanks.
    Last edited by QPlace; 31st May 2012 at 19:21. Reason: solved

  2. #2
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Solved: Creator2.5, GC4.7 and nullptr

    I think you can double click the name field to edit it.

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.