Skip to content

Commit dbc7c69

Browse files
committed
Merge pull request #4553
053a6d4 cmake: set Qt 5.12 as minimum (selsta)
2 parents 98ed779 + 053a6d4 commit dbc7c69

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ if(UNIX)
150150
endif()
151151
endif()
152152

153+
set(QT_MIN_VERSION "5.12")
154+
153155
find_package(PkgConfig REQUIRED)
154156

155157
# TODO: drop this once we switch to Qt 5.14+
@@ -165,7 +167,7 @@ if(Qt5XmlPatterns_FOUND)
165167
endif()
166168

167169
foreach(QT5_MODULE ${QT5_LIBRARIES})
168-
find_package(${QT5_MODULE} REQUIRED)
170+
find_package(${QT5_MODULE} ${QT_MIN_VERSION} REQUIRED)
169171
include_directories(${${QT5_MODULE}_INCLUDE_DIRS})
170172
endforeach()
171173

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ Packaging for your favorite distribution would be a welcome contribution!
9494

9595
## Compiling the Monero GUI from source
9696

97-
*Note*: Qt 5.9.7 is the minimum version required to build the GUI.
97+
*Note*: Qt 5.12 is the minimum version required to build the GUI.
9898

9999
*Note*: Official GUI releases use monero-wallet-gui from this process alongside the supporting binaries (monerod, etc) from the [CLI deterministic builds](https://github.com/monero-project/monero/blob/release-v0.18/contrib/gitian/README.md).
100100

0 commit comments

Comments
 (0)