Re: [Development] Imageformats v2

2015-05-21 Thread Konstantin Ritt
2015-05-21 10:16 GMT+04:00 Rutledge Shawn : > > So I’d add both frame and frameCount to Image, which would be enough in > this example, and then you don’t need the ImageDocument for such a simple > use case. > Doesn't this mean Image becomes a light-weight variant of ImageDocument? How will image

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-21 Thread Thiago Macieira
On Thursday 21 May 2015 15:36:46 Marc Mutz wrote: > FTR: Attempt at a workaround (existed for QVector already): >https://codereview.qt-project.org/112761 > Now, _that_ is one ugly hack. And only necessary because non-polymorphic > classes were exported. Open (perceived) beauty in one header th

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-21 Thread Thiago Macieira
On Thursday 21 May 2015 14:54:24 Marc Mutz wrote: > > How? > > Compile a QtCore debug version with an MSVC version that doesn't support > rvalue refs, try to link against an application compiled with an MSVC > version that does? > > > > By Sergio's problem, an application built in C++11 debug mod

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-21 Thread Marc Mutz
On Saturday 16 May 2015 22:01:36 Marc Mutz wrote: > But the root problem isn't inheriting from templates, it's exporting > the whole subclass. > > Convinced now? FTR: Attempt at a workaround (existed for QVector already): https://codereview.qt-project.org/112761 Now, _that_ is one ugly hack. A

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-21 Thread Joerg Bornemann
On 21-May-15 14:54, Marc Mutz wrote: > Compile a QtCore debug version with an MSVC version that doesn't support > rvalue refs, try to link against an application compiled with an MSVC version > that does? You (usually) cannot build your application with MSVC X and link against a Qt that was buil

Re: [Development] Suggested addition to wiki.qt.io/Coding_Conventions

2015-05-21 Thread Marc Mutz
On Wednesday 20 May 2015 20:23:01 Thiago Macieira wrote: > On Tuesday 19 May 2015 11:47:47 Marc Mutz wrote: > > Taking this train of thought one stop further: this is also makes QString > > > > BiC: > > > > class Q_CORE_EXPORT QString > > { > > public: > > // ... > > > > #ifdef Q_COMPILE