[Interest] How to deploy an app to use Qt Quick 2D Renderer?

Nuno Santos nunosantos at imaginando.pt
Wed Oct 28 12:52:56 CET 2015


I have just tried on Mac OSX.

How can I know the software renderer is actually being used? 

Nuno

> On 28 Oct 2015, at 11:47, Gian Maxera <gmaxera at gmail.com> wrote:
> 
> For me it simple means that you have to define the environment variable into your operating system.
> 
> On Mac and Linux you can change the environment variable just using export from the terminal.
> 
> So, try this if your are on Mac or Linux like OS from terminal:
> 
> export QMLSCENE_DEVICE=softwarecontext
> ./yourAppExecutable
> 
> On windows like OS, you have to go into system settings and set up an enviroment variable.
> 
> Ciao,
> Gianluca.
> 
> 
>> On 28 Oct 2015, at 11:44, Nuno Santos <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>> wrote:
>> 
>> Documentation says:
>> 
>> "To use Qt Quick 2D Renderer add the following to your run environment” and not build environment 
>> 
>> From my understanding this seems to rely on a independent module that needs to be built.
>> 
>> Is this valid or Windows and Mac OSX?
>> 
>> Nuno
>> 
>>> On 28 Oct 2015, at 11:36, Gian Maxera <gmaxera at gmail.com <mailto:gmaxera at gmail.com>> wrote:
>>> 
>>> From the documentation, it seems that you just need to setup the environment variable and nothing else is required during build.
>>> Did you try ?
>>> 
>>> Ciao,
>>> Gianluca.
>>> 
>>> 
>>>> On 28 Oct 2015, at 11:34, Nuno Santos <nunosantos at imaginando.pt <mailto:nunosantos at imaginando.pt>> wrote:
>>>> 
>>>> Hi,
>>>> 
>>>> I have a simple app which in some systems cannot run due to the lack of OpenGL support. 
>>>> 
>>>> Since the app is an utility, very simple, I don’t need computing power. I think Qt Quick 2D Renderer is great solution for this problem. 
>>>> 
>>>> The question is. What do I need to do in order to deploy the app using Qt Quick 2D Renderer? 
>>>> 
>>>> The documentation doesn’t tell much about this:
>>>> 
>>>> http://doc.qt.io/QtQuick2DRenderer/index.html <http://doc.qt.io/QtQuick2DRenderer/index.html>
>>>> 
>>>> What am I missing?
>>>> 
>>>> Thanks,
>>>> 
>>>> Regards,
>>>> 
>>>> Nuno
>>>> _______________________________________________
>>>> Interest mailing list
>>>> Interest at qt-project.org <mailto:Interest at qt-project.org>
>>>> http://lists.qt-project.org/mailman/listinfo/interest <http://lists.qt-project.org/mailman/listinfo/interest>
>>> 
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20151028/658687ca/attachment.html>


More information about the Interest mailing list