1
0
Fork 0

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:
James Turner 2017-11-16 10:02:26 +00:00
parent 3b18a3667b
commit fc084f4f1b

View file

@ -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)