I experience so frequently problems with shadow builds that I switch them off by default. However I understand the principle behind the shadow builds and would also like to understand
how to get my project working with shadow builds.

Here is what I do: A project which creates a lib which is later linked in the example.

/project/example/
/project/fftw/32/libfftw3-3.a <- the lib file I want to link against
/project/src/ <- my own libary code, containing src.pro

I am using subdirs. In src.pro I am using this code to link:
LIBS += -L../lib/fftw/32/ -lfftw3-3

which _fails_ with shadow builds

If I use this code:
LIBS += -L../lib/other/fftw/32/libfftw3-3.a
then it does not complain about not finding the lib file.
However non of the containing functions are found. Which means it was no linked.

without shadow builds everything works as expected.

Solutions of this problem are welcome,
however any solution requiring an absolute path c:\user\.... is a no go.

Matthias






_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to