Hi,

>#if QT_VERSION < 0x050800
>#      error "This program requires Qt 5.8 or higher"
>#endif

You can use: 
lessThan(QT_VERSION, 5.8.0): message(This program requires Qt 5.8 or higher)

- Michael.


_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to