Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Deploying qt creator project on linux - various problems
Ahsan Niaz last edited by
Hi, I am trying to deploy my qt application on Linux
I have downloaded linuxdeployqt-7-x86_64 from github
I have followed the following steps
Created a new folder named (deploy-with-linuxdeployqt), placed my qt app(Process_Orders) inside this folder. Then, placed an image file for icon, and a .desktop file as well.
Desktop file looks like this
Comment=Edit this default file
After all this, my downloads folder has github downloaded file
I cd to Downloads and run the following command
It gave me the error that system is too new
Then I added (-unsupported-allow-new-glibc) in the command, and it gave me this output
linuxdeployqt 6 (commit d41e234), build 724 built on 2020-07-31 15:51:47 UTC
WARNING: Not checking glibc on the host system.
The resulting AppDir or AppImage may not run on older systems.
This mode is unsupported and discouraged.
For more information, please see
Not using FHS-like mode
WARNING: Plugin "/home/kaleem/anaconda3/plugins/platformthemes/libqgtk2.so" not found, skipping
WARNING: Plugin "/home/kaleem/anaconda3/plugins/styles/libqgtk2style.so" not found, skipping
I want to create an executable file , when I double click it, it should run just like it ran perfectly in qt creator
Can somebody help me out?
I want to create an executable file
Executable file is created when you build your project, not when you deploy. If you deploy you get a directory containing your executable and all needed libraries. I don't see any errors in the output you posted. So, you should now have a directory with your executable and needed libs/plugins.