forked from All4Gis/QGISFMV
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QGIS_env_VSC.bat
33 lines (26 loc) · 1.32 KB
/
QGIS_env_VSC.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
REM ***************************************************************************
REM QGIS_env_VSC.bat
REM ---------------------
REM begin : June 2017
REM copyright : (C) 2017 by Fran Raga
REM email : franka1986 at gmail dot com
REM ***************************************************************************
REM * *
REM * This program is free software; you can redistribute it and/or modify *
REM * it under the terms of the GNU General Public License as published by *
REM * the Free Software Foundation; either version 2 of the License, or *
REM * (at your option) any later version. *
REM * *
REM ***************************************************************************
:: QGIS development environment in Visual Studio Code for Windows
set OSGEO4W_ROOT=D:\OSGeo4W64
@echo off
call %OSGEO4W_ROOT%\bin\o4w_env.bat
call qt5_env.bat
call py3_env.bat
set QT_QPA_PLATFORM_PLUGIN_PATH=%OSGEO4W_ROOT%\apps\Qt5\plugins
set PATH=%PATH%;%OSGEO4W_ROOT%\apps\qgis\bin;%OSGEO4W_ROOT%\bin
cd /d %~dp0
SET VSCBIN=D:\Users\fran\AppData\Local\Programs\Microsoft VS Code
call "%VSCBIN%\Code.exe %*