Skip to content

Commit

Permalink
Adding a batch file to create a qt.conf file in the bin directory aft…
Browse files Browse the repository at this point in the history
…er you copy files over.
  • Loading branch information
RaymondMitchell-GG committed Feb 12, 2016
1 parent b20058a commit b19c660
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions qt-5/qtbase/SetQtDirectory.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
@ECHO ON
SET _ROOT=%~dp0
REM change into the bin directory
cd bin

REM start writing the qt.conf file
echo [Paths]>qt.conf
REM generate the path changing \ to /
SET CUSTOMQTPATH=%_ROOT:\=/%
REM write to qt.conf to set the prefix to this path
echo Prefix=%CUSTOMQTPATH%>>qt.conf




0 comments on commit b19c660

Please sign in to comment.