Re: [Development] QT5 OpenGL question

2013-08-02 Thread Jiergir Ogoerg
Also, QOpenGLFunctions doesn't have a glClear() function while being advertised as "The QOpenGLFunctions class provides cross-platform access to the OpenGL/ES 2.0 API" but GLES2.0 does have a glClear() function. Is it a bug? Other classes like QOpenGLFunctions_2_1 and QOpenGLFunctions_3_2_Core do

Re: [Development] QtSC: Scene Graph discussion

2013-08-02 Thread Laszlo Papp
Hmm, I have not mentioned "good old rendering engine". If I wanted to do that, probably this scene graph thread would be inadequate. ;-) To me, your post reads like if a hardware accelerated ui building technology like this was inherently tight to QtQuick and QML. If that is the case, and Qt has n

Re: [Development] Request for chromium snapshot repository in gerrit.

2013-08-02 Thread Thiago Macieira
On sexta-feira, 2 de agosto de 2013 15:46:11, Zeno Albisser wrote: > Hi, > > I would like to request a repository in gerrit to hold a Chromium snapshot > for QtWebEngine. > > We are not planning on doing actual development in this repository. > It is supposed to hold a snapshot of upstream Chromi

Re: [Development] QStandardPath search paths

2013-08-02 Thread Thiago Macieira
On sexta-feira, 2 de agosto de 2013 11:50:57, David Faure wrote: > > QStandardPaths returns "paths that are standard in this system". If one > > of > > them is a Qt file engine, then I don't see a problem in it returning > > "assets:/main.qml". > > There's standard-for-Qt and standard-for-the-OS

Re: [Development] AplicationWindow, QQuickWindow, contentRotation and setting width and height of contentItem

2013-08-02 Thread Tomasz Olszak
> > You should also be able to work around it inside your > ApplicationWindow by hiding the parent property on your content item. > Something like "property Item parent: null" should make it look like > the root of the tree. It's not great, but you actually want to pretend > to be the root of the t

Re: [Development] QT5 OpenGL question

2013-08-02 Thread Jiergir Ogoerg
Thanks both of you, I see now, GL is old (1993 I guess) and it shows, e.g. it requires creating a context on windows before even being able to query GL info etc. What do you think of the new Linux GL ABI proposal from Nvidia: https://github.com/aritger/linux-opengl-abi-proposal I recall doing som

Re: [Development] QT5 OpenGL question

2013-08-02 Thread Giuseppe D'Angelo
Il 02/08/2013 14:01, Jiergir Ogoerg ha scritto: On your later point - could you please elaborate on why you need the GL function addresses to be context-specific? I've used freeglut and GLFW before and never cared of had issues with this. Because the function pointers returned from a given cont

Re: [Development] QT5 OpenGL question

2013-08-02 Thread Jiergir Ogoerg
Thanks, but it's better to use functions wrapped in namespaces when it's possible (for example - according to Google's C++ coding style) instead of static methods in classes or methods of class instances or any other solution when you can just use functions wrapped in namespaces. And no, Qt5 doesn'

Re: [Development] QtSC: Scene Graph discussion

2013-08-02 Thread Laszlo Papp
On 2 August 2013 09:42, Sletta Gunnar wrote: > > > The audience may not need it, but I would. :-) "less pressing" means it > is not high priority for you, but contribution is welcome? > > 1 makes it possible for anyone to do 2-4 outside of Qt, and unless there > are convincing arguments why they

Re: [Development] QtSC: Scene Graph discussion

2013-08-02 Thread Laszlo Papp
On 2 August 2013 08:39, Sletta Gunnar wrote: > > On Aug 1, 2013, at 10:59 AM, Laszlo Papp wrote: > > > On Thu, Aug 1, 2013 at 8:17 AM, Sletta Gunnar > wrote: > > Indeed, the proposed patch created an new library (which was only built > when manually cd'ing into src/scenegraph and building it th

Re: [Development] [QtSerialPort] Porting to Android

2013-08-02 Thread Eskil Abrahamsen Blomfeldt
On 08/01/2013 07:45 PM, Denis Shienkov wrote: Hi Thiago, E.g. I don't see any Android's source code in repositories of Qt5.1. For example, where code, e.g. in: http://qt.gitorious.org/qt/qtbase/trees/stable/src/corelib ?? I understand nothing. I am confused... :( As someone else mentioned,