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

Kalinowski Maurice Maurice.Kalinowski at theqtcompany.com
Wed Oct 28 12:53:18 CET 2015


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

Maurice


From: Interest [mailto:interest-bounces at qt-project.org] On Behalf Of Gian Maxera
Sent: Wednesday, October 28, 2015 12:48 PM
To: Nuno Santos <nunosantos at imaginando.pt>
Cc: interest <interest at 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 <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

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



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


More information about the Interest mailing list