Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.4k views
in Technique[技术] by (71.8m points)

qt - Linuxdeployqt, appimage created successfully, doesn't run on double click

i have created an app with the help of following command on terminal

./linuxdeployqt-7-x86_64.AppImage processorder/Process_Orders -unsupported-allow-new-glibc -appimage

An app is generated successfully. But, when i double clikc it or (right click -> run) , nothing happens, I tried to run it using terminal. This is what i got on terminal

./Process_Orders-x86_64.AppImage: symbol lookup error: ./Process_Orders-x86_64.AppImage: undefined symbol: _ZdlPvm, version Qt_5

Can anybody help me deploy the app successfully and run it properly?

question from:https://stackoverflow.com/questions/65849659/linuxdeployqt-appimage-created-successfully-doesnt-run-on-double-click

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

is seem that there are two versions of qt on your computer and you must send to appimage command the true qt address by adding -qmake option to them, like this:

-qmake=/opt/Qt/Qt5.9.1/5.9.1/gcc_64/bin/qmake 

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...