[Qt-interest] release binary looking for debug dll?
Matthias Pospiech
matthias.pospiech at gmx.de
Sun Feb 15 19:35:14 CET 2009
Matthias Pospiech schrieb:
> Matthias Pospiech schrieb:
>
>> I am using QtCreator and .pro Files.
>>
>> The binary created in debug mode works fine.
>> In release mode the binary is 300 times smaller, but is complaining
>> about not found debug dlls.
>>
>> What could have gone wrong?
>>
>>
> I could see with dependancy checker that the qwtd5.dll (debug dll) is
> loaded instead of the release version.
> What would be necessary to have the release version loaded
Somehow the .pro file is read wrong:
debug:LIBS += -Llib/qwt/mingw/debug -lqwtd5
release:LIBS += -Llib/qwt/mingw/release -lqwt5
this should differ between debug and release mode. However it is not. In
the compiler output bot libaries are linked.
Only if I comment the first line it works...
More information about the Qt-interest-old
mailing list