I am working on Qt 4.7.2 on Windows. I created a Makefile, Makefile.Debug and Makefile.Release. However, when I try to use mingw32-make to create an executable, I get the following error:
mingw32-make -f Makefile.Debug all mingw32-make[1]: Entering directory `C:/Qt/4.7.2/src/plugins/sqldrivers/mysql' Makefile.Debug:61: *** missing separator. Stop. mingw32-make[1]: Leaving directory `C:/Qt/4.7.2/src/plugins/sqldrivers/mysql' mingw32-make: *** [debug-all] Error 2
“Missing separator” almost always means that you have a line that should start with a bookmark, which instead begins with a space.
Obviously, this answer is delayed, but I am responsible for his offspring ... it hit me today.
, Qt SDK. : "- win32-g++" configure ( win32-msvc).
"< < 61 Makefile.Debug. , " <". 61, :
mingw32-make[1]: *** [tmp\obj\debug_shared\qsqlmysqld_resource.res] Error 2 mingw32-make[1]: Leaving directory `C:/Qt/4.7.2/src/plugins/sqldrivers/mysql' mingw32-make: *** [debug-all] Error 2
, 61 Makefile.debug, . " " " ". , make make , .
One reason might be, according to William Pursell, that you have spaces representing your prescription lines, but there are many other reasons. You may have forgotten the ":" between the target and the premise, or the "=" in the variable assignment. There are other possibilities.