[Development] Question about QCoreApplicationData::*_libpaths

Milian Wolff milian.wolff at kdab.com
Tue Jan 19 15:13:57 CET 2016

On Dienstag, 19. Januar 2016 13:40:39 CET Uwe Rathmann wrote:
> On Tue, 19 Jan 2016 08:39:02 +0000, Knoll Lars wrote:
> > The main question IMO is how we can bring these two worlds closer
> > together for Qt 6 (or maybe even to some extent in Qt 5.x).
> Why - ending up with an inconsistent and undecided API ?
> To me the API design is the most valuable asset of the Qt classes. To
> make it worse because of corner case performance consideration, or to
> make some of your developers happy - sounds just wrong to me.
> >From my point of view ( being an application developer ) the most
> important thing is, that I can make APIs like:
> - Vector<QPointF> interpolated( const Vector<QPointF> & )
> because it leads to more readable code than:
> - void interpolated( const Vector<QPointF> &in, Vector<QPointF> &out ).

With C++11 move semantics, you can, and should, do the first options even for 
large vectors, also if Vector == std::vector.

So this point is moot.
Milian Wolff | milian.wolff at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel: +49-30-521325470
KDAB - The Qt Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5903 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/development/attachments/20160119/5af82879/attachment.bin>

More information about the Development mailing list