qt移植相关

http://download.qt.io/archive/qt/


在编译qt的时候遇到以下问题都是因为版本号混乱造成的,建议下载同一版本号的源码进行编译,不要用子模块单独编译已减少出错率。

由于先前的版本是5。5。1后来随意用了一个5。5。0的版本再进行编译相关驱动时出现了好多错误,一个一个解决到最后还是编译不通过,

在此吃了很多苦头,当是涨经验吧。


Makefile:665: recipe for target 'sub-plugins-make_first' failed

make[2]: *** [sub-plugins-make_first] Error 2
make[2]: Leaving directory '/home/ss/Qt5.5.1/5.5/Src/qtbase/src'
Makefile:45: recipe for target 'sub-src-make_first' failed
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory '/home/ss/Qt5.5.1/5.5/Src/qtbase'
Makefile:70: recipe for target 'module-qtbase-make_first' failed

make: *** [module-qtbase-make_first] Error 2



Cannot mix incompatible Qt library (version 0x50500) with this library (version 0x50501)


./configure -release -opensource -xplatform linux-g++-32 -prefix /home/ss/build/qt5.5.1/x86 -no-c++11 -no-xcb


./configure --prefix=/home/ss/build/qt5.5.1/x86 -no-c++11 -no-qml-debug -xplatform linux-g++-32 -qt-freetype -no-opengl -qt-pcre -nomake tests -nomake examples -v


./configure -release -opensource -xplatform linux-g++-32 -prefix /home/ss/build/qt5.5.1/x86 -no-c++11 -no-xcb


recipe for target 'sub-xmlpatterns-make_first' failed

sudo apt-get install dbus


recipe for target 'sub-imageformats-make_first' failed


In file included from inputdeviceintegration/qwaylandinputdeviceintegrationfactory.cpp:36:0:
inputdeviceintegration/qwaylandinputdeviceintegration_p.h:53:85: error: ‘uint32_t’ has not been declared
     virtual QWaylandInputDevice *createInputDevice(QWaylandDisplay *d, int version, uint32_t id) = 0;


  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 8
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 8
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值