2021-12-16 07:31:14 +03:00
|
|
|
set QT_DIR=C:\Qt\5.15.2\msvc2019_64
|
|
|
|
set Qt5_DIR=%QT_DIR%\lib\cmake\Qt5
|
|
|
|
set PATH=%PATH:C:\cygwin64\bin;=%
|
|
|
|
set PATH=C:\ProgramData\chocolatey\bin;C:\Python310;%QT_DIR%\bin;%PATH%
|
|
|
|
call "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Auxiliary\Build\vcvarsall.bat" x64
|
|
|
|
|
2021-12-16 08:22:30 +03:00
|
|
|
choco install -y 7zip
|
|
|
|
pip uninstall -y aqtinstall && pip install --only-binary :all: aqtinstall && aqt install -E 7z --outputdir C:\Qt 5.15.2 windows desktop win64_msvc2019_64 -m qtcharts qtscript
|
|
|
|
|
2021-12-16 07:31:14 +03:00
|
|
|
dir \
|
|
|
|
dir \Qt\
|
|
|
|
dir \Qt\5.15.2\
|
|
|
|
dir \Qt\5.15.2\msvc2019_64\
|
|
|
|
dir \Qt\5.15.2\msvc2019_64\bin
|
|
|
|
|
2021-12-16 07:31:14 +03:00
|
|
|
REM Build nheko
|
2021-12-23 06:43:51 +03:00
|
|
|
pip install --upgrade --verbose meson || exit /b
|
2021-12-16 07:31:14 +03:00
|
|
|
|
|
|
|
meson setup builddir || exit /b
|
|
|
|
meson compile -C builddir || exit /b
|
2021-12-16 07:31:14 +03:00
|
|
|
|
|
|
|
REM build qt-jdenticon
|
2021-12-16 07:31:14 +03:00
|
|
|
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git || exit /b
|
2021-12-16 07:31:14 +03:00
|
|
|
cd qt-jdenticon
|
2021-12-16 07:31:14 +03:00
|
|
|
qmake || exit /b
|
|
|
|
nmake || exit /b
|
2021-12-16 07:31:14 +03:00
|
|
|
cd ..
|
|
|
|
|