PDA

View Full Version : building static Qt with dynamic fontconfig



yodasoda
23rd March 2010, 00:38
On Red Hat 5.3, If I build my app with a dynamic qt library, then my app builds fine as long as I include my own fontconfig.so. But I need the app to be standalone so I built a static version of Qt. But then I cannot build qt because of the faulty fontconfig. How can I build qt statically and somehow keep fontconfig a shared library. I would like to keep including fontconfig.so. I tried to include a static fontconfig and qt seemed to have built but I got a parse error on lfreetype during ./configure and when I ran the app it was like I had ./configure -no-fontconfig