mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-17 20:44:38 +03:00
minor refactor
This commit is contained in:
11
3rdparty/fix_old_qt.h
vendored
Normal file
11
3rdparty/fix_old_qt.h
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include <QString>
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 10, 0)
|
||||
|
||||
inline QString qEnvironmentVariable(const char *varName) {
|
||||
return qgetenv(varName);
|
||||
}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user