Unable to release an executable on Linux
-
I'm very new to Qt and I am trying to make a simple button => print ("hello world") application on Linux. I can build and run it just fine in the creator, and when I release it I can see both the release and debug folders. However neither folder has a .exe. They both have a file that has the same name as the project but I can't seem to use it.
Do I need to be checking for certain settings or dependencies?
Thank you!
-
hey both have a file that has the same name as the project
That is the binary (executable). On Linux they don't have .exe suffix.
I can't seem to use it.
You may need to deploy the binaries (with linuxdeployqt, for example), or install Qt system-wide.
-
@Isaac-DeJager hi and welcome to devnet,
That would require cross-compilation which is doable but not easy. The simplest would be to use a virtual machine and build your executable for Windows there.
-
@Isaac-DeJager First match in Google: https://github.com/probonopd/linuxdeployqt