tests: Move isGammaray() into Platform_qt

This commit is contained in:
Sergio Martins
2022-04-29 15:52:46 +01:00
parent 721d344533
commit fcf02fc8bf
3 changed files with 11 additions and 8 deletions

View File

@@ -186,4 +186,12 @@ void Platform_qt::tests_deinitPlatform_impl()
delete qApp;
}
/*static*/
extern quintptr Q_CORE_EXPORT qtHookData[];
bool Platform_qt::isGammaray()
{
static bool is = qtHookData[3] != 0;
return is;
}
#endif