Re: [Development] Perf about loading one 240x320 png image

2012-09-30 Thread Diego Iastrubni
On Sat, Sep 29, 2012 at 7:21 AM, wrote: > Hi, > > ** ** > > I am testing the image loading performance in Qt5, that the image with > different location (qt resource or file system) and using QImage or QPixmap. > > > ** ** > > Testing is based on a low end devices, and the result is shar

Re: [Development] Nested namespaces and syncqt

2012-09-30 Thread Sandro Andrade
Hi there, any suggestion about that ? Thanks, -- Sandro On Wed, Sep 19, 2012 at 3:27 PM, Sandro Andrade wrote: > Hi, > > I'm developing a qt-based implementation of an OMG specification with > defines a number of > classes in different (nested) namespaces. I'd be nice to have the > implementatio

[Development] Does localeAwareCompare know about case sensitivity?

2012-09-30 Thread Mark
Hi, Is this FIXME still valid: http://api.kde.org/4.9-api/kdelibs-apidocs/kdecore/html/kstringhandler_8cpp_source.html#l00313 For completeness: // FIXME: Using toLower() to implement case insensitive comparison is // sub-optimal, but is needed because we compare strings with // localeAwareCompare

Re: [Development] Community effort in updating Qt5 docs -- QThread focus

2012-09-30 Thread Sze Howe Koh
On Sun, Sep 30, 2012 at 2:58 AM, Sze Howe Koh wrote: > On Sun, Sep 30, 2012 at 2:24 AM, Chris Meyer wrote: > >> On Sat, Sep 29, 2012 at 11:04 AM, João Abecasis >> wrote: >> >> >> Since Qt 4.8 you can connect QThread::finished to QObject::deleteLater >> >> and it should do the right thing in the

Re: [Development] Qt 5: Warning using QImage as QtConcurrent::mapped return type

2012-09-30 Thread Olivier Goffart
On Saturday 29 September 2012 15:53:15 Stephen Chu wrote: > The following code generates warning about memcpy on object type: > > QList images; > QList future = QtConcurrent::blockingMapped(images, scaled); > > The warning: > > In file included from /Qt/5.0/qtbase/include/QtCore/qvecto

Re: [Development] Perf about loading one 240x320 png image

2012-09-30 Thread João Abecasis
Diego Iastrubni wrote: > My experience is with Qt4... but I do see that QFile was slow for me. I > needed to parse a simple text file from a real disk (~10mb size, simple > state machine, no regex, application run several times for disk IO to get > working thus reducing the impact of HW). My first

Re: [Development] Nested namespaces and syncqt

2012-09-30 Thread Thiago Macieira
On quarta-feira, 19 de setembro de 2012 15.27.53, Sandro Andrade wrote: > 1) It seems there are no qt modules currently using nested namespaces. > Would that make > my module looks somehow non qt-ish ? Right. > It'd be nice if we could have a more direct mapping > between spec and implementation.

Re: [Development] Qt 5: Warning using QImage as QtConcurrent::mapped return type

2012-09-30 Thread Thiago Macieira
On domingo, 30 de setembro de 2012 18.50.49, Olivier Goffart wrote: > > In file included from /Qt/5.0/qtbase/include/QtCore/qvector.h:1: > > /Qt/5.0/qtbase/include/QtCore/../../src/corelib/tools/qvector.h:459:56: > > warning: source of this 'memcpy' call is a pointer to dynamic class > > 'QImage';

Re: [Development] Does localeAwareCompare know about case sensitivity?

2012-09-30 Thread Thiago Macieira
On domingo, 30 de setembro de 2012 17.36.16, Mark wrote: > Hi, > > Is this FIXME still valid: > http://api.kde.org/4.9-api/kdelibs-apidocs/kdecore/html/kstringhandler_8cpp_ > source.html#l00313 > > For completeness: > // FIXME: Using toLower() to implement case insensitive comparison is > // sub-op

Re: [Development] Nested namespaces and syncqt

2012-09-30 Thread Sze Howe Koh
On Mon, Oct 1, 2012 at 7:10 AM, Thiago Macieira wrote: > On quarta-feira, 19 de setembro de 2012 15.27.53, Sandro Andrade wrote: > > 1) It seems there are no qt modules currently using nested namespaces. > > Would that make > > my module looks somehow non qt-ish ? > > Right. syncqt is not to b