[Development] json api for modifying document

2012-05-09 Thread Girish Ramakrishnan
Hi Lars, The current API appears to make modifications to values instead of the document itself. This makes it quite cumbersome to modify a document. For example, to change the value of 5 to 10 in the json "[1, 2, [3, 4, [5, 6]]]", one has to write the following code. QJsonDocument doc = QJson

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Thiago Macieira
On quarta-feira, 9 de maio de 2012 21.39.53, lars.kn...@nokia.com wrote: > How about this then? > > https://codereview.qt-project.org/#change,25788 > > https://codereview.qt-project.org/#change,25787 Yes, something like that. I'm not sure we should do it on 5.0 though. -- Thiago Macieira - thiago.

[Development] Supporting freedesktop icon themes in Qt5

2012-05-09 Thread Jerome Leclanche
Morning Qt currently does not properly support icon themes on Linux. This is a big issue here for Razor [1] as we're a non-KDE-based DE trying to use pure Qt. QIcon::fromTheme has some heuristics for KDE and Gnome, but other DEs are not supported. [2] We'd like to get this fixed for Qt5.0. My firs

Re: [Development] The place of QML

2012-05-09 Thread André Pönitz
On Wed, May 09, 2012 at 02:38:24PM +0100, Philip Ashmore wrote: > If I could debug a Qml application the same way I can debug > html5/JavaScript it would help> Qml uptake a lot. > > This would require a Qml document object model (DOM) and a > debugger capable of inspecting Qml, JavaScript and c++.

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread lars.knoll
On 5/9/12 4:30 PM, "ext Thiago Macieira" wrote: >On quarta-feira, 9 de maio de 2012 11.30.35, lars.kn...@nokia.com wrote: >> Actually I wonder why we don't compile all of Qt with exceptions >>disabled >> by default and enable them only for the places they are really needed >> (QtCore for exceptio

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Thiago Macieira
On quarta-feira, 9 de maio de 2012 11.30.35, lars.kn...@nokia.com wrote: > Actually I wonder why we don't compile all of Qt with exceptions disabled > by default and enable them only for the places they are really needed > (QtCore for exception safe signal/slot connections etc, and QtXmlPatterns >

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Hugo Parente Lima
On Wednesday, May 09, 2012 11:30:35 AM lars.kn...@nokia.com wrote: > On 5/9/12 12:33 PM, "ext Olivier Goffart" wrote: > >On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: > >> On 9 May 2012 10:22, Olivier Goffart wrote: [snip] > Actually I wonder why we don't compile all of Qt with ex

Re: [Development] The place of QML

2012-05-09 Thread kai.koehne
> -Original Message- > [...] > Given the lack of comment I'll try to rephrase this. > > If I could debug a Qml application the same way I can debug html5/JavaScript > it would help Qml uptake a lot. > > This would require a Qml document object model (DOM) and a debugger > capable of insp

[Development] [Announce] Qt Creator 2.5.0 released

2012-05-09 Thread List for announcements regarding Qt releases and development
We are happy to announce that we just released the Qt Creator 2.5.0 final! Blog post: http://labs.qt.nokia.com/2012/05/09/qt-creator-2-5-0-released/ Download: http://qt-project.org/wiki/Qt_Creator_Releases Windows MinGW users: Please read the corresponding section in the blog post, it contains p

Re: [Development] The place of QML

2012-05-09 Thread Philip Ashmore
On 07/05/12 01:32, Philip Ashmore wrote: > Hi there. > > I recently dived into Qml not long after playing around in html5/JavaScript. > > I wanted to see what methods I could call in my QAbstractTableModel-derived > class - I wanted to know if Qml code could access headerData() for the > column > h

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Andreas Holzammer
Am 09.05.2012 13:30, schrieb lars.kn...@nokia.com: > On 5/9/12 12:33 PM, "ext Olivier Goffart" wrote: > >> On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: >>> On 9 May 2012 10:22, Olivier Goffart wrote: On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: > Hi, > >>

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread lars.knoll
On 5/9/12 12:33 PM, "ext Olivier Goffart" wrote: >On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: >> On 9 May 2012 10:22, Olivier Goffart wrote: >> > On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: >> >> Hi, >> >> >> >> I was hitting qtxmlpatterns not compiling, because Ex

Re: [Development] Desktop components: project directory structure

2012-05-09 Thread Laszlo Papp
> I want to work towards having one branch by merging over the differences and > using Qt version ifdefs. I think this approach has worked well for Qt Creator > on Qt 5, where we have one canonical Creator master branch and not a Qt 5 > branch which lags behind. Fwiw, we have done the same for

Re: [Development] Desktop components: project directory structure

2012-05-09 Thread morten.sorvig
On May 8, 2012, at 9:09 PM, ext 1+1=2 wrote: > > And I hope that we can do some change for branch names: > > master ==> qt4 > qt5==> master > > or simply merge qt5 ==> master I want to work towards having one branch by merging over the differences and using Qt version ifdefs. I th

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Olivier Goffart
On Wednesday 09 May 2012 11:28:30 Giuseppe D'Angelo wrote: > On 9 May 2012 10:22, Olivier Goffart wrote: > > On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: > >> Hi, > >> > >> I was hitting qtxmlpatterns not compiling, because Exceptions are not > >> enabled by default for Windows CE.

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Giuseppe D'Angelo
On 9 May 2012 10:22, Olivier Goffart wrote: > On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: >> Hi, >> >> I was hitting qtxmlpatterns not compiling, because Exceptions are not >> enabled by default for Windows CE. My guess is that this was done for >> performance and or security reason

Re: [Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Olivier Goffart
On Wednesday 09 May 2012 09:45:31 Andreas Holzammer wrote: > Hi, > > I was hitting qtxmlpatterns not compiling, because Exceptions are not > enabled by default for Windows CE. My guess is that this was done for > performance and or security reasons. > > I would like to propose that we enable the

Re: [Development] Desktop components: project directory structure

2012-05-09 Thread jens.bache-wiig
Mostly due to historical reasons. The desktop components were originally based on a concept of styled "custom" components developed in a separate branch on Gitorious: https://qt.gitorious.org/qt-components/qt-components/commits/custom The idea was that you can create a custom component with it's

[Development] Enable Exceptions for Windows CE as default

2012-05-09 Thread Andreas Holzammer
Hi, I was hitting qtxmlpatterns not compiling, because Exceptions are not enabled by default for Windows CE. My guess is that this was done for performance and or security reasons. I would like to propose that we enable the Exceptions for Windows CE for Qt5 as default. If you have concerns, comme

Re: [Development] Late API addition in QScreen for 5.0

2012-05-09 Thread Samuel Rødal
On 05/08/2012 09:01 PM, ext Fredrik Höglund wrote: > On Friday 04 May 2012, Samuel Rødal wrote: >> On Linux, it's all up to the graphics driver in my experience. With the >> binary Nvidia driver the only reliable way I've seen of enabling vsync >> has been to do "export __GL_SYNC_TO_VBLANK=1" befor