Mercurial > mxe-octave
changeset 6924:f04699caf98e
Update qt.conf generation when using qt6
* installer-files/post-install.bat,
tools/makeinst-script.sh.in:
: set qt paths to include qt6 when using qt6
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Fri, 13 Oct 2023 07:41:16 -0400 |
parents | c3eff9a45253 |
children | 2d1dfa0d7370 |
files | installer-files/post-install.bat tools/makeinst-script.sh.in |
diffstat | 2 files changed, 14 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/installer-files/post-install.bat Thu Oct 12 20:31:13 2023 +0200 +++ b/installer-files/post-install.bat Fri Oct 13 07:41:16 2023 -0400 @@ -21,10 +21,14 @@ )) Rem QT subdir path -IF EXIST "%OCTAVE_HOME%\qt5" ( - set QT_SUBDIR=qt5/ +IF EXIST "%OCTAVE_HOME%\qt6" ( + set QT_SUBDIR=qt6/ ) ELSE ( - set QT_SUBDIR= + IF EXIST "%OCTAVE_HOME%\qt5" ( + set QT_SUBDIR=qt5/ + ) ELSE ( + set QT_SUBDIR= + ) ) Rem Create qt.conf
--- a/tools/makeinst-script.sh.in Thu Oct 12 20:31:13 2023 +0200 +++ b/tools/makeinst-script.sh.in Fri Oct 13 07:41:16 2023 -0400 @@ -16,10 +16,14 @@ cd `dirname $1` MXEDIR=`cd ..; pwd` -if [ "@ENABLE_QT5@" == "yes" ]; then - QT_SUBDIR=qt5/ +if [ "@ENABLE_QT@" == "4" ]; then + QT_SUBDIR= else - QT_SUBDIR= + if [ "@ENABLE_QT@" == "5" ]; then + QT_SUBDIR=qt5/ + else + QT_SUBDIR=qt6/ + fi fi if [ "@USE_MSYS2@" == "yes" ]; then