Qt 5.6 incompatibility fixed
This commit is contained in:
parent
36001a6fec
commit
5acce30878
@ -50,11 +50,16 @@ const QPlatformIntegration* qskPlatformIntegration()
|
||||
|
||||
bool qskMaybeDesktopPlatform()
|
||||
{
|
||||
#if QT_CONFIG(cursor)
|
||||
// this is what QC2 is doing for menus ?
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK( 5, 15, 0 )
|
||||
#if !QT_CONFIG(cursor)
|
||||
return false;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
if ( const auto platform = QGuiApplicationPrivate::platformIntegration() )
|
||||
return platform->hasCapability( QPlatformIntegration::MultipleWindows );
|
||||
#endif
|
||||
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user