-
-
Save id4ehsan/b2f19bf6dacc2f4c6831d5e6466ea4f6 to your computer and use it in GitHub Desktop.
zeal compile code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Set Qt Install dir | |
| Set-Variable -Name "qt_dir" -Value "C:\Qt\Qt5.10.1" | |
| $env:Path = "${qt_dir}\5.10.1\mingw53_32\bin;${qt_dir}\Tools\mingw53_32\bin;C:\Program Files\WinRAR;$env:Path" | |
| # Put libarchive to mingw path | |
| unrar libarchive-3.2.1-win32-mingw53.7z -o ${qt_dir}\Tools\mingw53_32\i686-w64-mingw32 | |
| # Building sqlite and Put it to mingw path | |
| unrar sqlite-amalgamation-3220000.zip | |
| cd sqlite-amalgamation-3220000 | |
| gcc -c sqlite3.c | |
| ar rcs libsqlite3.a sqlite3.o | |
| cp *.h ${qt_dir}\Tools\mingw53_32\i686-w64-mingw32\include | |
| cp *.a ${qt_dir}\Tools\mingw53_32\i686-w64-mingw32\lib | |
| # Get and building zeal | |
| git clone -q --branch=master https://github.com/zealdocs/zeal.git C:\projects\zeal | |
| qmake -r -spec win32-g++ | |
| mingw32-make |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment