You can always use qputenv/qgetenv before any plugin loading happens.

Maurice


From: Interest [mailto:interest-boun...@qt-project.org] On Behalf Of Gian Maxera
Sent: Wednesday, October 28, 2015 12:48 PM
To: Nuno Santos <nunosan...@imaginando.pt>
Cc: interest <interest@qt-project.org>
Subject: Re: [Interest] How to deploy an app to use Qt Quick 2D Renderer?

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 
<nunosan...@imaginando.pt<mailto:nunosan...@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 
<gmax...@gmail.com<mailto:gmax...@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 
<nunosan...@imaginando.pt<mailto:nunosan...@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

What am I missing?

Thanks,

Regards,

Nuno
_______________________________________________
Interest mailing list
Interest@qt-project.org<mailto:Interest@qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest



_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to