Add a macro to check for Qt >= 5.5

This commit is contained in:
baydam
2016-02-09 12:01:40 +00:00
parent b3065af6ba
commit 18e00e5cbe

View File

@@ -31,7 +31,7 @@ MainWindow::MainWindow()
#if QT_VERSION >= 0x050500
QMessageLogger(__FILE__, __LINE__, 0).info() << "Video support: " << (Media::hasVideoSupport() ? "yes" : "no");
#else
QMessageLogger(__FILE__, __LINE__, 0).debug(); << "Video support: " << (Media::hasVideoSupport() ? "yes" : "no");
QMessageLogger(__FILE__, __LINE__, 0).debug() << "Video support: " << (Media::hasVideoSupport() ? "yes" : "no");
#endif
mappingManager = new MappingManager;