[Interest] How to render small Images decently on non retina displays with QtQuick?
Giuseppe D'Angelo
giuseppe.dangelo at kdab.com
Wed Mar 7 00:35:53 CET 2018
Il 07/03/2018 00:16, Nuno Santos ha scritto:
> Does anyone knows which modules we need to have compiled in order to
> make svg support work?
>
> I depend on a static build of Qt and while I was able to use SVG with
> the prebuilt Qt, I couldn’t make use of it using my static build.
>
> I realised I was missing qtsvg module but even after including it in the
> build it still says "unsupported graphic format”
>
> Any ideas?
You need
QTPLUGIN += qsvg
in your .pro. See
> https://doc.qt.io/qt-5/plugins-howto.html#static-plugins
HTH,
--
Giuseppe D'Angelo | giuseppe.dangelo at kdab.com | Senior Software Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, http://www.kdab.com
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4007 bytes
Desc: Firma crittografica S/MIME
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180307/8ebb9b2b/attachment.bin>
More information about the Interest
mailing list