This is my first learing to QT,I try to do some funny thing to consolidate my learing experiment.
Firstly, we should learn about what should we do.One of the thing is setting a word about its size,color,typeface.Besides,we should put a image into the QT-creater software.Expect of all that,also have layout.
OK,let's go to see how to make a EXE's project by QT.
First,we open the software to creat a Qwight,and we can through code or ui desiger screen to design a layout and beautiful screen to see.
Secondly,we put the image into the software,we creat a resour fille and add prefix,later,we add file(image),remeber,the image please put into the same project folder.
In the bottom-left,We use the "release" and use the hoe to release the EXE file.It often appear in the "build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release"file.
After doing these things,we try to do a packect.We should find a tool come with QT software.The
addressis:
C:\Users\Light\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Qt 5.6.1\5.6\MinGW 4.9.2 (32-bit)
MinGW 4.9.2 (32-bit),it like a produce tool.
We should copy it(.EXE) with a alone floder 'B',use a order :
windeployqt F:\huaqingyuanjian\project\build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release\A\birthday2.exe
(windeployqt+address)
when it appear phenomenno:
Adding Qt5Svg for qsvgicon.dll
Direct dependencies: Qt5Core Qt5Gui Qt5Widgets
All dependencies : Qt5Core Qt5Gui Qt5Widgets
To be deployed : Qt5Core Qt5Gui Qt5Svg Qt5Widgets
Qt5Core.dll is up to date.
Qt5Gui.dll is up to date.
Qt5Svg.dll is up to date.
Qt5Widgets.dll is up to date.
libGLESV2.dll is up to date.
libEGL.dll is up to date.
D3Dcompiler_47.dll is up to date.
opengl32sw.dll is up to date.
libgcc_s_dw2-1.dll is up to date.
libstdc++-6.dll is up to date.
libwinpthread-1.dll is up to date.
Patching Qt5Core.dll...
qsvgicon.dll is up to date.
qdds.dll is up to date.
qgif.dll is up to date.
qicns.dll is up to date.
qico.dll is up to date.
qjpeg.dll is up to date.
qsvg.dll is up to date.
qtga.dll is up to date.
qtiff.dll is up to date.
qwbmp.dll is up to date.
qwebp.dll is up to date.
qwindows.dll is up to date.
Creating qt_ca.qm...
Creating qt_cs.qm...
Creating qt_de.qm...
Creating qt_en.qm...
Creating qt_fi.qm...
Creating qt_fr.qm...
Creating qt_he.qm...
Creating qt_hu.qm...
Creating qt_it.qm...
Creating qt_ja.qm...
Creating qt_ko.qm...
Creating qt_lv.qm...
Creating qt_pl.qm...
Creating qt_ru.qm...
Creating qt_sk.qm...
Creating qt_uk.qm...
F:\huaqingyuanjian\5.6\mingw49_32>windeployqt F:\huaqingyuanjian\project\build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release\B\birthday2.exe
F:\huaqingyuanjian\project\build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release\B\birthday2.exe 32 bit, release executable
Adding Qt5Svg for qsvgicon.dll
Direct dependencies: Qt5Core Qt5Gui Qt5Widgets
All dependencies : Qt5Core Qt5Gui Qt5Widgets
To be deployed : Qt5Core Qt5Gui Qt5Svg Qt5Widgets
Updating Qt5Core.dll.
Updating Qt5Gui.dll.
Updating Qt5Svg.dll.
Updating Qt5Widgets.dll.
Updating libGLESV2.dll.
Updating libEGL.dll.
Updating D3Dcompiler_47.dll.
Updating opengl32sw.dll.
Updating libgcc_s_dw2-1.dll.
Updating libstdc++-6.dll.
Updating libwinpthread-1.dll.
Patching Qt5Core.dll...
Creating directory F:/huaqingyuanjian/project/build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release/B/iconengines.
Updating qsvgicon.dll.
Creating directory F:/huaqingyuanjian/project/build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release/B/imageformats.
Updating qdds.dll.
Updating qgif.dll.
Updating qicns.dll.
Updating qico.dll.
Updating qjpeg.dll.
Updating qsvg.dll.
Updating qtga.dll.
Updating qtiff.dll.
Updating qwbmp.dll.
Updating qwebp.dll.
Creating directory F:/huaqingyuanjian/project/build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release/B/platforms.
Updating qwindows.dll.
Creating F:\huaqingyuanjian\project\build-birthday2-Desktop_Qt_5_6_1_MinGW_32bit-Release\B\translations...
Creating qt_ca.qm...
Creating qt_cs.qm...
Creating qt_de.qm...
Creating qt_en.qm...
Creating qt_fi.qm...
Creating qt_fr.qm...
Creating qt_he.qm...
Creating qt_hu.qm...
Creating qt_it.qm...
Creating qt_ja.qm...
Creating qt_ko.qm...
Creating qt_lv.qm...
Creating qt_pl.qm...
Creating qt_ru.qm...
Creating qt_sk.qm...
Creating qt_uk.qm...
It expresses that is successful.And it will produce so many packect.
After this,we should try to use Enigma Virtual Box software to packed all the packects.We use "browse"to put the file into and use"add" to add floder.Do all these thing,we open the file options to check compress files.
Finally,it will appear a all the pockect on a EXE.The project is completed.