Welcome to OStack Knowledge Sharing 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 Answer

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 

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...