Re: [Development] QConfig update.

2014-10-15 Thread André Somers
Thiago Macieira schreef op 15-10-2014 17:34: > I'm not sure you got my meaning. How is a config editor tool in Qt > Creator going to read & write those files? Why would you need a tool like that for such a format? > How is the code generator going to read the QTypedSettings source > header to ge

[Development] [QtIFW] CPack IFW Generator

2014-10-15 Thread Konstantin Podsvirov
Hello dear developers! Yesterday I wrote a letter with the title "[QtIFW] CPack IFW Generator" and was told by two people. (http://lists.qt-project.org/pipermail/development/2014-October/018800.html) 15.10.2014, 13:47, "Konstantin Podsvirov" : > The next version of CMake will contain the new CPa

[Development] Qt5.4.0 beta candidate packages available

2014-10-15 Thread Heikkinen Jani
Hi all, We have now Qt5.4.0 beta packages available for testing. Windows: http://download.qt-project.org/snapshots/qt/5.4/5.4.0-beta/2014-10-15_43/ Linux: http://download.qt-project.org/snapshots/qt/5.4/5.4.0-beta/2014-10-14_45/ Mac: http://download.qt-project.org/snapshots/qt/5.4/5.4.0-beta/

Re: [Development] QConfig update.

2014-10-15 Thread Thiago Macieira
On Wednesday 15 October 2014 10:09:47 Rafael Roquetto wrote: > On Wed, Oct 15, 2014 at 02:36:51PM +0200, Thiago Macieira wrote: > > On Wednesday 15 October 2014 08:39:27 Rafael Roquetto wrote: > > > No! Not everyone uses Creator or whatever tool. I strongly dislike the > > > idea > > > of having to

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Thiago Macieira
On Wednesday 15 October 2014 14:39:27 Friedemann Kleint wrote: > Hi, > > >To avoid further delaying of the final release, I'm going to pull > >QVersionNumber from 5.4. > > careful: it is already used in: > qtactiveqt/examples/activeqt/webbrowser/main.cpp Thanks, I'll revert that too, but I can

Re: [Development] QConfig update.

2014-10-15 Thread Rafael Roquetto
On Wed, Oct 15, 2014 at 02:36:51PM +0200, Thiago Macieira wrote: > On Wednesday 15 October 2014 08:39:27 Rafael Roquetto wrote: > > No! Not everyone uses Creator or whatever tool. I strongly dislike the idea > > of having to depend on a specific toolset. What is productive to some can > > be counte

Re: [Development] [QtIFW] CPack IFW Generator

2014-10-15 Thread Koehne Kai
> -Original Message- > From: development-bounces+kai.koehne=theqtcompany.com@qt- > Subject: [Development] [QtIFW] CPack IFW Generator > > Hello dear developers! > [..] > CPack IFW generator generates installers using QtIFW. > > You can try this using the latest version for developers.

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Friedemann Kleint
Hi, >To avoid further delaying of the final release, I'm going to pull >QVersionNumber from 5.4. careful: it is already used in: qtactiveqt/examples/activeqt/webbrowser/main.cpp Regards, Friedemann -- Friedemann Kleint Senior Software Engineer | The Qt Company Digia Germany GmbH, Rudower

Re: [Development] QConfig update.

2014-10-15 Thread Thiago Macieira
On Wednesday 15 October 2014 08:39:27 Rafael Roquetto wrote: > No! Not everyone uses Creator or whatever tool. I strongly dislike the idea > of having to depend on a specific toolset. What is productive to some can > be counter-productive to others. We need to KISS and use a human-readable > format

Re: [Development] QConfig update.

2014-10-15 Thread Rafael Roquetto
On Wed, Oct 15, 2014 at 12:22:32PM +0200, Milian Wolff wrote: > On Wednesday 15 October 2014 10:02:59 André Somers wrote: > > > > > I think settings resemble properties to a very large extend. Perhaps it > > would, as an alternative to the XML or JSON schemes already suggested, > > but possible

Re: [Development] QConfig update.

2014-10-15 Thread Rafael Roquetto
On Wed, Oct 15, 2014 at 10:02:59AM +0200, André Somers wrote: > XML hand-editing is of course not needed. If XML would be used (like it > is for .ui files and .rcc files in Qt), an editor for this type can be > added to Creator. That would get rid of the need to hand-edit XML files. No! Not eve

Re: [Development] QConfig update.

2014-10-15 Thread Milian Wolff
On Wednesday 15 October 2014 10:02:59 André Somers wrote: > I think settings resemble properties to a very large extend. Perhaps it > would, as an alternative to the XML or JSON schemes already suggested, > but possible to build on the Qt property system instead for this. It is > familiar to dev

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Thiago Macieira
On Wednesday 15 October 2014 11:43:46 Oswald Buddenhagen wrote: > On Wed, Oct 15, 2014 at 11:36:40AM +0200, Thiago Macieira wrote: > > Relatively speaking, this is a major refactor of QVersionNumber. > > yes, but absolutely speaking, it is trivial (because the whole class is > almost trivial, and

[Development] [QtIFW] CPack IFW Generator

2014-10-15 Thread Konstantin Podsvirov
Hello dear developers! The first time I write to this list :-) Our history is being made and created technology! It is no secret that the projects CMake and Qt long friends. Soon they would be friends even better. The next version of CMake will contain the new CPack IFW generator. http://ifw.

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Oswald Buddenhagen
On Wed, Oct 15, 2014 at 11:36:40AM +0200, Thiago Macieira wrote: > Relatively speaking, this is a major refactor of QVersionNumber. > yes, but absolutely speaking, it is trivial (because the whole class is almost trivial, and thus such excellent material for bikeshedding :D). so get on with it alr

Re: [Development] QConfig update.

2014-10-15 Thread Thiago Macieira
On Tuesday 14 October 2014 13:44:30 Tomaz Canabrava wrote: > so I don't need to open a config file and parse it every time the user > created a QConfig object. I quite frankly don't see this as a problem. I think this syntax of using QSettings is just plain weird: QSettings settings;

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Thiago Macieira
On Tuesday 14 October 2014 20:41:22 Knoll Lars wrote: > >In my opinion those changes - as big as they may seem - could go in after > >the > >beat. Yes, they change the implementation a lot, but they barely affect > >the > >API. The beta is about being able to try out new features in Qt and > >get

Re: [Development] Compiler warnings

2014-10-15 Thread Thiago Macieira
On Wednesday 15 October 2014 09:26:34 Kurt Pattyn wrote: > I am talking about missing default switch statements, incomplete switch > statements, implicit conversion between signed and unsigned integers, aso. "default" labels in switches may be intentionally missing. When the swtch handles all pos

Re: [Development] Disabling -Bsymbolic when using wayland-scanner

2014-10-15 Thread Thiago Macieira
On Tuesday 14 October 2014 22:52:45 Dmitry Cherkassov wrote: > Closer look revealed that you remove bsymbolic_functions from building: > CONFIG -= bsymbolic_functions > > Didn't you intend to remove bsymbolic and add bsymbolic_functions to > CONFIG instead: > CONFIG -= bsymbolic > CONFIG += bsymbo

Re: [Development] QConfig update.

2014-10-15 Thread Oswald Buddenhagen
On Tue, Oct 14, 2014 at 07:06:30PM +0200, Milian Wolff wrote: > On Tuesday 14 October 2014 13:44:30 Tomaz Canabrava wrote: > > On Tue, Oct 14, 2014 at 1:35 PM, Milian Wolff wrote: > > > On Tuesday 14 October 2014 13:22:51 Tomaz Canabrava wrote: > > > > it has a QConfigGroup 'global' value that can

Re: [Development] Qt5 Integration

2014-10-15 Thread Frederik Gladhorn
Hi Simo, On Friday, October 03, 2014 05:32:12 AM Fält Simo wrote: > Hi, > It is time to bring the old topic to table: > http://lists.qt-project.org/pipermail/development/2014-February/015426.html > > Some of you might have noticed that during the last couple of nights there > was an e-mail with "

Re: [Development] Calculating JIRA bug priorities

2014-10-15 Thread Koehne Kai
> -Original Message- > [...] > I just want to point out that there already is this nice explanation of > priorities: > https://bugreports.qt- > project.org/secure/ShowConstantsHelp.jspa?#PriorityLevels Well, my issue with this is that it has only some 'hard' hints for P0, P1. It doesn't

Re: [Development] Compiler warnings

2014-10-15 Thread Bo Thorsen
Oh, come on. It's just one example of one bad rule. And even if you don't accept my example for it, I can just give you another. I have a base class that declares an interface for subclasses. One method requires that the subclass looks at one of the input files and determines the date. To do th

Re: [Development] Compiler warnings

2014-10-15 Thread Kurt Pattyn
On 15 Oct 2014, at 09:48, Poenitz Andre wrote: > Kurt Pattyn wrote: >>> On 14 Oct 2014, at 10:21, Bo Thorsen wrote: >>> >>> Den 14-10-2014 08:59, Kurt Pattyn skrev: how do these applications comply with MISRA? >>> >>> MISRA is impossible to comply with for a framework. For example, >>>

Re: [Development] Calculating JIRA bug priorities

2014-10-15 Thread Joerg Bornemann
On 15-Oct-14 09:43, Koehne Kai wrote: > Do you think that's helpful, and does this match the results your intuition? > If we can reach some consensus it might be worthwhile to integrate into > http://qt-project.org/wiki/Triaging_Bugs . I just want to point out that there already is this nice ex

Re: [Development] Calculating JIRA bug priorities

2014-10-15 Thread Mitch Curtis
Good idea. :) I like the idea of using 3 as the base, as that's a good fallback when it's not really obvious. You might want to explain that a lower number equals a higher priority, though. At least in my mind (even knowing that lower is higher in this case), adding 1 to a priority is synonymo

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Koehne Kai
> -Original Message- > From: development-bounces+kai.koehne=theqtcompany.com@qt- >[...] > I just need a confirmation that if I stage them now, they will still be in the > beta. That'll delay the beta at least till next week, and potentially even longer (given our problems of getting both

