Skip to content

Instantly share code, notes, and snippets.

@id4ehsan
Created April 4, 2018 17:58
Show Gist options
  • Select an option

  • Save id4ehsan/b2f19bf6dacc2f4c6831d5e6466ea4f6 to your computer and use it in GitHub Desktop.

Select an option

Save id4ehsan/b2f19bf6dacc2f4c6831d5e6466ea4f6 to your computer and use it in GitHub Desktop.
zeal compile code
# 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