[Development] QSvg, why is QSvgHandler private?
Stephen Kelly
stephen.kelly at kdab.com
Tue Jul 10 11:43:05 CEST 2012
On Monday, July 09, 2012 22:35:07 Thiago Macieira wrote:
> On segunda-feira, 9 de julho de 2012 22.29.31, Mark wrote:
> > So, is there anyway for me to use the private class anyway? I know it
> > shouldn't be done, but it's just something i'd like to try if possible
> > and see how much difference it makes if i use that opposed to
> > QSvgRenderer::load.
> > Do i need to include something extra in cmake (not using qmake in this
> > project)?
>
> The equivalent of qmake's:
>
> QT += svg-private
... Which is
find_package(Qt5Svg)
include_directories(${Qt5Svg_PRIVATE_INCLUDE_DIRS})
But I still say don't use private API.
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120710/c2690b9e/attachment.sig>
More information about the Development
mailing list