Cannot mix incompatible Qt library (version ) with this library (version ) 解决方案


简介

应该是qt的头文件或者库有两个
Cannot mix incompatible Qt library (version ) with this library (version )

解决方案

.bashrc 里面新增 类似下面的东西

QtVersion=5.12.8

QtRoot="/scratch/Qt/${QtVersion}/gcc_64"

export PATH=${QtRoot}/bin:${PATH}
export LD_LIBRARY_PATH=${QtRoot}/lib:${LD_LIBRARY_PATH}

参考链接

https://stackoverflow.com/questions/40372537/cannot-mix-incompatible-qt-library-version-0x50501-with-this-library-version


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM