@ -855,25 +855,17 @@ printf "${OSG_ARCHIVE_NAME}... "
cd $DEPS
echo
# Qt
if [ -z $APPVEYOR ] ; then
printf "Qt 5.15.0... "
else
printf "Qt 5.13 AppVeyor... "
fi
printf "Qt 5.15.2... "
{
if [ $BITS -eq 64 ] ; then
SUFFIX = "_64"
else
SUFFIX = ""
fi
if [ -z $APPVEYOR ] ; then
cd $DEPS_INSTALL
qt_version = "5.15.0"
if [ " win ${ BITS } _msvc ${ MSVC_REAL_YEAR } ${ SUFFIX } " = = "win64_msvc2017_64" ] ; then
echo "This combination of options is known not to work. Falling back to Qt 5.14.2."
qt_version = "5.14.2"
fi
qt_version = "5.15.2"
QT_SDK = " $( real_pwd) /Qt/ ${ qt_version } /msvc ${ MSVC_REAL_YEAR } ${ SUFFIX } "
@ -934,29 +926,6 @@ fi
add_qt_style_dlls $CONFIGURATION " $( pwd ) /plugins/styles/qwindowsvistastyle ${ DLLSUFFIX } .dll "
done
echo Done.
else
# default to msvc2019 which pre-loads Qt 5.15.2
qt_version = "5.15.2"
if [ " msvc ${ MSVC_REAL_YEAR } " = = "msvc2017" ] ; then
qt_version = "5.13"
fi
QT_SDK = " C:/Qt/ ${ qt_version } /msvc ${ MSVC_REAL_YEAR } ${ SUFFIX } "
add_cmake_opts -DQT_QMAKE_EXECUTABLE= " ${ QT_SDK } /bin/qmake.exe " \
-DCMAKE_PREFIX_PATH= " $QT_SDK "
for CONFIGURATION in ${ CONFIGURATIONS [@] } ; do
if [ $CONFIGURATION = = "Debug" ] ; then
DLLSUFFIX = "d"
else
DLLSUFFIX = ""
fi
DIR = $( windowsPathAsUnix " ${ QT_SDK } " )
add_runtime_dlls $CONFIGURATION " ${ DIR } /bin/Qt5 " { Core,Gui,Network,OpenGL,Widgets} ${ DLLSUFFIX } .dll
add_qt_platform_dlls $CONFIGURATION " ${ DIR } /plugins/platforms/qwindows ${ DLLSUFFIX } .dll "
add_qt_style_dlls $CONFIGURATION " ${ DIR } /plugins/styles/qwindowsvistastyle ${ DLLSUFFIX } .dll "
done
echo Done.
fi
}
cd $DEPS
echo