Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/windows/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
windows vs Qt移植到Mac Qt它找不到“共享\u ptr”。当我添加'CONFIG+=c++11'时,它在qstring.h中找不到'u16string'_C++_Windows_Macos_Qt_Visual Studio 2013 - Fatal编程技术网

windows vs Qt移植到Mac Qt它找不到“共享\u ptr”。当我添加'CONFIG+=c++11'时,它在qstring.h中找不到'u16string'

windows vs Qt移植到Mac Qt它找不到“共享\u ptr”。当我添加'CONFIG+=c++11'时,它在qstring.h中找不到'u16string',c++,windows,macos,qt,visual-studio-2013,C++,Windows,Macos,Qt,Visual Studio 2013,当我将Windows Qt vS项目移植到Mac Qt时,Mac Qt创建者找不到共享的\u ptr,例如左侧的图像 当我添加CONFIG+=c++11等时,Qt创建者在qstring.h中找不到u16string,如右图所示。您的项目中是否需要c++11?请在.pro文件中尝试:QMAKE_CXXFLAGS+=-stdlib=libc++,修改.pro文件后运行QMAKE

当我将Windows Qt vS项目移植到Mac Qt时,Mac Qt创建者找不到共享的\u ptr,例如左侧的图像


当我添加CONFIG+=c++11等时,Qt创建者在qstring.h中找不到u16string,如右图所示。

您的项目中是否需要c++11?请在.pro文件中尝试:QMAKE_CXXFLAGS+=-stdlib=libc++,修改.pro文件后运行QMAKE