Skip to content
Permalink
Browse files
Add install script for editor templates and code style
  • Loading branch information
NathanW2 committed Apr 5, 2017
1 parent a30cf29 commit 58909a1c21eab2017b34adabd71f545e0e7911f9
Showing with 19 additions and 0 deletions.
  1. +19 −0 editors/QtCreator/install-win.bat
  2. 0 editors/QtCreator/{qtcreator_code_style.xml → qgis_code_style.xml}
@@ -0,0 +1,19 @@
@ECHO OFF
SET CREATOR=%APPDATA%\QtProject\qtcreator
SET WIZARDS=%CREATOR%\templates\wizards
SET CODESTYLES=%CREATOR%\codestyles\cpp
IF NOT EXIST "%WIZARDS%" (
mkdir "%WIZARDS%"
)

IF NOT EXIST "%TEMPLATES%\qgis" (
mklink /J "%TEMPLATES%\qgis" %CD%\templates\wizards\qgis
)

IF NOT EXIST "%CODESTYLES%" (
mkdir "%COESTYLES%"

This comment has been minimized.

Copy link
@nyalldawson

nyalldawson Apr 6, 2017

Collaborator

typo here - should be CODESTYLES

This comment has been minimized.

Copy link
@NathanW2

NathanW2 Apr 6, 2017

Author Member

Fixed now

)

IF NOT EXIST "%CODESTYLES%\qgis_code_style.xml" (
mklink "%CODESTYLES%\qgis_code_style.xml" %CD%\qgis_code_style.xml
)
File renamed without changes.

0 comments on commit 58909a1

Please sign in to comment.