Porting App from Qt 4.8 to Qt 5.3 getting “ DSO missing from command line”

时光总嘲笑我的痴心妄想 提交于 2020-01-05 09:31:45

问题


I built this project on qt 4.8 ubuntu 12.04(working) and now building it on qt 5.3 ubuntu 14.04 . I am getting following error while compiling

 error: mainwindow.o: undefined reference to symbol     
 '_ZN12QtConcurrent16ThreadEngineBase16setProgressValueEi'
 error: error adding symbols: DSO missing from command line
 /usr/lib/x86_64-linux-gnu/libQtCore.so.4:

.pro file

QT += serialport
 QT += widgets
 QT += network
 QT += core
 ...
 ...
 LIBS += "/usr/lib/x86_64-linux-gnu/libqjson.so.0"

no Idea what to do .. has any one came across this problem before.

来源:https://stackoverflow.com/questions/26376587/porting-app-from-qt-4-8-to-qt-5-3-getting-dso-missing-from-command-line

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!