Fix wxGrid tests compilation with wxQt Include the header defining QT_VERSION before using it. This should have been part of ea4c83dc7f (Ignore failure of wxGrid column width test with wxQt5, 2025-08-30).
... | ... | @@ -26,6 +26,10 @@ |
26 | 26 | #include "wx/stopwatch.h"
|
27 | 27 | #endif // __WXGTK__
|
28 | 28 | |
29 | +#ifdef __WXQT__
|
|
30 | + #include <QtGlobal> // QT_VERSION and QT_VERSION_CHECK
|
|
31 | +#endif
|
|
32 | + |
|
29 | 33 | #include "waitfor.h"
|
30 | 34 | |
31 | 35 | #include <memory>
|
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help