Created attachment 132760 [details]
Proposition of patch
** Description of problem:
I cannot compile a Qt application which use qmake, with option CONFIG+=qt in
the pro file.
The error is:
g++ -m64 -shared -o
libimage.so ../../../build/obj/ipelets/image.o -L../../../build/lib -L/usr/lib64 -lipe -lQtGui -L/usr/X11R6/lib64 -laudio -lXt -lQtCore -lpthread
/usr/bin/ld: cannot find -laudio
** Version-Release number of selected component (if applicable): 4.1.4-6.fc5
** How reproducible:
Try to compile the package ipe-6.0-0.8.pre26, from Fedora Extras CVS, after
having removed the line "BuildRequires: nas-devel"
** Actual results: It fails with the error above.
** Expected results: rpmbuild complains about nas-devel missing, of the build
system installs nas-devel.
** Additionnal informations:
The four files:
contains -laudio. That is the only library added in pkgconfig files of qt4
that have no corresponding Requires: in the qt4-devel package.
Or strip '-laudio' from the .pc files. Avoids the needless extra libs in
Feel free to do what you want to avoid the compilation error! :-)
... I know understand why you wanted to strip so much things, from the
pkconfig files. During the review stage of qt4, i did not see what was the
qmake reads the pkfconfig files, actually?
(Sorry about this goof, I should have known to look for the new library
dependency after adding BR: nas-devel).
* Thu Jul 20 2006 Rex Dieter <rexdieter[AT]users.sf.net> 4.1.4-8
- strip -laudio from .pc files