[Development] (Harmattan) Qt Quick Components & Qt 5

morten.sorvig at nokia.com morten.sorvig at nokia.com
Thu May 31 12:08:08 CEST 2012


On May 31, 2012, at 10:53 AM, ext Simon Hausmann wrote:

> On Thursday, May 31, 2012 11:47:23 AM ext Laszlo Papp wrote:
>>> Please re-use the existing port of Qt Quick Components to Qt 5 before
>>> starting a new effort.
>> 
>> It is nice to have a branch, but why QtQuick 1.1 usages all around ?
> 
> Because we wanted to keep the diff to master as small as possible, hence the 
> define/macro hacks. A smaller diff in turn makes it easier to merge _from_ 
> master.


We're in the same situation with the desktop components, wanting to minimize diff between the Qt 4 and 5 branches. I was even looking at a qmake hack to bump the import version. How did this work out in practice for the components project?

The fact that we are both working around the versioned imports is interesting. So the question to the declarative devs become: Are there good reasons to not allow a versionless import?

import QtQuick // Give me the highest version available and let me deal with the consequences

This would be especially useful for "middleware" projects like components that should work on multiple  Qt Quick versions.

Morten












More information about the Development mailing list