37 lines
661 B
Batchfile
37 lines
661 B
Batchfile
|
|
|
|
@ECHO OFF
|
|
|
|
set OSGEO4W_ROOT=C:\OSGeo4W64
|
|
|
|
set PATH=%OSGEO4W_ROOT%\bin;%PATH%
|
|
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\qgis\bin
|
|
|
|
@echo off
|
|
call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
|
|
call "%OSGEO4W_ROOT%\bin\qt5_env.bat"
|
|
call "%OSGEO4W_ROOT%\bin\py3_env.bat"
|
|
@echo off
|
|
path %OSGEO4W_ROOT%\apps\qgis-dev\bin;%OSGEO4W_ROOT%\apps\grass\grass-7.2.2\lib;%OSGEO4W_ROOT%\apps\grass\grass-7.2.2\bin;%PATH%
|
|
|
|
cd /d %~dp0
|
|
pause
|
|
@ECHO ON
|
|
::Ui Compilation
|
|
REM call pyuic5 dialog.ui -o gui\generated\ui_dialog.py
|
|
|
|
::Resources
|
|
call pyrcc5 resources.qrc -o resources.py
|
|
|
|
@ECHO OFF
|
|
GOTO END
|
|
pause
|
|
:ERROR
|
|
echo "Failed!"
|
|
set ERRORLEVEL=%ERRORLEVEL%
|
|
pause
|
|
|
|
:END
|
|
@ECHO ON
|
|
|