diff --git a/gb.qt5/src/main.cpp b/gb.qt5/src/main.cpp index 1b2604334..41d938a58 100644 --- a/gb.qt5/src/main.cpp +++ b/gb.qt5/src/main.cpp @@ -1263,10 +1263,12 @@ int EXPORT GB_INFO(const char *key, void **value) } #endif +#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0) void EXPORT GB_FORK(void) { delete QThreadPool::globalInstance(); } +#endif /*#ifndef NO_X_WINDOW extern Time qt_x_time;