Hello
I am new over here could you tell me please how to generate a .exe file from a qt project in a Fedora Os ???
Hello
I am new over here could you tell me please how to generate a .exe file from a qt project in a Fedora Os ???
Sliver_Twist
Well the project is on fedora Os but i want to generate exe file to import it to the windows Os
Sliver_Twist
Well the project is on fedora Os but i want to generate exe file to import it to the windows Os
Sliver_Twist
See the earlier links about how to set up a cross compiling enviroment if you really want to build Windows executable on a Linux machine. It is generally much easier to just move the Qt project source code to build enviroment on Windows and build it there.
I have tried that before but it didn't worked for me
Sliver_Twist
You better install the same Qt version in windows machine, and open this project in Qt windows and build it. You will get the .exe, decide yourself about static/dynamic linking of libraries and dll's.
i am afraid that this is impossible for my situation because my project uses some libraries that are only included in an OpenSUSE OS
i need to cross compile the project simply but the "API" for windows an mac os are missing from my cross compiler !!
i think that's my problem
Sliver_Twist
If you are building an application for a Windows environment and it needs some library to function then you have to also have a Windows version of that library. That requirement is unchanged by where you are building the Windows application; on a Windows machine or cross-compiling on a Linux machine. Cross compiling for a Windows target will not make a Linux-only library magically work on Windows.
Bookmarks