qt从5.8.0降到5.5.1或者5.4.2-----给自己mark一下
2017-06-08 09:08
309 查看
1、floor的问题
解决方案:要添加#include <qmath.h>
2、qringbuffer.h里面的remove_pointer的问题:要添加#include <type_traits>,但是报错#error This
file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 参考:http://www.51hei.com/bbs/dpj-26714-1.html
解决方案:在工程文件.pro中添加:QMAKE_CXXFLAGS+=-std=c++0x或者QMAKE_CXXFLAGS += -std=gnu++11
3、因为5.8.0的mingw版本中没有webengine,不能实现地图调用qt的功能,因此想到要换5.8.0的msvc2015版本,但是这个版本的编译器不能编译ffmpeg的dll文件,所以想到降低版本到mingw中有webkit的qt,于是就换到了5.5.1和5.4.2.
解决方案:要添加#include <qmath.h>
2、qringbuffer.h里面的remove_pointer的问题:要添加#include <type_traits>,但是报错#error This
file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options. 参考:http://www.51hei.com/bbs/dpj-26714-1.html
解决方案:在工程文件.pro中添加:QMAKE_CXXFLAGS+=-std=c++0x或者QMAKE_CXXFLAGS += -std=gnu++11
3、因为5.8.0的mingw版本中没有webengine,不能实现地图调用qt的功能,因此想到要换5.8.0的msvc2015版本,但是这个版本的编译器不能编译ffmpeg的dll文件,所以想到降低版本到mingw中有webkit的qt,于是就换到了5.5.1和5.4.2.
相关文章推荐
- 工作3年,也给自己mark一下
- DP模型状态转移方程(mark一下,有天我也要自己总结)
- 关于UGUI的一些小小的拓展,给以后自己Mark一下
- mark:写给自己:开始学习,记录一下,希望自己可以坚持下去
- mark一下,希望自己但有所学,必有所出
- mark一下,今天开始写自己的博客
- 腾讯终于发offer了,mark一下,鼓励自己
- Mark 一下自己折腾Github IO的路途
- 申请加急审核的链接,自己mark一下
- 自己Mark一下,关于new feature of QTP (Reg-Exp)
- 看到一则卖书广告,mark一下(纯粹MARK,方便自己);
- 关于C中自加/减的问题温习,自己mark一下
- 改进卷积神经网络,你需要这14种设计模式(转载自机器之心微信号,mark一下当自己网络训练不好时可以看看)
- VMWARE虚拟机CentOS使用NAT方式连接外网注意事项 自己mark一下
- writeObject可以写n个,但是readObject()却只能读一次,你做一下测试。 如果你需要序列化好几个类的话,建议你用json;或者自己写两个方法,一个是将对象转换为字符串,一个是将字符串
- 自己MARK一下:APACHE中用.htaccess去除单入口路径index.php
- 多target设置实战,自己也这么搞过,这篇写的蛮细的,mark一下吧。
- All Mark一下,自己的错误以及常见问题。
- Mark一下,以提醒自己
- 关于UGUI的一些小小的拓展,给以后自己Mark一下