[Development] UiHelpers: status update from the playground

2012-03-15 Thread Anselmo L. S. Melo
Hi, A few weeks ago we requested a playground repository to do experiments with the non-widgets classes that are now in QtWidgets, but are useful for application development using QtQuick2. More details in this thread: http://lists.qt-project.org/pipermail/development/2012-February/002150.html

[Development] Q_GLOBAL_STATIC_WITH_INITIALIZER is harmful: please stop using it!

2012-03-15 Thread Thiago Macieira
-- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center Intel Sweden AB - Registration Number: 556189-6027 Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden signature.asc Description: This is a digitally signed message part.

Re: [Development] Undeprecating QPointer

2012-03-15 Thread lars.knoll
On 3/15/12 8:13 PM, "ext Robin Burchell" wrote: >2012/3/15 Thiago Macieira : >> No one has objected. Can someone remove the deprecation marks in >>QPointer, >> please? > >Pushed to http://codereview.qt-project.org/#change,20203 :-) And staged :) Cheers, Lars ___

Re: [Development] Undeprecating QPointer

2012-03-15 Thread Robin Burchell
2012/3/15 Thiago Macieira : > No one has objected. Can someone remove the deprecation marks in QPointer, > please? Pushed to http://codereview.qt-project.org/#change,20203 :-) ___ Development mailing list Development@qt-project.org http://lists.qt-projec

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Thiago Macieira
On quinta-feira, 15 de março de 2012 15.00.19, Hugo Parente Lima wrote: > > Also, how about support for multiple values for an option, separated by > > ','? gcc -Wl,--defsym,__stack_limit=0x7ffe' > > Probably an ultra-corner case? > > I believe this is, as you said, a ultra corner case. but it'

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Hugo Parente Lima
On Thursday 15 March 2012 15:38:39 Laszlo Papp wrote: > Hey, > > > Upon agreement with QtCore maintainer Thiago, a cli_parser branch has > > been created for QtBase, with Submit rights for Laszlo and anyone added > > to his Gerrit group "CLI Parser". > > Yeah, I will put some code in there soon f

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Laszlo Papp
Hey, > Upon agreement with QtCore maintainer Thiago, a cli_parser branch has > been created for QtBase, with Submit rights for Laszlo and anyone added > to his Gerrit group "CLI Parser". Yeah, I will put some code in there soon from this KDE Scratch repository: http://quickgit.kde.org/index.php?p

Re: [Development] Undeprecating QPointer

