Re: [Interest] Is the OpenGL vs Angle distinction important for widget apps?

2015-03-23 Thread Nikos Chantziaras
OK, that makes sense. Yeah, hidden uses of GL (by mistake or not) is 
what I'm worried about.

I thought that I could make sure this won't happen by building a minimal 
Qt (no Qml, no WebEngine or WebKit, etc) and with -no-opengl, but that 
won't work as it results in build errors.


On 22/03/15 18:30, Agocs Laszlo wrote:
 As long as the application is pure widgets, without ever using QOpenGL/QGL 
 classes or QQuickWidget, it will not attempt to initialize any OpenGL stuff. 
 (if that's not the case, it's a bug, we had some of these recently, like 
 QTBUG-43832) This means that not having OpenGL or ANGLE working (or 
 available) is not a problem for such apps.

 Starting with 5.5 the only type of pre-built packages for Windows are the 
 dynamic GL ones, so the confusion of needing to ship ANGLE libs even for 
 widget-only apps will go away.

 Cheers,
 Laszlo


 
 From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org 
 interest-bounces+laszlo.agocs=theqtcompany@qt-project.org on behalf of 
 Giuseppe D'Angelo dange...@gmail.com
 Sent: Sunday, March 22, 2015 4:48 PM
 To: Nikos Chantziaras
 Cc: interest@qt-project.org
 Subject: Re: [Interest] Is the OpenGL vs Angle distinction important for 
 widget apps?

 On 22 March 2015 at 10:28, Nikos Chantziaras rea...@gmail.com wrote:
 For applications that don't use Qml and only use QWidget, does it matter
 whether Qt was built with OpenGL or Angle on Windows?

 It still matters because

 1) ANGLE means extra dependencies to be shipped along your app
 2) ANGLE does not work on Windows XP

 So for pure-widgets applications it might make more sense to use the
 Desktop OpenGL build of Qt. YMMV :)


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


Re: [Interest] Is the OpenGL vs Angle distinction important for widget apps?

2015-03-23 Thread Agocs Laszlo
That (-no-opengl builds failing) is a different problem, and a very valid one. 
For 5.5 on Windows we still have some patches pending to fix -no-opengl builds. 
Hopefully it all gets corrected by the beta.

Best regards,
Laszlo


From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org 
interest-bounces+laszlo.agocs=theqtcompany@qt-project.org on behalf of 
Nikos Chantziaras rea...@gmail.com
Sent: Monday, March 23, 2015 2:21 PM
To: interest@qt-project.org
Subject: Re: [Interest] Is the OpenGL vs Angle distinction important for
widget apps?

OK, that makes sense. Yeah, hidden uses of GL (by mistake or not) is
what I'm worried about.

I thought that I could make sure this won't happen by building a minimal
Qt (no Qml, no WebEngine or WebKit, etc) and with -no-opengl, but that
won't work as it results in build errors.


On 22/03/15 18:30, Agocs Laszlo wrote:
 As long as the application is pure widgets, without ever using QOpenGL/QGL 
 classes or QQuickWidget, it will not attempt to initialize any OpenGL stuff. 
 (if that's not the case, it's a bug, we had some of these recently, like 
 QTBUG-43832) This means that not having OpenGL or ANGLE working (or 
 available) is not a problem for such apps.

 Starting with 5.5 the only type of pre-built packages for Windows are the 
 dynamic GL ones, so the confusion of needing to ship ANGLE libs even for 
 widget-only apps will go away.

 Cheers,
 Laszlo


 
 From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org 
 interest-bounces+laszlo.agocs=theqtcompany@qt-project.org on behalf of 
 Giuseppe D'Angelo dange...@gmail.com
 Sent: Sunday, March 22, 2015 4:48 PM
 To: Nikos Chantziaras
 Cc: interest@qt-project.org
 Subject: Re: [Interest] Is the OpenGL vs Angle distinction important for 
 widget apps?

 On 22 March 2015 at 10:28, Nikos Chantziaras rea...@gmail.com wrote:
 For applications that don't use Qml and only use QWidget, does it matter
 whether Qt was built with OpenGL or Angle on Windows?

 It still matters because

 1) ANGLE means extra dependencies to be shipped along your app
 2) ANGLE does not work on Windows XP

 So for pure-widgets applications it might make more sense to use the
 Desktop OpenGL build of Qt. YMMV :)


___
Interest mailing list
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


[Interest] Is the OpenGL vs Angle distinction important for widget apps?

