mirror of https://code.videolan.org/videolan/vlc
qt: remove obsolete version check in qt.cpp
This commit is contained in:
parent
32acb33e4f
commit
13531ab291
|
@ -792,7 +792,6 @@ static void *Thread( void *obj )
|
|||
Q_INIT_RESOURCE( qtquickshapes_shaders );
|
||||
#endif
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
#ifdef _WIN32
|
||||
// QSysInfo::productVersion() returns "unknown" on Windows 7
|
||||
// RHI Fallback does not seem to work.
|
||||
|
@ -809,7 +808,6 @@ static void *Thread( void *obj )
|
|||
if (dwMajorVersion <= 6 && dwMinorVersion <= 1)
|
||||
QQuickWindow::setGraphicsApi(QSGRendererInterface::OpenGL);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
auto compositor = var_InheritString(p_intf, "qt-compositor");
|
||||
|
|
Loading…
Reference in New Issue