C++11 and INCLUDE error in iOS
-
I haven't tried an iOS app yet, but I know when you build a C++11 OSX app, you need a small 'c' on the config line, not a capital C, like this
@CONFIG += c++11@Maybe it's the same problem for iOS apps?
(also see "my blog post":http://www.tripleboot.org/?p=101 about this) -
Hi hskoglund... thanks for answer...
and yes bro, you are right, i have:
@
INCLUDEPATH += ./euler
CONFIG += c++11
@the above example I hade made a mistake typing. sorry for that...
When I compile my app for desktop all is fine, but when I try to compile for iOS device, i get the error number 65...
any other advices ??
thanks
-
Hi,
IIRC, c++11 is not enabled by default on iOS, you would need to build Qt yourself to use it
-
Ty SGaist... for your aclaration !!!
regards
-
SGaist, might be off topic, but you mean c++11 is not enabled for Qt-flavored iOS apps?
Because I can use C++11 things like ranged for loops in my "vanilla" iOS (i.e. built with Xcode) apps without problems... -
I mean that Qt for iOS looks like not configured to use c++11 (i don't know however if it's intentional or not)
-
Ok maybe something for Qt 5.3's wishlist? Anyway, c++11 support is pretty new in Xcode (since Xcode 5.0 I think).
-
At least worth to ask on the interest mailing list
-
If I saw things correctly, the c++11 switch is now enabled (so it should be in for Qt 5.3)
If I understood things correctly it was due to the minimum iOS version supported which will now be iOS 5.0
-
Neat, I should download 5.3 and give it a try.
(It's easy to get tired of those longwinded method names in Objective-C, if Qt can give me 100% C++11 in iOS, that could save my fingers a bit of typing pain :-)