Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt 5.0.0 - enable c++ 11 on Mac OSX

$
0
0
I’m trying to enable c++11 features in my Qt Creator. I Installed version 2.6.1 that came with the Qt 5.0.0 framework on qt-project.org. Everything’s running smoothly and I created various applications up till now without problems in regard to the compiler or Qt Creator. However, if I’m trying to enable c++11, my compiler fails at the make step. I’m trying to set up the following in my .pro file: QMAKE_CXXFLAGS += -std=gnu++0x and I tried the same with QMAKE_CXXFLAGS += -std=c++0x The compiler however parses the pro file and on build stops compiling instantly with the following error: 15:57:41: The process "/usr/bin/make" exited with code 2. Error while building/deploying project Emerald (kit: Desktop Qt 5.0.0 clang 64bit (SDK)) When executing step 'Make' Obviously, the compiler doesn’t like what I did. Any clues why that is the case?

Viewing all articles
Browse latest Browse all 2113

Trending Articles