2012-03-15 Thread Thiago Macieira
On sexta-feira, 2 de março de 2012 10.27.56, Thiago Macieira wrote: > Hello > > QPointer was ported to a QWeakPointer backend and deprecated early in Qt 5 > history. However, QPointer is used throughout our code and, I can expect, in > user code too. Replacing it with QWeakPointer is just monkey wo

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread marius.storm-olsen
On 15/03/2012 08:33, ext Oswald Buddenhagen wrote: > On Thu, Mar 15, 2012 at 12:23:27PM +, Marius Storm-Olsen wrote: >> I'm not saying that it cannot be provided for Qt. I'm saying there >> are many opinions on how an argument parser should work, so do it >> in an Addon first. Then it doesn't m

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Hugo Parente Lima
On Thursday 15 March 2012 12:17:41 marius.storm-ol...@nokia.com wrote: > On 15/03/2012 08:32, ext Hugo Parente Lima wrote: > > On Thursday 15 March 2012 09:23:27 marius.storm-ol...@nokia.com wrote: > >> The applications I mentioned are "bastards" when it comes to > >> commands/actions/options, and

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Christian Kandeler
On 03/09/2012 12:36 AM, ext Laszlo Papp wrote: > I would like to experiment with a command line parser in Qt > Playground. The topic and the use case were more or less discussed > previously on the qt5-feedback mailing list around last October. Btw, the libqxt project (http://dev.libqxt.org/libqxt

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread marius.storm-olsen
On 15/03/2012 08:32, ext Hugo Parente Lima wrote: > On Thursday 15 March 2012 09:23:27 marius.storm-ol...@nokia.com wrote: >> The applications I mentioned are "bastards" when it comes to >> commands/actions/options, and I mentioned them on purpose to facilitate >> discussion. They don't represent v

[Development] Qt 4.8 fixes need to go into Qt 5 first

2012-03-15 Thread Thiago Macieira
Just a reminder: any Qt 4.8 fixes that are relevant to Qt 5 should go into Qt 5 first, before they go into Qt 4.8. Exceptions are fixes that are not relevant for 5.0 or are already fixed there. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology

[Development] [Announce] Qt Creator 2.5.0-beta released

2012-03-15 Thread List for announcements regarding Qt releases and development
We are happy to announce the Qt Creator 2.5.0 beta release. This is a preview of the new minor version of Qt Creator, including bugs fixes as well as a bunch of new features. Blog post: http://labs.qt.nokia.com/2012/03/15/qt-creator-2-5-beta/ Download page: http://qt-project.org/wiki/Qt_Creator_

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Oswald Buddenhagen
On Thu, Mar 15, 2012 at 12:23:27PM +, Marius Storm-Olsen wrote: > I'm not saying that it cannot be provided for Qt. I'm saying there are > many opinions on how an argument parser should work, so do it in an > Addon first. Then it doesn't matter so much if not everyone agrees. It > might be h

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Hugo Parente Lima
On Thursday 15 March 2012 09:23:27 marius.storm-ol...@nokia.com wrote: > On 15/03/2012 04:53, ext David Faure wrote: > > On Monday 12 March 2012 20:06:22 marius.storm-ol...@nokia.com wrote: > >> Anyways, something to keep in mind when working on your > >> implementation. It's a can of worms with a

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Hugo Parente Lima
On Thursday 15 March 2012 08:26:14 kai.koe...@nokia.com wrote: > > -Original Message- > > From: development-bounces+kai.koehne=nokia@qt-project.org > > [mailto:development-bounces+kai.koehne=nokia@qt-project.org] On > > Behalf Of ext Hugo Parente Lima > > Sent: Thursday, March 15, 2

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Thiago Macieira
On quinta-feira, 15 de março de 2012 14.24.25, Laszlo Papp wrote: > > I only checked the tests file, but it seems like you're going for the GNU > > style where options following '-' are always one character letters.The Qt > > tools itself do not follow this style, e.g. qmake -project, not qmake > >

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Laszlo Papp
> I only checked the tests file, but it seems like you're going for the GNU > style where > options following '-' are always one character letters.The Qt tools itself do > not follow this style, e.g. qmake -project, not qmake --project, or qmake -p > :) To use the parser also internally , it sho

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread marius.storm-olsen
On 15/03/2012 04:53, ext David Faure wrote: > On Monday 12 March 2012 20:06:22 marius.storm-ol...@nokia.com wrote: >> Anyways, something to keep in mind when working on your >> implementation. It's a can of worms with a lot of bikeshedding ;) > > Yes, this has been said a few times already. However

Re: [Development] cast ... increases required alignment of target type [-Werror=cast-align]

2012-03-15 Thread Thiago Macieira
On quinta-feira, 15 de março de 2012 07.20.09, Atlant Schmidt wrote: > > -Werror should never be enabled on non-developer builds. > > Why not? Is the plan to ship code that contains > warnings?* Qt should be always built with -Wall -Wextra, plus maybe one or two non- standard warnings (candida

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Oswald Buddenhagen
On Thu, Mar 15, 2012 at 10:53:59AM +0100, ext David Faure wrote: > On Monday 12 March 2012 20:06:22 marius.storm-ol...@nokia.com wrote: > > c) The parser only focuses on the "standard" for a single platform. > > (Linux users will not go for Windows style /? options, and Windows users > > won't ac

Re: [Development] cast ... increases required alignment of target type [-Werror=cast-align]

2012-03-15 Thread andre.poenitz
> > -Werror should never be enabled on non-developer builds. > > Why not? Is the plan to ship code that contains warnings?* That is not the _plan_. But the plan is also not to jump through hoops to silence bogus warnings, and the plan is also not to purchase crystal balls to predict what the n

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread shane.kearns
I would like an argument parser in Qt, and I'd like it to be in qtbase. The reason for qtbase is so that our own tools and manual tests can use it. Manual tests outside of qtbase are normally GUI based. I think this is something that can go into a minor 5.x release. About windows: Tools that use

Re: [Development] cast ... increases required alignment of target type [-Werror=cast-align]

2012-03-15 Thread Atlant Schmidt
Robin: > Because those non-developers aren't developing Qt, > and may not have the capability to fix warnings, > if they arise. They just want to build Qt and use it. So you don't want their bug reports when their particular configuration (that the Qt developers may not have tested) doesn't

Re: [Development] cast ... increases required alignment of target type [-Werror=cast-align]

2012-03-15 Thread Robin Burchell
On Thu, Mar 15, 2012 at 12:20 PM, Atlant Schmidt wrote: > Thiago: > >> -Werror should never be enabled on non-developer builds. > >  Why not? Is the plan to ship code that contains >  warnings?* Because those non-developers aren't developing Qt, and may not have the capability to fix warnings, if

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread kai.koehne
> -Original Message- > From: development-bounces+kai.koehne=nokia@qt-project.org > [mailto:development-bounces+kai.koehne=nokia@qt-project.org] On > Behalf Of ext Hugo Parente Lima > Sent: Thursday, March 15, 2012 12:16 PM > To: development@qt-project.org > Cc: Mark Constable > Su

Re: [Development] cast ... increases required alignment of target type [-Werror=cast-align]

2012-03-15 Thread Atlant Schmidt
Thiago: > -Werror should never be enabled on non-developer builds. Why not? Is the plan to ship code that contains warnings?* This is the sort of thing that destroyed Symbian. When I last counted, the Symbian build routinely produced more than 7,000 warnings. No one at Nokia besides

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Hugo Parente Lima
On Thursday 15 March 2012 07:29:23 Mark Constable wrote: > Any simple standard cli args parser included with Qt would be > overwhelmingly better than none at all even if it's just -s shortops (/s > for win) and worry about --longopts and tar-like variations for Qt6+. The > simpler the better as lon

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Mark Constable
Any simple standard cli args parser included with Qt would be overwhelmingly better than none at all even if it's just -s shortops (/s for win) and worry about --longopts and tar-like variations for Qt6+. The simpler the better as long as it's universally available in qtcore, if possible, sooner th

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread Robin Burchell
On Thu, Mar 15, 2012 at 10:53 AM, David Faure wrote: > Look at GNU getopt: same issue, it can't be used by tar. So what? I think the "so what" about sums up my feelings on this too. It's possible to bikeshed to the ends of the earth on pretty much any topic, but this isn't useful to anyone, and d

Re: [Development] Qt Playground - Command Line Parser experiment

2012-03-15 Thread David Faure
On Monday 12 March 2012 20:06:22 marius.storm-ol...@nokia.com wrote: > a) The parser is too trivial and doesn't handle the normal levels of > complexity of command line arguments out there. (tar, find, zip, and > standard Qt (built-in) arguments anyone?) Who needs to reimplement tar, zip, or fin

Re: [Development] need to handle touch events rather than depending on mouse event synthesis

2012-03-15 Thread Shawn Rutledge
> >Torsdag 1. mars 2012 19.48.15 skrev ext Alan Alpert: > > Perhaps we could just add an enum to MouseArea? EventType { MouseEvents, > > TouchEvents, MouseAndTouchEvents (default) }. That allow you more > > fine-grained control, with identical default behavior that doesn't require > > event synthes

Re: [Development] need to handle touch events rather than depending on mouse event synthesis

2012-03-15 Thread Adriano Rezende
On 03/15/2012 04:15 AM, Jones Martin (Nokia-MP/Brisbane) wrote: > Sure, if you don't touch the flag you don't break anything, but as soon as > someone uses the flag somewhere in a hierarchy of interactive Items you're > going to have problems. It's too late for 5.0. We are already having proble

Re: [Development] Breaking up QtPlatformSupport

2012-03-15 Thread Oswald Buddenhagen
On Wed, Mar 14, 2012 at 11:07:56AM +1000, ext Lincoln Ramsay wrote: > On 03/12/2012 11:56 PM, ext Thiago Macieira wrote: > > qmake does not add a dependency on the .a file, so the other target doesn't > > get > > relinked. > > Qtopia had a large number of .a files and this hit us hard so we devis

Re: [Development] Nominating Kurt Korbatits for approver

2012-03-15 Thread Sergio Ahumada
On 03/15/2012 05:59 AM, ext jason.mcdon...@nokia.com wrote: > All, > > I'd like to nominate Kurt Korbatits for approver status. Kurt worked on > Qtopia, Qt and Qt Mobility from 2005 to 2010 and rejoined Nokia's > Brisbane team in late 2011. Since then he has been working on improving > the state of

Re: [Development] cast ... increases required alignment of target type [-Werror=cast-align]

2012-03-15 Thread Holger Hans Peter Freyther
On 03/14/2012 11:32 PM, Rohan McGovern wrote: > > That is exactly what's done for ARM, it should be fine to do it for MIPS > too. http://codereview.qt-project.org/20033 does this. > thanks rohan! PS: I have not tried building Qt for SH4 but I assume we run into similar issues there. _

Re: [Development] [Releasing] Qt 4.8.1 release during week 11/2012

2012-03-15 Thread Turunen Tuukka
On 5.3.2012 18.21, "Oswald Buddenhagen" wrote: >On Mon, Mar 05, 2012 at 03:24:04PM +, ext Salovaara Akseli wrote: >> At the moment we are following content of >> http://qt.gitorious.org/qt/qt/commits/4.8 branch on our internal >> repository. We would like to provide Qt 4.8.1 branch on >> Gi