Mercurial > mxe-octave
comparison installer-files/post-install.bat @ 5281:9057112edb8e
* installer-files/post-install.bat: create qt.conf (Bug #57679)
author | John Donoghue |
---|---|
date | Wed, 29 Jan 2020 08:34:50 -0500 |
parents | 302be3cb0135 |
children | 74d9b433846a |
comparison
equal
deleted
inserted
replaced
5280:6a8780aca793 | 5281:9057112edb8e |
---|---|
13 | 13 |
14 if %MSYSTEM%==MSYS ( | 14 if %MSYSTEM%==MSYS ( |
15 set OCTAVE_HOME=%ROOT_DIR% | 15 set OCTAVE_HOME=%ROOT_DIR% |
16 ) else ( | 16 ) else ( |
17 if %MSYSTEM%==MINGW32 ( | 17 if %MSYSTEM%==MINGW32 ( |
18 set OCTAVE_HOME=%ROOT_DIR%\mingw32 | 18 set OCTAVE_HOME=%ROOT_DIR%mingw32 |
19 ) else ( | 19 ) else ( |
20 set OCTAVE_HOME=%ROOT_DIR%\mingw64 | 20 set OCTAVE_HOME=%ROOT_DIR%mingw64 |
21 )) | 21 )) |
22 | 22 |
23 Rem QT subdir path | |
24 IF EXIST "%OCTAVE_HOME%\qt5" ( | |
25 set QT_SUBDIR=qt5/ | |
26 ) ELSE ( | |
27 set QT_SUBDIR= | |
28 ) | |
29 | |
30 Rem Create qt.conf | |
31 set QT_CONF=%OCTAVE_HOME%\bin\qt.conf | |
32 echo [Paths] > %QT_CONF% | |
33 echo Prefix=%OCTAVE_HOME:\=/% >> %QT_CONF% | |
34 echo Documentation=%QT_SUBDIR%doc >> %QT_CONF% | |
35 echo Headers=%QT_SUBDIR%include >> %QT_CONF% | |
36 echo Libraries=%QT_SUBDIR%libs >> %QT_CONF% | |
37 echo Plugins=%QT_SUBDIR%plugins >> %QT_CONF% | |
38 echo Translations=%QT_SUBDIR%translations >> %QT_CONF% | |
23 | 39 |
24 Rem run bash to to regitser the initial envorinment | 40 Rem run bash to to regitser the initial envorinment |
25 echo "Setting up MSYS system ..." | 41 echo "Setting up MSYS system ..." |
26 "%MSYSDIR%\bin\bash.exe" --login -c echo | 42 "%MSYSDIR%\bin\bash.exe" --login -c echo |
27 echo "Updating fc-cache (may take a while) ..." | 43 echo "Updating fc-cache (may take a while) ..." |