Skip to content

Commit

Permalink
qmake change minimum Qt version required
Browse files Browse the repository at this point in the history
Changed from recommended (message() written to console) to required
(error() message thrown).

 - renamed to tinyMinReqQt (v6.2 is minimum)
  • Loading branch information
silverqx committed Jun 30, 2024
1 parent f60d18d commit d1e8a1a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion TinyORM.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ TEMPLATE = subdirs

# 16.10/16.11 (1929) - to support #pragma system_header
tinyMinReqMsvc = 19.29
tinyMinReqQt = 6.2
tinyMinReqClangCl = 14.0.3
tinyMinRecClang = 12
tinyMinRecGCC = 10.2
tinyMinRecQt = 6.2
# Unused
#tinyMinRangeV3Version = 0.12.0
#tinyMinTabulateVersion = 1.5.0
Expand Down
8 changes: 4 additions & 4 deletions qmake/features/private/tiny_toolchain_requirement.prf
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ win32-clang-msvc: \
upgrade LLVM." )

!build_pass: \
!versionAtLeast(QT_VERSION, $$tinyMinRecQt): \
message( "Minimum recommended Qt Framework version was not satisfied, recommended\
version >=$${tinyMinRecQt}, your version is $${QT_VERSION}, upgrade\
Qt Framework.")
!versionAtLeast(QT_VERSION, $$tinyMinReqQt): \
error( "Minimum required Qt Framework version was not satisfied, recommended\
version >=$${tinyMinReqQt}, your version is $${QT_VERSION}, upgrade\
Qt Framework.")

!build_pass: \
!win32-clang-msvc:if(gcc|clang) {
Expand Down

0 comments on commit d1e8a1a

Please sign in to comment.