Re: [Development] Qt 5.4.0 Beta snapshot available

2014-10-15 Thread Thiago Macieira
On Tuesday 14 October 2014 14:28:05 Thiago Macieira wrote: > The changes are ready, just pending approval: > > https://codereview.qt-project.org/95531 > https://codereview.qt-project.org/95532 > https://codereview.qt-project.org/95533 > https://codereview.qt-project.org/96073 > > The important on

Re: [Development] Compiler warnings

2014-10-15 Thread Harri Porten
On Wed, 15 Oct 2014, Smith Martin wrote: > But maintaining binary compatibility is now a necessary facet of > software engineering, so maybe it is time for the C++ standard to > support it. A keyword could be added to the parameter declaration, > "compatibility" or "placeholder" for example, co

Re: [Development] QConfig update.

2014-10-15 Thread André Somers
Milian Wolff schreef op 14-10-2014 18:35: > >> QConfig and QConfigGroup *does not* support setting a default value on the >> getter, I know that this is used in a lot of places but this can cause >> inconsistencies: >> >> Main.cpp >> >> QConfig c; >> c.value("window-width", 800); >> >> MainWindow.c

Re: [Development] Compiler warnings

2014-10-15 Thread Smith Martin
From: development-bounces+martin.smith=theqtcompany@qt-project.org on behalf of Poenitz Andre Sent: Wednesday, October 15, 2014 9:48 AM To: Kurt Pattyn; Bo Thorsen Cc: development@qt-project.org Subject: Re: [Development] Compiler warnings Kurt Pattyn wrote: > > On 14 Oct 2014, at 10:21,

