qt: remove obsolete version check in qt.cpp

This commit is contained in:
Fatih Uzunoglu 2024-04-05 15:21:05 +03:00 committed by Steve Lhomme
parent 32acb33e4f
commit 13531ab291
1 changed files with 0 additions and 2 deletions

View File

@ -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");