[Development] QtQuick1 and 2

Dominik Holland dominik.holland at pelagicore.com
Sat May 11 14:09:38 CEST 2013


On May 11, 2013, at 1:50 PM, Olivier Goffart <olivier at woboq.com> wrote:

> On Saturday 11 May 2013 11:41:03 魏越闽 wrote:
>> Hi,
>> My test result:
>> https://bugreports.qt-project.org/browse/QTBUG-31064?focusedCommentId=202419
>> &page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comme
>> nt-202419
> 
> 
> You need to have both 
> https://codereview.qt-project.org/#change,55521
> and
> https://codereview.qt-project.org/#change,55658
> 
> With those two patches, you should be able to have an application with both 
> QtQuick1 and QtQuick2
> 
> Howerver, you still cannot include QtQuick1 and QtQuick2 headers in the same 
> translation unit.
> In other words, code using QtQuick1's QtDeclarative, and code using QtQuick2's 
> QtQml needs to be in different .cpp files.

I haven't had a look at the patches but i hope you will get some nice warning when trying this
or it is documented in both modules. Otherwise it will lead to a lot of confusion…

Dominik




More information about the Development mailing list