1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-29 03:09:14 -05:00

Windows build: upgrade to Qt 5.13.2

This commit is contained in:
f4exb 2020-11-03 23:44:13 +01:00
parent 3567468023
commit b67705a625

View File

@ -4,10 +4,10 @@ IF(MSVC)
# look for user-registry pointing to qtcreator
GET_FILENAME_COMPONENT(QT_BIN [HKEY_CURRENT_USER\\Software\\Classes\\Applications\\QtProject.QtCreator.pro\\shell\\Open\\Command] PATH)
# get root path so we can search for 5.3, 5.4, 5.5, etc
# get root path so we can search for 5.10, 5.11, 5.12, etc
STRING(REPLACE "/Tools" ";" QT_BIN "${QT_BIN}")
LIST(GET QT_BIN 0 QT_BIN)
FILE(GLOB QT_VERSIONS "${QT_BIN}/5.*")
FILE(GLOB QT_VERSIONS "${QT_BIN}/5.1*")
LIST(SORT QT_VERSIONS)
# assume the latest version will be last alphabetically