fix: windows project failed to compile.

This commit is contained in:
Roy Qu 2023-08-17 19:48:55 +08:00
parent 6b2a800d37
commit 3d3e92bfdb
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ void ProjectCompiler::writeMakeDefines(QFile &file)
#endif
if (!objResFile.isEmpty()) {
writeln(file,"RES = " + objResFile2);
writeln(file,"OBJ = " + Objects);
writeln(file,"OBJ = " + Objects + " $(RES)");
writeln(file,"LINKOBJ = " + LinkObjects + " " + objResFile);
#ifdef Q_OS_WIN
writeln(file,"CLEANOBJ = " + cleanObjects +