[Qt-interest] qmake prl files on MinGW not working as expected

Michael Karcher qt-interest at mkarcher.dialup.fu-berlin.de
Mon Jun 1 01:55:44 CEST 2009


Hello,

qmake on MinGW (and any other makefile based windows platform) has a
problem with link_prl: The prl files are searched for only in
QMAKE_LIBDIR, which is unset on MinGW by default. I expect qmake to find
c:\test\a.prl if I put "LIBS += -Lc:\test -la" into the project file.

As qmake -d shows, the prl file is indeed found - during the findLibrary
scan that pays attention to the -L parameters in LIBS, but not during
processPrlFiles. As a workaround, I set QMAKE_LIBDIR += c:\test now.

I consider this behaviour a bug in qmake. Do you agree?

Regards,
  Michael Karcher



More information about the Qt-interest-old mailing list