[Qt-interest] Qmake generates incorrect makefiles for debug_and_release config option

Sergei Stolyarov sergei.stolyarov at regolit.com
Wed Mar 25 09:46:41 CET 2009


On Wednesday 25 March 2009 01:18:55 Sergei Stolyarov wrote:
> Hi,
>
> when .pro file contains option debug_and_release, qmake generates weird
> makefiles. Usually it generates files Makefile, Makefile.Debug and
> Makefile.Release, but in my case it generates Makefile,
> Makefile.DebugDebug, Makefile.DebugRelease, Makefile.ReleaseDebug,
> Makefile.ReleaseRelease.  Because of that behaviour I cannot use
> qtcreator/qt integration for eclipse because command "make release" (or
> "make debug") doesn't work (but commands like "make release-release" are
> working just fine).
>
> I'm using Debian linux (testing+sid), qt version 4.4.3, qmake version
> 2.01a. Most probably the cause of the problem somewhere in the system,
> because on clean installation problem doesn't exist. I also tried qt 4.5.0
> — the same result.
>
> Perhaps someone has already encountered that problem.

Finally have found cause of the problem, there was QMake.conf 
(~/.config/Trolltech/QMake.conf) file with the following content:

[2.01a]
QMAKEFEATURES=./

Just removed it and everything is ok now.

-- 
Best regards
Sergei Stolyarov





More information about the Qt-interest-old mailing list