Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
iOS: No member named 'fwprintf' in the global namespace; did you mean 'fprintf'?
I have c++ port which is compiling with mac desktop but same when i am compiling for ios device or simulator then i got following pictorials errors. I have tried following ways but i did not see any resolved error.
-->Including path : /usr/include [this default lib path for mac]
--> adding QMAKE_CXXFLAGS with -std=libstdc++, -std=c++0x
from following link.
Please let me know if i am doing wrong. I am newbie with qt with c++.
@Dilip_Patel The correct way to activate C++11 is:
CONFIG += c++11
@jsulm , thanks i have added config but same errors.
What version of Qt are you using ? If greater or equal to 5.7, C++11 is a requirement so there should be no need to modify the CXXFLAGS the way you are.
Hi @SGaist ,
I am using Qt 5.9 with qt creator 4.3.1. More info i have attached as screen shot.
And i have c++14 so added in project file as c++14.
@Dilip_Patel The screen-shot you attached only says which Qt version was used to build Qt, this doesn't mean you're using same version for your app! QtCreator can handle many different Qt version.
You should check the Kit you're using to see which Qt version is really used for your project.
Dilip_Patel last edited by Dilip_Patel
This post is deleted!