Qt program from linux to windows
I have a qt gui program on ubuntu , I want to create .exe of program for windows,for install qt on windows with MinGW(without visual stadio) ,I see these
link 1,link 2
I confused witch one I should to do??
program of desktop in qt for windows need compile or build??
for create .exe need compile??
You don't need to build the entire library yourself, there are pre-compiled binaries available here: https://www.qt.io/download-open-source/#section-2
to build your project then you'll just need to call the usual
mingw32-makeinstead of just
makeas on linux
you mean I choose Qt Online Installers for windows
, itself download library and MinGW of Qt and Qt creator
- Install the Qt MinGW package (with the MinGW provided)
- Open your project with Qt Creator
- Prepare for deployment. For that use windeployqt
I download QT with MinGW for windows and I build ,run my project in Release mode .exe was make, I added .dll and platform folder to open myproject.exe in other PC it is open and work but with myproject.exe a was black window, why this window was open??how can I open myproject.exe without this window??
Any chance that you have
CONFIG += consolein your .pro file ?
CONFIG += console
Then remove it
Tank you very much!!