[Interest] Question about reading glsl shader source from a QResource using compression

Ola Røer Thorsen ola at silentwings.no
Tue Jan 14 09:12:04 CET 2014


>
>
> I think the example is just doing it wrong, it should instead load the
> resource file contents using QFile into two QByteArrays into the ctor
> and then return the QByteArrays' contents there.
>
>
Right. Thanks for the feedback! I'll use QFile to be sure, in case
compression is enabled.

Cheers!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140114/b39e7682/attachment.html>


More information about the Interest mailing list