Ken Moffat wrote: > On Mon, Jan 02, 2012 at 09:05:08PM -0600, Bruce Dubbs wrote: >> On Jan 2, 2012 8:52 PM, "Ken Moffat" <zarniwh...@ntlworld.com> wrote: >>> And since I'm replying to myself, a question for Bruce and anyone >>> else building trinity - can trinity's kdegraphics use the 'kde4' (I >>> suppose that means QT-4, but I'm not certain) part of poppler-0.18 ? >>> Some of us not using kde3 would really like to move on (I have no >>> specific "needs poppler-0.18" requirement at the moment, I just use >>> it >> Qt3 and Qt4 are completely different libraries. To a certain extent there >> are some similarities, but the library names completely different. If a >> program calls something like QString(), then the right library has to be >> linked in. I can't really see the same program using both a Qt3 and a Qt4 >> library. >> >> Short answer for Trinity, no it can't use Qt4. >> >> -- Bruce > > Thanks for the quick reply. So, the book is stuck with an old > poppler sine die ?
No, not really. We can build two different versions of poppler, one with Qt3 and one with Qt4. It does get a little tricky though. I ran into the same problem with qca (Qt Crypto Architecture). My solution was to build a library called qca2. For poppler, we could build a libpoppler-qt3 library and fix Trinity to use it. Then we could build libpoppler-qt which uses Qt4 for everybody else. A quick check shows that the current poppler is version 0.18.2 and that only supports Qt4. Specifically, -lQtGui -lQtXml -lQtCore. For kdegraphics, we would need an older version. What I think we should do is just update poppler for general use and I'll add a page to Trinity with the older poppler. The change log says Qt3 was removed with version 0.17, so I'd need to go back to at least version 0.16. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page