Raise minimum version for FGQCanvas to Qt 5.7
Unfortunately QQuickTextNode isn’t exported from the libraries until Qt 5.7, so rendering text directly would be very awkward.
This commit is contained in:
parent
3b18a3667b
commit
fc084f4f1b
1 changed files with 5 additions and 1 deletions
|
@ -36,7 +36,11 @@ if(ENABLE_TRAFFIC)
|
|||
endif()
|
||||
|
||||
if (ENABLE_FGQCANVAS)
|
||||
add_subdirectory(fgqcanvas)
|
||||
if(Qt5Core_VERSION VERSION_EQUAL 5.7 OR Qt5Core_VERSION VERSION_GREATER 5.7)
|
||||
add_subdirectory(fgqcanvas)
|
||||
else()
|
||||
message(WARNING "FGQCanvas enabled, but Qt >= 5.7 is required for this feature")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(ENABLE_DEMCONVERT)
|
||||
|
|
Loading…
Reference in a new issue