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

魏越闽 weiyuemin at 7fgame.com
Sat May 11 14:59:31 CEST 2013


Yes, I'm doing the step 2. and the step 3.  in the qtquick1 and the qtdeclarative directory.
Yes, I clean and rebuild my application after step 7.
Oh Yes, there is a jump..

Here's the backtrace:

>	Qt5Qmld.dll!QQmlData::notify(int index)  Line 238 + 0xc bytes	C++
 	Qt5Qmld.dll!QQmlData::signalEmitted(QAbstractDeclarativeData * __formal, QObject * object, int index, void * * a)  Line 596 + 0xc bytes	C++
 	Qt5Cored.dll!QMetaObject::activate(QObject * sender, int signalOffset, int local_signal_index, void * * argv)  Line 3338 + 0x1e bytes	C++
 	Qt5Cored.dll!QMetaObject::activate(QObject * sender, const QMetaObject * m, int local_signal_index, void * * argv)  Line 3320 + 0x1e bytes	C++
 	Qt5Widgetsd.dll!QGraphicsObject::widthChanged()  Line 439 + 0x13 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeItem::geometryChanged(const QRectF & newGeometry, const QRectF & oldGeometry)  Line 2166	C++
 	Qt5Declaratived.dll!QDeclarativeItemPrivate::setWidth(double w)  Line 3342	C++
 	Qt5Widgetsd.dll!QGraphicsObject::qt_metacall(QMetaObject::Call _c, int _id, void * * _a)  Line 347 + 0x26 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeItem::qt_metacall(QMetaObject::Call _c, int _id, void * * _a)  Line 441 + 0x18 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeRectangle::qt_metacall(QMetaObject::Call _c, int _id, void * * _a)  Line 553 + 0x14 bytes	C++
 	Qt5Cored.dll!QMetaObject::metacall(QObject * object, QMetaObject::Call cl, int idx, void * * argv)  Line 308	C++
 	Qt5Declaratived.dll!QDeclarativeVME::run(QDeclarativeVMEObjectStack & stack, QDeclarativeContextData * ctxt, QDeclarativeCompiledData * comp, int start, int count, const QBitField & bindingSkipList)  Line 466 + 0x20 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeVME::run(QDeclarativeContextData * ctxt, QDeclarativeCompiledData * comp, int start, int count, const QBitField & bindingSkipList)  Line 133 + 0x26 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeComponentPrivate::begin(QDeclarativeContextData * parentContext, QDeclarativeContextData * componentCreationContext, QDeclarativeCompiledData * component, int start, int count, QDeclarativeComponentPrivate::ConstructionState * state, QList<QDeclarativeError> * errors, const QBitField & bindings)  Line 872 + 0x1c bytes	C++
 	Qt5Declaratived.dll!QDeclarativeComponentPrivate::beginCreate(QDeclarativeContextData * context, const QBitField & bindings)  Line 837 + 0x3a bytes	C++
 	Qt5Declaratived.dll!QDeclarativeComponent::beginCreate(QDeclarativeContext * context)  Line 799 + 0x33 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeComponent::create(QDeclarativeContext * context)  Line 768 + 0x11 bytes	C++
 	Qt5Declaratived.dll!QDeclarativeView::continueExecute()  Line 552 + 0x1d bytes	C++
 	Qt5Declaratived.dll!QDeclarativeViewPrivate::execute()  Line 176	C++
 	Qt5Declaratived.dll!QDeclarativeView::setSource(const QUrl & url)  Line 340	C++
 	mix_quick2_with1.exe!start_quick1_view(QWidget * parent)  Line 12 + 0x3d bytes	C++
 	mix_quick2_with1.exe!main(int argc, char * * argv)  Line 23 + 0x7 bytes	C++
	mix_quick2_with1.exe!WinMain(HINSTANCE__ * instance, HINSTANCE__ * prevInstance, char * __formal, int cmdShow)  Line 131 + 0x12 bytes	C++
 	mix_quick2_with1.exe!__tmainCRTStartup()  Line 547 + 0x2c bytes	C
 	mix_quick2_with1.exe!WinMainCRTStartup()  Line 371	C
 	kernel32.dll!7c81776f() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	
 	Qt5Guid.dll!set_text(const QImage & image, png_struct_def * png_ptr, png_info_def * info_ptr, const QString & description)  Line 751 + 0x18e bytes	C++
 	Qt5Scriptd.dll!0202d0cf() 	
 	8b0c458b()	


------------------------------------------------------------------
Wei Yuemin
7FGame


-----邮件原件-----
发件人: Olivier Goffart [mailto:olivier at woboq.com] 
发送时间: 2013年5月11日 20:54
收件人: 魏越闽
抄送: development at qt-project.org; Harri Porten
主题: Re: 答复: [Development] 答复: QtQuick1 and 2

On Saturday 11 May 2013 12:41:36 魏越闽 wrote:
> Hi,
> I patched https://codereview.qt-project.org/#change,55658 just now.
> Now I have both patches, but still got the same error. 
> I've already put the code into two .cpp files, as I wrote in
> https://bugreports.qt-project.org/browse/QTBUG-31064
> It will crash even
> though the QQuickView and QDeclarativeView don't have a parent-child 
> relationship.
> I'm on Windows XP, using msvc2010
> 
> What I do:
> 1). Update the code using 
>     git pull
>     git submodule sync
>     git submodule update --recursive
> 2). git fetch https://codereview.qt-project.org/p/qt/qtquick1
> refs/changes/21/55521/6 && git checkout FETCH_HEAD 3). Jom\jom
> module-qtquick1
> 4). Jom\jom module-qtquick1-install_subtargets
> 5). git fetch https://codereview.qt-project.org/p/qt/qtdeclarative
> refs/changes/58/55658/1 && git checkout FETCH_HEAD 6). Jom\jom 
> module-qtdeclarative 7). Jom\jom 
> module-qtdeclarative-install_subtargets
> At this time I tried and got the same error. Then I repeated 3). and 4).
> Still the same error.

Are you doing the step 2. and the step 3.  in the qtquick1 and the qtdeclarative directory ?
Are you recompiling your app in after step 7.?

If it still crashes, it means there are still more conflicts. What's the backtrace?  If there is a jump from a QtDeclarative to a QtQml symbol or vice versa, that's the issue.

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




More information about the Development mailing list