简介

应该是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

posted on 2021-01-10 18:04  HDU李少帅  阅读(7254)  评论(0编辑  收藏  举报