qmake -project
qmake -spec win32-g++
make
I'm not a make expert, and the compiler part of Codeblocks isn't my field, but I think you forgot to enable the "this is a custom makefile" in your compiler settings. Otherwise, codeblocks generates the makefile, overwriting the one you just made in the pre-build steps.i thought that too, but the makefile was definitely the qt-generated one.
ok, i think, it was my fault. codeblocks somehow used the borland-make instead of gnu-make :shock:
now it works.
nevertheless, i'd like to know why codeblocks behaves this way.:roll: does it change the PATH variable or something?
Code::Blocks doesn't alter your PATH settings, at least not permanently. It adds the current compiler's paths as the first in PATH but this only happens in the Code::Blocks process. It doesn't affect the PATH variable system-wide.that's (more or less) what i meant by "this way".
btw:
is it intended, that the pre-build steps are not executed when the "build method" (compile->compiler options->other) is set to "Work with Makefile" or should i report a bug ?