[Development] Qt Contributor Summit 2014 dates?

2014-02-14 Thread Thiago Macieira
Hello Do we have potential dates for QCS this year? I'm being asked to fill in my Q2-2014 travel already... -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center ___ Development mailing list Dev

Re: [Development] QForeachContainer mystery

2014-02-14 Thread Olivier Goffart
On Monday 10 February 2014 07:58:06 Thiago Macieira wrote: > Em seg 10 fev 2014, às 16:27:56, Joerg Bornemann escreveu: > > On 10-Feb-14 15:23, Joerg Bornemann wrote: > > > Looks like __typeof__, which is used when building with a recent gcc, > > > behaves differently when passing a c'tor? > > > >

[Development] Unittests not running: where to file?

2014-02-14 Thread Kurt Pattyn
Hi, since QtWebSockets moved from the playground, the unit tests are not run anymore. Any idea where I can file this problem (which project in Jira)? Cheers, Kurt ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mail

Re: [Development] Best practice for defining an integer constant

2014-02-14 Thread Tony Van Eerd
> > > > The Qt coding conventions > > (http://qt-project.org/wiki/Coding-Conventions) > > recommend using an enum over 'const int'. > > > > The rationale given there is that an enum will be replaced at > > compile-time resulting in 'faster code'. Won't that be the case with > > 'const int' as well?

Re: [Development] look-behind assertions in syntax HL?

2014-02-14 Thread Matthew Woehlke
On 2014-02-14 07:12, Giuseppe D'Angelo wrote: > On 13 February 2014 18:52, Matthew Woehlke wrote: >>> Why does the Qt5 QRegExp documentation not mention QRegularExpression? > > Because it's an oversight, I guess... patches for the docs are more > than welcome! :) Naturally :-). Comments like the a

Re: [Development] Rules for including private headers

2014-02-14 Thread Thiago Macieira
Em sex 14 fev 2014, às 11:03:02, Ulf Hermann escreveu: > If you need to include private headers there are four cases with > different syntax. Various build system magic makes those possible but > that will not be discussed here. > > 1. The header, e.g. whatever_p.h, is in the same directory as t

Re: [Development] Best practice for defining an integer constant

2014-02-14 Thread Thiago Macieira
Em sex 14 fev 2014, às 15:59:28, Mandeep Sandhu escreveu: > I have a need for defining an integer constant that'll be used for > initializing a member variable of a private class. > > The Qt coding conventions (http://qt-project.org/wiki/Coding-Conventions) > recommend using an enum over 'const in

Re: [Development] [Interest] Fastest Way to convert a QVideoFrame to an QImage?

2014-02-14 Thread Allan Sandfeld Jensen
On Wednesday 12 February 2014, Thiago Macieira wrote: > Em qua 12 fev 2014, às 09:55:09, Jason H escreveu: > > Well Qt does NOT support grayscale. None of the QImage::Formats are gray. > > It's either mono, indexed color or color bits. Which is why I'm a but > > unsure of what is faster. I would as

Re: [Development] Rules for including private headers

2014-02-14 Thread Frederik Gladhorn
Fredag 14. februar 2014 11.03.02 skrev Ulf Hermann: > Hello, > > as I just got bitten by it (see > https://codereview.qt-project.org/#change,78128) I'd really like to > clarify our rules for including private headers in Qt. > http://qt-project.org/wiki/Coding-Conventions#32bc73e08b315a2d85bfd10b2e

Re: [Development] Qmake variable for iOS

2014-02-14 Thread Mohamed Fawzi
Hi, qmake for ios is a bit strange, in the sense that it treats device and simulator as two build versions. This is like debug and release, setting it in CONFIG sets the default used in Makefile, but it also still generates specific makefiles for each possible combination (iphoneos debug/relas

Re: [Development] Qmake variable for iOS

2014-02-14 Thread Mohamed Fawzi
Hi, qmake for ios is a bit strange, in the sense that it treats device and simulator as two build versions. This is like debug and release, setting it in CONFIG sets the default used in Makefile, but it also still generates specific makefiles for each possible combination (iphoneos debug/relas

[Development] Building Qt Webkit without MacroAssembler

2014-02-14 Thread Lisandro Damián Nicanor Pérez Meyer
Hi! Is there a way to build Qt 5's Webkit without MacroAssembler support? The problem arises on some archs we have in Debian (for example, you can take a look at s390x's [0] or powerpc's [1] build logs). In case there is but rquiring a patch, would it be possible to add either an option or a en

Re: [Development] GLSL Optimizer

2014-02-14 Thread Agocs Laszlo
FYI we now have QTBUG-27872 for this. Besides getting more optimal shader code, this is also extremely useful for translating our shaders on-the-fly to a more modern GLSL syntax, when necessary, avoiding code duplication. Best regards, Laszlo -Original Message- From: development-bounces

Re: [Development] Windows Online Installer problem(s)

2014-02-14 Thread Turunen Tuukka
On 14/02/14 03:03, "Christian Gagneraud" wrote: >On 07/02/14 20:11, Heikkinen Jani wrote: >> Hash mismatch was because qt5.2.1 content was replicating to the >>mirrors at that time. > >Hi Jani, > >There's still some problems with the windows online installer, being in >New Zealand, I'm redirect

Re: [Development] look-behind assertions in syntax HL?

2014-02-14 Thread Giuseppe D'Angelo
On 13 February 2014 18:52, Matthew Woehlke wrote: >> Why does the Qt5 QRegExp documentation not mention QRegularExpression? Because it's an oversight, I guess... patches for the docs are more than welcome! :) (The big picture is that QRegularExpression is not a 1:1 drop in replacement for QRegEx

Re: [Development] Best practice for defining an integer constant

2014-02-14 Thread Mandeep Sandhu
I agree with you if the constant represents some sort of 'range' (like the error code ex you gave). But what about single value constants like a 'max of something'? Won't a const be a better fit here rather having an enum with just 1 entry? -mandeep On Fri, Feb 14, 2014 at 5:02 PM, Blasche Alex

Re: [Development] Best practice for defining an integer constant

2014-02-14 Thread Blasche Alexander
Hi. An enum has the advantage that you have a certain level of type safety and in my opinion it makes the API much more readable. foo(int x) is far less certain on what to pass then foo(ErrorCode x) I immediately see what the range of possible values is (based on the enum definition) while t

[Development] Best practice for defining an integer constant

2014-02-14 Thread Mandeep Sandhu
I have a need for defining an integer constant that'll be used for initializing a member variable of a private class. The Qt coding conventions (http://qt-project.org/wiki/Coding-Conventions) recommend using an enum over 'const int'. The rationale given there is that an enum will be replaced at c

[Development] Rules for including private headers

2014-02-14 Thread Ulf Hermann
Hello, as I just got bitten by it (see https://codereview.qt-project.org/#change,78128) I'd really like to clarify our rules for including private headers in Qt. http://qt-project.org/wiki/Coding-Conventions#32bc73e08b315a2d85bfd10b2e8c867a has a few notes on that but they're not very conclusi

[Development] About html 5 audio/video

2014-02-14 Thread T andolsi
Hi, I'm using QT-5.1.1. I'm trying to run a video with a large size (600Mb but we have only 400Mb), - Using http protocol, the video starts to play and then I'm getting the following failures: sometimes "terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc