Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Thiago Macieira
On Wednesday 04 March 2015 02:40:55 Aleix Pol wrote: > On Tue, Mar 3, 2015 at 2:55 PM, Sergio Martins wrote: > > Hi, > > > > > > > > So that you don't waste time pulling your hair out: plugin loading is > > broken with gcc 4.9.2 > > > > > > > > There's some clash between global static QFact

[Development] "foo" and the qnetworkdiskcache failure

2015-03-03 Thread Thiago Macieira
Short story: I think the current CI failure in 5.5 is fixed by https://codereview.qt-project.org/107701 Long story: tst_qnetworkdiskcache has been trying to fetch pages from "www.foo.com", which is a real domain. It's possible that that the infrastructure for this domain changed recently, cau

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Aleix Pol
On Tue, Mar 3, 2015 at 2:55 PM, Sergio Martins wrote: > Hi, > > > > So that you don't waste time pulling your hair out: plugin loading is broken > with gcc 4.9.2 > > > > There's some clash between global static QFactoryLoader instances. > > Reproduced on Archlinux (and on Fedora by jpnurmi). I al

Re: [Development] C++11 for Examples

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 10:38:22 Thiago Macieira wrote: > > Yeah well, I think the above check "contains(QT_CONFIG, c++11)" won't > > hurt. > > I'd just do it globally in configure though (so that examples aren't > > automatically build for older compilers), instead of black/whitelisting > > singl

Re: [Development] C++11 for Examples

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 17:38:47 Matthew Woehlke wrote: > On 2015-03-03 16:49, Thiago Macieira wrote: > > On Tuesday 03 March 2015 16:15:59 Matthew Woehlke wrote: > >> And on a different note... what about initializer lists? I literally > >> > >> just today was writing: > >> QProcess process; >

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 22:14:55 Sergio Martins wrote: > In frame #2, we do loader(), which should create an instance of the > "/platforms" QFactoryLoader, but instead, it calls innerFunction() of a > global static of another translation unit (QFactoryLoader of "/accessible" > plugins). > > A si

Re: [Development] C++11 for Examples

2015-03-03 Thread Matthew Woehlke
On 2015-03-03 16:49, Thiago Macieira wrote: > On Tuesday 03 March 2015 16:15:59 Matthew Woehlke wrote: >> And on a different note... what about initializer lists? I literally >> just today was writing: >> >> QProcess process; >> process.start("cmd", {"arg", "arg", QString::number(value) ...});

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Sergio Martins
On Tuesday, March 03, 2015 11:45:49 Thiago Macieira wrote: > On Tuesday 03 March 2015 13:55:29 Sergio Martins wrote: > > Hi, > > > > So that you don't waste time pulling your hair out: plugin loading is > > broken with gcc 4.9.2 > > > > There's some clash between global static QFactoryLoader inst

Re: [Development] C++11 for Examples

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 16:15:59 Matthew Woehlke wrote: > > Unlikely, we don't create new template classes in our examples. There are > > also very few classes in the Qt sources that would benefit from it. > > I can think of a few that *might*... QString::arg, I have a replacement for QString::a

Re: [Development] C++11 for Examples

2015-03-03 Thread Matthew Woehlke
On 2015-03-03 14:43, Thiago Macieira wrote: > On Tuesday 03 March 2015 12:57:55 Matthew Woehlke wrote: >> On 2015-03-03 05:17, Koehne Kai wrote: >>> What's missing from the list IMO is using QObject::connect with >>> PointerToMemberFunction instead of SIGNAL(), SLOT(). >> I thought that was just ne

Re: [Development] QtCore missing check for memory allocation

2015-03-03 Thread Oswald Buddenhagen
On Mon, Mar 02, 2015 at 10:11:33AM -0800, Thiago Macieira wrote: > On Monday 02 March 2015 11:21:10 Oswald Buddenhagen wrote: > > > I am actively against it while it's a huge burden on us for little > > > perceived benefit. You have to convince me of the benefit against the > > > cost. > > > > i

Re: [Development] C++11 for Examples

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 12:57:55 Matthew Woehlke wrote: > On 2015-03-03 05:17, Koehne Kai wrote: > > What's missing from the list IMO is using QObject::connect with > > PointerToMemberFunction instead of SIGNAL(), SLOT(). > I thought that was just new in Qt5, and that it does *not* require > C++11

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 13:55:29 Sergio Martins wrote: > Hi, > > So that you don't waste time pulling your hair out: plugin loading is > broken with gcc 4.9.2 > > There's some clash between global static QFactoryLoader instances. > Reproduced on Archlinux (and on Fedora by jpnurmi). Please expl

Re: [Development] C++11 for Examples

2015-03-03 Thread Thiago Macieira
On Tuesday 03 March 2015 10:17:45 Koehne Kai wrote: > > Make it unconditional and let people disable with -nomake tests or -no- > > compile-examples if they have older compilers. > > Yeah well, I think the above check "contains(QT_CONFIG, c++11)" won't hurt. > I'd just do it globally in configure

Re: [Development] C++11 for Examples

2015-03-03 Thread Matthew Woehlke
On 2015-03-03 05:17, Koehne Kai wrote: > What's missing from the list IMO is using QObject::connect with > PointerToMemberFunction instead of SIGNAL(), SLOT(). I thought that was just new in Qt5, and that it does *not* require C++11. The documentation seems to imply so, anyway: "The number of

Re: [Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Albert Astals Cid
And Ubuntu, i've had this issue for a long time and i thought i was the only one and thus only renamed all the loaders in the .cpp files and went on with it :D On Tue, Mar 3, 2015 at 2:55 PM, Sergio Martins wrote: > Hi, > > > > So that you don't waste time pulling your hair out: plugin loading is

[Development] Problem loading plugins with gcc 4.9.2

2015-03-03 Thread Sergio Martins
Hi, So that you don't waste time pulling your hair out: plugin loading is broken with gcc 4.9.2 There's some clash between global static QFactoryLoader instances. Reproduced on Archlinux (and on Fedora by jpnurmi). Regards, -- Sérgio Martins | sergio.mart...@kdab.com | Software Engineer Klarä

Re: [Development] Please update the maintainer table at http://wiki.qt.io/index.php?title=Maintainers

2015-03-03 Thread Kojo Tero
Since you both asked nicely, I did it this morning. The full style links still work, for those who use them. Tero From: development-bounces+tero.kojo=theqtcompany@qt-project.org [mailto:development-bounces+tero.kojo=theqtcompany@qt-project.org] On Behalf Of Tobias Hunger Sent: 3. maali

Re: [Development] C++11 for Examples

2015-03-03 Thread Rutledge Shawn
On 3 Mar 2015, at 11:30, Guido Seifert wrote: > >> Make it unconditional and let people disable with -nomake tests or >> -no-compile-examples if they have older compilers. > > Why not make different example categories? One category, which has the same > policies as Qt itself, i.e. it compile

Re: [Development] Update and resubmit on reverted submission

2015-03-03 Thread Samuel Gaist
On 2 mars 2015, at 04:24, Thiago Macieira wrote: > On Monday 02 March 2015 00:31:08 Samuel Gaist wrote: >> Hi, >> >> I've had a submission merged but then reverted because of an unforeseen bug. >> I've updated the code, added a new test and wanted to push it again to keep >> the history and disc

Re: [Development] C++11 for Examples

2015-03-03 Thread Guido Seifert
> Make it unconditional and let people disable with -nomake tests or > -no-compile-examples if they have older compilers. Why not make different example categories? One category, which has the same policies as Qt itself, i.e. it compiles with all the compilers Qt supports. Additionally a categ

Re: [Development] C++11 for Examples

2015-03-03 Thread Koehne Kai
> -Original Message- > From: development-bounces+kai.koehne=theqtcompany.com@qt- > [...] > > 2.) Coding convention for C++11 constructs and set of permitted features: > > https://wiki.qt.io/index.php?title=Coding_Conventions#Conventions_for_ > > C.2B.2 > > B11_usage > > I didn't know thi

Re: [Development] Please update the maintainer table at http://wiki.qt.io/index.php?title=Maintainers

2015-03-03 Thread Tobias Hunger
On Mar 2, 2015 7:10 PM, "Thiago Macieira" wrote: > BTW, any chance of getting mod_rewrite so the "index.php?title=" part gets > hidden? I did ask Tero the exact same question: Yes, it is planned, but getting the contents across is the priority at this time. Best Regards, Tobias _