File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,25 +2,30 @@ version: build{build}
22
33environment :
44 matrix :
5- - example : qhexedit
6- name : win32
7- platform : mingw
5+ - QT : C:\Qt\5.12\msvc2017_64
6+ GENERATOR : Visual Studio 15 2017 Win64
7+ PLATFORM : x64
88
99clone_folder : c:\dev\qhexedit
1010clone_depth : 5
1111
1212install :
13- - set QTDIR= C:\Qt\5.11.3\mingw53_32
14- - set PATH=%QTDIR %\bin;C:\Qt\Tools\mingw530_32 \bin;%PATH%;"C:\Program Files (x86)\NSIS" ;%PATH%
13+ - dir C:\Qt
14+ - set PATH=%QT %\bin\ ;C:\Qt\Tools\QtCreator \bin\ ;%PATH%
1515
1616before_build :
17- - cd c:\dev\qhexedit
18- - md build
19- - cd build
17+ - ' %QT%\bin\qtenv2.bat'
18+ - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" %PLATFORM%
19+ - qmake --version
20+ - echo %PLATFORM%
21+ - cd c:\dev\qhexedit
22+ - md build
23+ - cd build
24+ - if "%PLATFORM%" EQU "x64" (qmake -r -spec win32-msvc CONFIG+=x86_64 CONFIG-=debug CONFIG+=release ..\example\qhexedit.pro)
25+ - if "%PLATFORM%" EQU "x86" (qmake -r -spec win32-msvc CONFIG+=Win32 CONFIG-=debug CONFIG+=release ..\example\qhexedit.pro)
2026
2127build_script :
22- - qmake ..\example\qhexedit.pro
23- - mingw32-make
28+ - nmake
2429 - windeployqt.exe release\qhexedit.exe
2530 - makensis ..\deploy.nsi
2631
Original file line number Diff line number Diff line change 11# !define VERSION "0.0.1"
2- !define QT " C:\Qt\5.5\mingw492_32\bin\"
32!define BUILD_DIR " C:\dev\qhexedit\build\release\"
43!define TRANS_DIR " C:\dev\qhexedit\example\translations\"
54!define OUTFILE_NAME " C:\dev\qhexedit\build\QHexEdit.exe"
You can’t perform that action at this time.
0 commit comments