Re: How to build with Qt5 support?
Adrian Johnson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 06/04/16 00:41, Kota Weaver wrote: > Hello, > > I'm trying to compile Cairo with Qt5. I have both Qt4 and Qt5 on my > system, and when I try using the --enable-qt flag with autogen.sh it > ends up using Qt4 instead. I figure I can probably do a sed and replace > s/qt4/qt5/g after the autogen.sh, but of course this doesn't seem like > the right way to approach this. configure.ac is looking for the "QtGui" pkg-config. On my system with qt4 and 5 installed: $ pkg-config --modversion QtGui 4.8.6 $ pkg-config --modversion Qt5Gui 5.3.2 We probably need to add --enable-qt4 and --enable-qt5 options to allow selecting a specific version. I suggest first testing if cairo works with Qt5 by changing QtGui in configure.ac to Qt5Gui. > > Any thoughts? > > Thank you > Kota Weaver > > -- cairo mailing list [email protected] https://lists.cairographics.org/mailman/listinfo/cairo