diff --git a/package/qt5/qt5serialbus/Config.in b/package/qt5/qt5serialbus/Config.in index 504141c63f..f5b713dbae 100644 --- a/package/qt5/qt5serialbus/Config.in +++ b/package/qt5/qt5serialbus/Config.in @@ -1,5 +1,6 @@ config BR2_PACKAGE_QT5SERIALBUS bool "qt5serialbus" + depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6 # CAN FD select BR2_PACKAGE_QT5BASE select BR2_PACKAGE_QT5SERIALPORT help @@ -9,3 +10,6 @@ config BR2_PACKAGE_QT5SERIALBUS This package corresponds to the qt5serialbus module. http://qt.io + +comment "qt5serialbus needs headers >= 3.6" + depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_6