Skip to content

Commit 2ac021b

Browse files
author
Mykola Tryshnivskyy
committed
Update QT version check in main.cc (used when call QT env. batch file on Win32)
1 parent 8cec55c commit 2ac021b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Test/main.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ int main(int argc, char *argv[])
204204
}
205205

206206
#if defined(OS_WIN)
207-
#if (QT_VERSION == QT_VERSION_CHECK(5, 1, 0))
207+
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
208208
system("qtenv2.bat vsvars");
209209
#else //QT_VERSION
210210
system("qtvars.bat vsvars");

0 commit comments

Comments
 (0)