[Qt-interest] Reason for separate INCLUDEPATH and DEPENDPATH in qmake
Jan Kundrát
jkt at gentoo.org
Mon Sep 13 17:24:43 CEST 2010
Hi,
I just got bitten by a .pro file which did not include all of the
INCLUDEPATH directories in the DEPENDPATH.
I changed the signature of a constructor of one class (last parameter
got removed) and expected the compiler to spit out and error on all
places which were actually calling said constructor. Unfortunately, one
place got undetected, the generated object files even passed through the
linker and I got a nasty segfault at runtime (Gentoo Linux x86, not
using --as-needed linking or qnything special).
So, now I wonder if there is any real use case for having INCLUDEPATH
and DEPENDPATH with different values -- perhaps QMake could somehow warn
if they do not match? Or am I missing something obvious here?
With kind regards,
Jan
--
cd /local/pub && more beer > /dev/mouth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100913/0cdfd4e0/attachment.bin
More information about the Qt-interest-old
mailing list