Re: [Development] Compiler warnings

2014-10-15 Thread Poenitz Andre
Kurt Pattyn wrote: > > On 14 Oct 2014, at 10:21, Bo Thorsen wrote: > > > > Den 14-10-2014 08:59, Kurt Pattyn skrev: > >> how do these applications comply with MISRA? > > > > MISRA is impossible to comply with for a framework. For example, > > consider the required rule 0-1-11: "There shall be n

[Development] Calculating JIRA bug priorities

2014-10-15 Thread Koehne Kai
Hi, While doing some bug triaging yesterday I noticed that we don't have a common process to assess the priority of a bug. That is, JIRA lists some criteria, and I think there's a common understanding what P0, P1 means ... but when it comes to the difference between P2, P3, P4, and P5 it gets I

Re: [Development] QConfig update.

2014-10-15 Thread Julien Blanc
On 14/10/2014 19:06, Milian Wolff wrote: > It might mean that you'll have to store > everything as a string in JSON to prevent a loss of data when storing e.g. > std::limits::max() (note: JSON only knows double). To be more precise : JSON itself does not assume anything about number precision. Ja

Re: [Development] Compiler warnings

2014-10-15 Thread Kurt Pattyn
Hi Bo, > On 14 Oct 2014, at 10:21, Bo Thorsen wrote: > > Den 14-10-2014 08:59, Kurt Pattyn skrev: >> how do these applications comply with MISRA? > > MISRA is impossible to comply with for a framework. For example, consider the > required rule 0-1-11: "There shall be no unused parameters (na

Re: [Development] QConfig update.

2014-10-15 Thread Albert Astals Cid
Please do not assert on the library, you're going to make everyone's program crasheable by just editing a file by hand. On Tue, Oct 14, 2014 at 7:06 PM, Milian Wolff wrote: > On Tuesday 14 October 2014 13:44:30 Tomaz Canabrava wrote: > > On Tue, Oct 14, 2014 at 1:35 PM, Milian Wolff > wrote: >