簡介
應該是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}