2015-03-22 Thread Nikos Chantziaras
For applications that don't use Qml and only use QWidget, does it matter 
whether Qt was built with OpenGL or Angle on Windows?

As far as I can tell, GL/Angle is only used by Qml. Is that true? Can 
there be any circumstances where a non-Qml application might error out 
if running with an OpenGL-based Qt on a system with an old OpenGL 
version? (Meaning the default one from Microsoft which only supports 
software OpenGL 1.1.)

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


Re: [Interest] Is the OpenGL vs Angle distinction important for widget apps?

2015-03-22 Thread Agocs Laszlo
As long as the application is pure widgets, without ever using QOpenGL/QGL 
classes or QQuickWidget, it will not attempt to initialize any OpenGL stuff. 
(if that's not the case, it's a bug, we had some of these recently, like 
QTBUG-43832) This means that not having OpenGL or ANGLE working (or available) 
is not a problem for such apps.

Starting with 5.5 the only type of pre-built packages for Windows are the 
dynamic GL ones, so the confusion of needing to ship ANGLE libs even for 
widget-only apps will go away.

Cheers,
Laszlo



From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org 
interest-bounces+laszlo.agocs=theqtcompany@qt-project.org on behalf of 
Giuseppe D'Angelo dange...@gmail.com
Sent: Sunday, March 22, 2015 4:48 PM
To: Nikos Chantziaras
Cc: interest@qt-project.org
Subject: Re: [Interest] Is the OpenGL vs Angle distinction important for widget 
apps?

On 22 March 2015 at 10:28, Nikos Chantziaras rea...@gmail.com wrote:
 For applications that don't use Qml and only use QWidget, does it matter
 whether Qt was built with OpenGL or Angle on Windows?

It still matters because

1) ANGLE means extra dependencies to be shipped along your app
2) ANGLE does not work on Windows XP

So for pure-widgets applications it might make more sense to use the
Desktop OpenGL build of Qt. YMMV :)

--
Giuseppe D'Angelo
___
Interest mailing list
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


Re: [Interest] Is the OpenGL vs Angle distinction important for widget apps?

2015-03-22 Thread Ian Monroe
You are forgetting about QtWebEngine. It needs opengl of some sort
regardless of whether you use Qml or QWidgets.

On Sun, Mar 22, 2015, 09:30 Agocs Laszlo laszlo.ag...@theqtcompany.com
wrote:

 As long as the application is pure widgets, without ever using QOpenGL/QGL
 classes or QQuickWidget, it will not attempt to initialize any OpenGL
 stuff. (if that's not the case, it's a bug, we had some of these recently,
 like QTBUG-43832) This means that not having OpenGL or ANGLE working (or
 available) is not a problem for such apps.

 Starting with 5.5 the only type of pre-built packages for Windows are the
 dynamic GL ones, so the confusion of needing to ship ANGLE libs even for
 widget-only apps will go away.

 Cheers,
 Laszlo


 
 From: interest-bounces+laszlo.agocs=theqtcompany@qt-project.org
 interest-bounces+laszlo.agocs=theqtcompany@qt-project.org on behalf
 of Giuseppe D'Angelo dange...@gmail.com
 Sent: Sunday, March 22, 2015 4:48 PM
 To: Nikos Chantziaras
 Cc: interest@qt-project.org
 Subject: Re: [Interest] Is the OpenGL vs Angle distinction important for
 widget apps?

 On 22 March 2015 at 10:28, Nikos Chantziaras rea...@gmail.com wrote:
  For applications that don't use Qml and only use QWidget, does it matter
  whether Qt was built with OpenGL or Angle on Windows?

 It still matters because

 1) ANGLE means extra dependencies to be shipped along your app
 2) ANGLE does not work on Windows XP

 So for pure-widgets applications it might make more sense to use the
 Desktop OpenGL build of Qt. YMMV :)

 --
 Giuseppe D'Angelo
 ___
 Interest mailing list
 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

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


Re: [Interest] Is the OpenGL vs Angle distinction important for widget apps?

2015-03-22 Thread Giuseppe D'Angelo
On 22 March 2015 at 10:28, Nikos Chantziaras rea...@gmail.com wrote:
 For applications that don't use Qml and only use QWidget, does it matter
 whether Qt was built with OpenGL or Angle on Windows?

It still matters because

1) ANGLE means extra dependencies to be shipped along your app
2) ANGLE does not work on Windows XP

So for pure-widgets applications it might make more sense to use the
Desktop OpenGL build of Qt. YMMV :)

-- 
Giuseppe D'Angelo
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest