Qt program from linux to windows
-
wrote on 9 May 2016, 07:33 last edited by isan 5 Sept 2016, 13:57
-
wrote on 9 May 2016, 07:59 last edited by
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
qmake
andmingw32-make
instead of justmake
as on linux -
wrote on 9 May 2016, 14:17 last edited by isan 5 Sept 2016, 14:19
you mean I choose Qt Online Installers for windows
, itself download library and MinGW of Qt and Qt creator -
Hi,
Yes:
- Install the Qt MinGW package (with the MinGW provided)
- Open your project with Qt Creator
- Build/run/test
- Prepare for deployment. For that use windeployqt
-
wrote on 13 May 2016, 10:19 last edited by
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 += console
in your .pro file ? -
wrote on 13 May 2016, 10:41 last edited by
yes,I have
CONFIG += console
-
Then remove it
-
wrote on 13 May 2016, 18:22 last edited by
Tank you very much!!
1/9