
Originally Posted by
jacek
What is the value of the TARGET variable in your .pro file? If it isn't set, what is the name of the .pro file?
Doesn't matter, i have the same error for every makefile generated by qmake, i found that
FORCE: is an empty target used to force something to be build even if there's no dependencies so it shall be empty definition.
It is in deed in generated makefiles' but i suppose that problem might be in missing tab & newline after FORCE: - some make's are sensitive for tabs instead of spaces etc., i think make is one of them.
What about all of those magic macros Qt needs?
What macros?
DO you mean those defines at the beginning
-DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
-DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN
To copy to clipboard, switch view to plain text mode
, i've copied them from first makefile found in qt's exapmles & worked fine.
Those are always the same view defines(& view more depending on used modules -DQT_*_LIB) so it's not much work.
I thought that maybe custom makefie that would have defined only qmake -project; qmake &make on newly generated makefile would solve the problem if we would find what's wrong with FORCE error... can anyone check is this common problem on mingw or just mine?
Oh, one more thing : make sure to not use --short-double or --expensive-optimizations because using one of them causes QPainter::drawPixmap()/drawImage() stops working... it's really strange but i've checked it several times & it really happens.
Bookmarks