mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Make sure the version check is compatible with older versions of Qt
This commit is contained in:
parent
6fc6ec1cda
commit
5820b9521e
@ -9,7 +9,7 @@ message(Configuring the pgAdmin 4 runtime.)
|
||||
message(==================================)
|
||||
|
||||
# Check for a suitable Qt version
|
||||
!versionAtLeast(QT_VERSION, 5.0.0) {
|
||||
!greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
error("pgAdmin 4 cannot be built with Qt $${QT_VERSION}. Use Qt 5.0 or newer.")
|
||||
}
|
||||
message(Qt version: $${QT_VERSION})
|
||||
|
Loading…
Reference in New Issue
Block a user