mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-27 13:38:49 +03:00
28 lines
850 B
Batchfile
Executable file
28 lines
850 B
Batchfile
Executable file
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
|
|
|
|
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
|
|
|
|
dir \
|
|
dir \Qt\
|
|
dir \Qt\5.15.2\
|
|
dir \Qt\5.15.2\msvc2019_64\
|
|
dir \Qt\5.15.2\msvc2019_64\bin
|
|
|
|
REM Build nheko
|
|
pip install --upgrade meson || exit /b
|
|
|
|
meson setup builddir || exit /b
|
|
meson compile -C builddir || exit /b
|
|
|
|
REM build qt-jdenticon
|
|
git clone https://github.com/Nheko-Reborn/qt-jdenticon.git || exit /b
|
|
cd qt-jdenticon
|
|
qmake || exit /b
|
|
nmake || exit /b
|
|
cd ..
|
|
|