qtbase-version-check.patch 598 B

1234567891011121314
  1. diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h
  2. index 6e83b78f..6a18cc19 100644
  3. --- a/src/corelib/global/qglobal.h
  4. +++ b/src/corelib/global/qglobal.h
  5. @@ -59,7 +59,7 @@
  6. /*
  7. can be used like #if (QT_VERSION >= QT_VERSION_CHECK(6, 4, 0))
  8. */
  9. -#define QT_VERSION_CHECK(major, minor, patch) ((major<<16)|(minor<<8)|(patch))
  10. +#define QT_VERSION_CHECK(qt_version_check_major, qt_version_check_minor, qt_version_check_patch) ((qt_version_check_major<<16)|(qt_version_check_minor<<8)|(qt_version_check_patch))
  11. #ifdef QT_BOOTSTRAPPED
  12. #include <QtCore/qconfig-bootstrapped.h>