Re: [Development] QSGNode::markDirty no longer works?

2013-12-04 Thread Sletta Gunnar
I'm afraid this is your bug :) QSGNode::DirtyForceUpdate is an internal undocumented property used for internal reasons. The right thing to do is to the scene graph exactly what you changed, which is also cheaper for the scene graph to handle. QSGNode::DirtyGeometry in this case. cheers, Gunn

[Development] QQuickView memory leaking

2013-12-04 Thread 王耀华
Hi, everyone, i'm recently working on a project which is qml&pyqt based, i have to say that it's really much faster doing GUI things in qml, but now i have one problem, every time i called the setSource(url) method of QQuickview, i got plenty of my memory consumed and it never came back event i des

Re: [Development] QSGNode::markDirty no longer works?

2013-12-04 Thread achartier
It looks like using QSGNode::DirtyGeometry did the trick. I would have expected QSGNode::DirtyForceUpdate to work though. Is this a bug? On Wed, Dec 4, 2013, at 02:14 PM, achart...@fastmail.fm wrote: > Hi, > > I had a QQuickItem-based 2D linegraph working fine in prior versions of > Qt 5. This co

[Development] QSGNode::markDirty no longer works?

2013-12-04 Thread achartier
Hi, I had a QQuickItem-based 2D linegraph working fine in prior versions of Qt 5. This code does not seem to work with Qt 5.2 RC 1. Below is the relevant code of my QQuickItem-based linegraph: QSGNode* Linegraph::updatePaintNode(QSGNode* oldNode, UpdatePaintNodeData* updatePaintNodeData) { Q_

Re: [Development] OpenGL drivers

2013-12-04 Thread Thomas McGuire
Hi, On Wednesday 04 December 2013 11:47:29 Sletta Gunnar wrote: > If we added conversion functions for inch(), cm(), mm(), points() to > QQuickItem, it could look up its current window/screen object and figure > out the relationship between each unit for the screen the item is on and > just set th

Re: [Development] OpenGL drivers

2013-12-04 Thread Sletta Gunnar
Because everything else, x, y, width, height, image dimensions, anchor margins, etc is in pixels. The fact that we have Font.pointSize is in my opinion a flaw. That being said, I wouldn't mind changing Font.pixelSize to Font.size if there was an agreement on standardizing on pixels. __

Re: [Development] OpenGL drivers

2013-12-04 Thread Mark Gaiser
On Wed, Dec 4, 2013 at 12:37 PM, Mitch Curtis wrote: > On 12/04/2013 11:47 AM, Sletta Gunnar wrote: >> QWidget has the exact opposite problem. Layouts, styles and rendering >> happens in pixel units while fonts are sized in point size. This is also a >> problem when moving between platfoms as th

Re: [Development] OpenGL drivers

2013-12-04 Thread Sorvig Morten
On 04 Dec 2013, at 11:47, Sletta Gunnar wrote: > QWidget has the exact opposite problem. Layouts, styles and rendering happens > in pixel units while fonts are sized in point size. This is also a problem > when moving between platfoms as the pixelsize of a point has a different > definition o

Re: [Development] OpenGL drivers

2013-12-04 Thread Mitch Curtis
On 12/04/2013 11:47 AM, Sletta Gunnar wrote: > QWidget has the exact opposite problem. Layouts, styles and rendering happens > in pixel units while fonts are sized in point size. This is also a problem > when moving between platfoms as the pixelsize of a point has a different > definition on eac

Re: [Development] OpenGL drivers

2013-12-04 Thread Thomas Hartmann
Hi, what is already possible is to read the font.pixelSize property for a specific point size or just using the implicit size of a text item. One main problems with layouts following physical units (pt, cm), is that icons (all pixel based resources) have to be scaled accordingly (or have a "ran

Re: [Development] OpenGL drivers

2013-12-04 Thread Sletta Gunnar
QWidget has the exact opposite problem. Layouts, styles and rendering happens in pixel units while fonts are sized in point size. This is also a problem when moving between platfoms as the pixelsize of a point has a different definition on each platform. When running widgets on a hidpi screen, t

Re: [Development] qt5.2.0: javascriptcore compile fix

2013-12-04 Thread Olivier Goffart
On Wednesday 04 December 2013 11:05:43 Tim Blechmann wrote: > >> hi, > >> > >> in order to compile qt-5.2.0-rc1 as static library with c++11 on osx, i > >> need to apply the attached patch. > >> the issue had been reported in a comment in [1], but i guess the issue > >> was missed, because the bug

[Development] Sysadmin

2013-12-04 Thread Hirvonen Olli
Hi all, Petri Järvenpää is nominated to Qt project sysadmin role. He is the default assignee for all tickets at https://bugreports.qt-project.org/browse/QTSYSADM In case of Petri's vacations or other absences deputies are handling tickets. Olli Hirvonen Senior Manager, Qt Releases - Digia Visi

Re: [Development] qt5.2.0: javascriptcore compile fix

2013-12-04 Thread Tim Blechmann
>> hi, >> >> in order to compile qt-5.2.0-rc1 as static library with c++11 on osx, i >> need to apply the attached patch. >> the issue had been reported in a comment in [1], but i guess the issue >> was missed, because the bug was closed before. >> >> iac, attached patch fixes the issue, would be g

[Development] [ANN] C++Now 2014: 5 Days to Submissions Deadline

2013-12-04 Thread Boris Kolpackov
Hi, Only 5 days left before the submissions deadline for C++Now 2014! C++Now is a general C++ conference for C++ experts and enthusiasts. It is not specific to any library/framework or compiler vendor and has three tracks with presentations ranging from hands-on, practical tutorials to advanced C

Re: [Development] qt5.2.0: javascriptcore compile fix

2013-12-04 Thread Olivier Goffart
On Wednesday 04 December 2013 09:55:55 Tim Blechmann wrote: > hi, > > in order to compile qt-5.2.0-rc1 as static library with c++11 on osx, i > need to apply the attached patch. > the issue had been reported in a comment in [1], but i guess the issue > was missed, because the bug was closed before

[Development] qt5.2.0: javascriptcore compile fix

2013-12-04 Thread Tim Blechmann
hi, in order to compile qt-5.2.0-rc1 as static library with c++11 on osx, i need to apply the attached patch. the issue had been reported in a comment in [1], but i guess the issue was missed, because the bug was closed before. iac, attached patch fixes the issue, would be great if it can be incl

[Development] New Qt 5.2 snapshot available

2013-12-04 Thread Heikkinen Jani
Hi all, We have again new snapshot available for you verification & testing: http://download.qt-project.org/snapshots/qt/5.2/5.2.0/2013-12-04_194/ Almost all installers are available, only combined iOS & Android installer for mac is missing. Mirroring is ongoing so it might be all installers ar