Skip to content

Commit 58909a1

Browse files
committedApr 5, 2017
Add install script for editor templates and code style
1 parent a30cf29 commit 58909a1

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed
 

‎editors/QtCreator/install-win.bat‎

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@ECHO OFF
2+
SET CREATOR=%APPDATA%\QtProject\qtcreator
3+
SET WIZARDS=%CREATOR%\templates\wizards
4+
SET CODESTYLES=%CREATOR%\codestyles\cpp
5+
IF NOT EXIST "%WIZARDS%" (
6+
mkdir "%WIZARDS%"
7+
)
8+
9+
IF NOT EXIST "%TEMPLATES%\qgis" (
10+
mklink /J "%TEMPLATES%\qgis" %CD%\templates\wizards\qgis
11+
)
12+
13+
IF NOT EXIST "%CODESTYLES%" (
14+
mkdir "%COESTYLES%"
Code has comments. Press enter to view.
15+
)
16+
17+
IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" (
18+
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml
19+
)
File renamed without changes.

0 commit comments

Comments
 (0)
Please sign in to comment.