qt5 pkgconfig woes

Max Horn <[email protected]>
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Hi there,

so I was trying to update wireshark to 2.0.0, which means finally bitting the bullet and using qt5 for it. Turns out the pkgconfig .pc files for qt5 are all broken ?! They contain this:

  Libs: -F${libdir} '-Wl,-framework,QtCore '
  Cflags: -I${included}/QtCore -I${includedir}

But those Cflags are wrong, as
  /sw/lib/qt5-mac/include/
does not contain QtFOO directories (where FOO = Core, GUI, MacExtras, ...)

The easiest fix I can think of is to augment all those packages to add symlinks from
  %p/lib/qt5-mac/include/QtNAME
to
  %p/lib/qt5-mac/lib/QtNAME.framework/Headers

Any concerns or comments on that? Better ideas? 

(And while I am complaining about Qt5: I guess "we" should update it to 5.5.1 one of those days *cough* the meaning of "we" in that sentence is another question, I guess I mean "somebody other than me, somebody who has a generous soul"... ;-)


Cheers,
Max
------------------------------------------------------------------------------
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.