Re: [Development] qbs (qt creator submodule) failed to checkout

2017-04-07 Thread Thiago Macieira
Em sexta-feira, 7 de abril de 2017, às 13:56:24 PDT, Ernst Maurer escreveu: > *fatal: repository 'http://code.qt.io/cgit/qt-creator/qt-labs/qbs.git/ > ' not found* The URL is wrong. What are you using to check out the submoudle? And what is

[Development] qbs (qt creator submodule) failed to checkout

2017-04-07 Thread Ernst Maurer
I'm no an active developer, so I'm getting the source of Qt Creator probably one time per 2-4 months, and no one checkout was successful during last year.always the same error *Cloning into 'C:/dev/workspace/qt-creator/src/shared/qbs'...* *fatal: repository

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Thiago Macieira
Em sexta-feira, 7 de abril de 2017, às 12:38:37 PDT, Shawn Rutledge escreveu: > > Passing float or double by value means they get passed in the x87 > > registers. > > SIMD registers you mean, or are those the same? At some point I read that > the 387-era FPU instructions are way too slow by

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Giuseppe D'Angelo
Il 07/04/2017 19:54, Thiago Macieira ha scritto: >> Sorry, what do you mean "is fine"? What's not fine? > Passing float or double by value means they get passed in the x87 registers. > Passing float inside a struct means it's passed in the x86 stack instead. This is a separate discussion,

[Development] Qt 5.9.0 RC aborts on OS X 10.9

2017-04-07 Thread René J . V . Bertin
Hello, A somewhat unorthodox issue report. I encountered the error messages below after building the 5.9.0RC QMacStyle against Qt 5.8.0 (hence also reporting via the ML): 2017-04-07 21:26:41.315 oxygen-demo5[3673:d0b] +[NSGraphicsContext graphicsContextWithCGContext:flipped:]: unrecognized

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Shawn Rutledge
On Apr 7, 2017, at 19:54, Thiago Macieira wrote: > Em sexta-feira, 7 de abril de 2017, às 10:10:38 PDT, Giuseppe D'Angelo > escreveu: >> Il 07/04/2017 17:45, Thiago Macieira ha scritto: >>> We're not talking about primitives. We're talking about structs that are >>>

Re: [Development] What happened to the *-dbg packages in Ubuntu 17.04

2017-04-07 Thread Konstantin Tokarev
07.04.2017, 21:18, "Nathan Osman" : > Hi, > > I recently switched to the second beta of Kubuntu 17.04. I attempted to > install the qtbase5-dbg package, only to discover that it was absent. In > fact, not only was this package missing but all of the *-dbg packages for

[Development] What happened to the *-dbg packages in Ubuntu 17.04

2017-04-07 Thread Nathan Osman
Hi, I recently switched to the second beta of Kubuntu 17.04. I attempted to install the qtbase5-dbg package, only to discover that it was absent. In fact, not only was this package missing but all of the *-dbg packages for Qt components were missing. Is there another package that provides the

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Thiago Macieira
Em sexta-feira, 7 de abril de 2017, às 10:10:38 PDT, Giuseppe D'Angelo escreveu: > Il 07/04/2017 17:45, Thiago Macieira ha scritto: > > We're not talking about primitives. We're talking about structs that are > > very small and trivial. See for yourself: > > > > https://godbolt.org/g/pvwjWE > >

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Giuseppe D'Angelo
Il 07/04/2017 17:45, Thiago Macieira ha scritto: > We're not talking about primitives. We're talking about structs that are very > small and trivial. See for yourself: > > https://godbolt.org/g/pvwjWE > > Direct primitive passing is fine: > > https://godbolt.org/g/Ghj8US Sorry, what do you

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Sergio Martins
On 2017-04-07 14:02, Lars Knoll wrote: There might be a little catch with regards to structs containing members that are 8 bytes in size (aka quint64). Are those getting passed in registers on 32bit ARM? struct struct_16Bytes { unsigned long long first, second; }; unsigned long long

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Marc Mutz
On Friday 07 April 2017 17:28:51 Marc Mutz wrote: > Crowl's CppCon 2014 presentation for the pov of a developer > (https://www.youtube.com/watch?v=17rtjq9r27M). Specifically https://youtu.be/17rtjq9r27M?t=1156 -- Marc Mutz | Senior Software Engineer KDAB (Deutschland) GmbH

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Thiago Macieira
Em sexta-feira, 7 de abril de 2017, às 08:31:07 PDT, Ch'Gans escreveu: > > x86 doesn't pass in registers anyway. The best you'd get is the elements > > of > > the struct pushed on the stack, instead of pushed elsewhere on the stack > > and an address to the stack pushed on the stack. > > What

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Ch'Gans
On 8 April 2017 at 03:21, Thiago Macieira wrote: > Em sexta-feira, 7 de abril de 2017, às 06:02:55 PDT, Lars Knoll escreveu: >> Those rules sound about right. We can do this nowadays, as x86 will become >> rather irrelevant for Qt 6 (where passing structs by reference

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Marc Mutz
On Friday 07 April 2017 15:02:55 Lars Knoll wrote: > There might be a little catch with regards to structs containing members > that are 8 bytes in size (aka quint64). Are those getting passed in > registers on 32bit ARM? Forget register passing. To a first approximation, it does not matter. If

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Thiago Macieira
Em sexta-feira, 7 de abril de 2017, às 06:02:55 PDT, Lars Knoll escreveu: > Those rules sound about right. We can do this nowadays, as x86 will become > rather irrelevant for Qt 6 (where passing structs by reference would > probably be better in most cases due to the limited amount of available >

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Lars Knoll
> On 7 Apr 2017, at 12:40, Sergio Martins wrote: > > Hi, > > > Some time ago I documented the guidelines on passing by value vs const-ref: > https://wiki.qt.io/API_Design_Principles#Passing_by_const-ref_vs._Passing_by_value > This was discussed in #qt-labs at the

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Alexander Nassian
I don't care, I always pass const-ref ;) Beste Grüße / Best regards, Alexander Nassian > Am 07.04.2017 um 13:30 schrieb Konstantin Tokarev : > > > > 07.04.2017, 13:41, "Sergio Martins" : >> Hi, >> >> Some time ago I documented the guidelines on

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Konstantin Tokarev
07.04.2017, 13:41, "Sergio Martins" : > Hi, > > Some time ago I documented the guidelines on passing by value vs > const-ref: > https://wiki.qt.io/API_Design_Principles#Passing_by_const-ref_vs._Passing_by_value > This was discussed in #qt-labs at the time and informally

[Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Sergio Martins
Hi, Some time ago I documented the guidelines on passing by value vs const-ref: https://wiki.qt.io/API_Design_Principles#Passing_by_const-ref_vs._Passing_by_value This was discussed in #qt-labs at the time and informally +2'd there. But the reality is that passing small structs by value is

[Development] [Announce] Qt 5.9 Beta released

2017-04-07 Thread List for announcements regarding Qt releases and development
Hi, I am happy to inform Qt 5.9 Beta is released today, see http://blog.qt.io/blog/2017/04/07/qt-5-9-beta-released/. As informed earlier beta binaries are available only via qt online installer (except QNX package for enterprise users which is still using offline installer & available in qt