Re: [Development] Work on qDebug and friends

2012-01-24 Thread Todd.Rose
> Hi, > > I've been working on a patch to the Qt logging framework: > http://codereview.qt-project.org/#change,13433,patchset=14 . Basically it > redefines qDebug() and friends as a macro so that we can automatically > capture the source file, line, and function a particular message comes from: >

Re: [Development] Text clipping in QtQuick 2.0

2012-01-17 Thread Todd.Rose
:-) In my defense I was surprised that it wasn't already reported so I thought maybe I was doing something wrong. FWIW you can work around it for now by putting the Text inside a Rectangle with clip: true. BR, Todd > -Original Message- > From: development-bounces+todd

Re: [Development] Text clipping in QtQuick 2.0

2012-01-16 Thread Todd.Rose
Doh! That should read "Text elements...are *not* being clipped..." From: development-bounces+todd.rose=nokia@qt-project.org [mailto:development-bounces+todd.rose=nokia@qt-project.org] On Behalf Of ext todd.r...@nokia.com Sent: Tuesday, January 17, 2012 12:34 AM To: deve

[Development] Text clipping in QtQuick 2.0

2012-01-16 Thread Todd.Rose
Text elements with wrapMode: Text.NoWrap are being clipped when the text painted width exceeds the element width. Seems like a big regression from QtQuick1.x...is this a known issue? Bug? Feature? Simple example: TextBug.qml import QtQuick 2.0 Rectangle { width: 360 height: 360

Re: [Development] Types defined in c++ plugin aren't available in QML code

2012-01-16 Thread Todd.Rose
Hi, I think your example.qml needs to import the library that contains your custom C++ type...so in your scenario it would be something like "import myplugin 1.0". Best regards, Todd From: development-bounces+todd.rose=nokia@qt-project.org [d

Re: [Development] Status of QtDeclarative on Windows?

2012-01-15 Thread Todd.Rose
ce on Windows currently? -Todd > -Original Message- > From: development-bounces+todd.rose=nokia@qt-project.org > [mailto:development-bounces+todd.rose=nokia@qt-project.org] On > Behalf Of ext todd.r...@nokia.com > Sent: Saturday, January 14, 2012 4:47 PM > To: Storm

Re: [Development] Status of QtDeclarative on Windows?

2012-01-14 Thread Todd.Rose
It seems equally slow when running debug and release libs, but will double check later this weekend to make sure it's not user-error. I think it has more to do with running with a video card that doesn't provide much (if any?) hardware acceleration. But I was assuming that even in that case th

[Development] Status of QtDeclarative on Windows?

2012-01-13 Thread Todd.Rose
Just for fun I've been playing with a medium-sized QML app that we had written for 4.7/Symbian and porting it to Qt5/QML2. Mostly have been working on Linux but the past few days I finally got around to compiling Qt5 on Windows and playing around with the project enough so that it would compile

[Development] QLatin1Constant and QtContacts / QtOrganizer

2011-12-19 Thread Todd.Rose
I'm in the early stages of trying to port a Qt4.7 app that uses qt-mobility to Qt5. Today I noticed compile errors caused by the duplication of qlatin1constant.h in both of these modules. The problem shows when you write an app that uses both the QtContacts and the QtOrganizer modules. Heade