[Development] 答复: 答复: 答复: QtQuick1 and 2

Olivier Goffart olivier at woboq.com
Sat May 11 15:38:52 CEST 2013


[...]
> Qt5Qmld.dll!QQmlData::signalEmitted
[...]

Ah of course...  The global hooks that QtDeclarative uses conflicts with 
eachother.

Turns out the declarative team will need more work to get QtQuick1 and 
QtQuick2 working on the same application:
 - The hooks need to forward eachother: QQmlData::init and 
QDeclarativeData::init cannot just simply overwrite the hooks, they need to 
keep the old value, and call it from within the hook.
 - The hook will need to make sure that a given QObject's 
QAbstractDeclarativeData is of the proper type. 

Good luck with that :-)

-- 
Olivier 
 
Woboq - Qt services and support - http://woboq.com - http://code.woboq.org



More information about the Development mailing list