Issue with QT_REQUIRE_VERSION macro has been fixes since Qt 6.6.
This commit is contained in:
parent
6292ce3d8f
commit
88cee6b7a7
|
@ -41,7 +41,7 @@
|
|||
#endif
|
||||
|
||||
// Fix bug in Qt. Deprecation warning in QMessageBox::critical.
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0) && QT_VERSION < QT_VERSION_CHECK(6, 6, 0)
|
||||
#undef QT_REQUIRE_VERSION
|
||||
#define QT_REQUIRE_VERSION(argc, argv, str) \
|
||||
{ \
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
#endif
|
||||
|
||||
// Fix bug in Qt. Deprecation warning in QMessageBox::critical.
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0) && QT_VERSION < QT_VERSION_CHECK(6, 6, 0)
|
||||
#undef QT_REQUIRE_VERSION
|
||||
#define QT_REQUIRE_VERSION(argc, argv, str) \
|
||||
{ \
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#endif
|
||||
|
||||
// Fix bug in Qt. Deprecation warning in QMessageBox::critical.
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0)
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 2, 0) && QT_VERSION < QT_VERSION_CHECK(6, 6, 0)
|
||||
#undef QT_REQUIRE_VERSION
|
||||
#define QT_REQUIRE_VERSION(argc, argv, str) \
|
||||
{ \
|
||||
|
|
Loading…
Reference in New Issue
Block a user