Hello,

I wanted to try out the QML SceneGraph component and therefore checked out 
the "qml-team/qtquick2" branch from 
http://qt.gitorious.org/+qt-developers/qt/staging/ according to what was 
suggested here:

http://lists.qt.nokia.com/pipermail/qt-qml/2011-April/002515.html

Then I tried to build the source code using the following commands:

configure
nmake

My system is WinXP with VS2008.

Everything seems to build fine until there is some strange unknown symbols 
error in the linking phase of some component:

        cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -MP -GR -EHsc -W3 
-w34100 -w34189 -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT 
-D_BIND_TO_CURRENT_VCLIB
S_VERSION=1 -DQT_DLL -DQT_PLUGIN -DQT_DECLARATIVE_LIB -DQT_OPENGL_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE 
-DQT_HAVE
_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT -I"..\..\..\include\QtCore" 
-I"..\..\..\include\QtGui" -I"..\..\..\include\QtOpenGL" 
-I"..\..\..\include\Qt
Declarative" -I"..\..\..\include" -I"..\..\..\include\ActiveQt" 
-I"tmp\moc\debug_shared" -I"..\..\..\mkspecs\win32-msvc2008" 
-Fotmp\obj\debug_shared\
@C:\Temp\nm6D3.tmp
moc_qdeclarativeparticles_p.cpp
...
[many other cpp files that compile fine]
...
moc_deformableparticle.cpp
c:\qt-quick2\src\imports\particles\tmp\moc\debug_shared\../../../modelparticle.h(122)
 
: warning C4100: 'parent' : unreferenced formal parameter
moc_pictureaffector.cpp
        link /LIBPATH:"c:\Qt-Quick2\lib" /LIBPATH:"c:\Qt-Quick2\lib" 
/NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /MANIFEST 
/MANIFESTFILE:"tmp\obj\debug
_shared\qmlparticlesplugind.intermediate.manifest" 
/OUT:..\..\..\imports\Qt\labs\particles\qmlparticlesplugind.dll 
@C:\Temp\nm6D4.tmp
   Creating library 
..\..\..\imports\Qt\labs\particles\qmlparticlesplugind.lib and object 
..\..\..\imports\Qt\labs\particles\qmlparticlesplugind.exp
modelparticle.obj : error LNK2019: unresolved external symbol "public: 
void __thiscall QSGVisualDataModel::setDelegate(class 
QDeclarativeComponent *)"
 (?setDelegate@QSGVisualDataModel@@QAEXPAVQDeclarativeComponent@@@Z) 
referenced in function "public: void __thiscall 
ModelParticle::setModel(class QVa
riant const &)" (?setModel@ModelParticle@@QAEXABVQVariant@@@Z)
modelparticle.obj : error LNK2019: unresolved external symbol "public: 
void __thiscall QSGVisualDataModel::setModel(class QVariant const &)" 
(?setMode
l@QSGVisualDataModel@@QAEXABVQVariant@@@Z) referenced in function "public: 
void __thiscall ModelParticle::setModel(class QVariant const &)" 
(?setModel
@ModelParticle@@QAEXABVQVariant@@@Z)
modelparticle.obj : error LNK2019: unresolved external symbol "public: 
__thiscall QSGVisualDataModel::QSGVisualDataModel(class 
QDeclarativeContext *,c
lass QObject *)" 
(??0QSGVisualDataModel@@QAE@PAVQDeclarativeContext@@PAVQObject@@@Z) 
referenced in function "public: void __thiscall ModelParticle::se
tModel(class QVariant const &)" 
(?setModel@ModelParticle@@QAEXABVQVariant@@@Z)
modelparticle.obj : error LNK2019: unresolved external symbol "public: 
class QDeclarativeComponent * __thiscall 
QSGVisualDataModel::delegate(void)cons
t " (?delegate@QSGVisualDataModel@@QBEPAVQDeclarativeComponent@@XZ) 
referenced in function "public: class QDeclarativeComponent * __thiscall 
ModelPart
icle::delegate(void)const " 
(?delegate@ModelParticle@@QBEPAVQDeclarativeComponent@@XZ)
modelparticle.obj : error LNK2001: unresolved external symbol "public: 
static struct QMetaObject const QSGVisualDataModel::staticMetaObject" 
(?staticM
etaObject@QSGVisualDataModel@@2UQMetaObject@@B)
..\..\..\imports\Qt\labs\particles\qmlparticlesplugind.dll : fatal error 
LNK1120: 5 unresolved externals
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\link.EXE"' : return code '0x460'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 
9.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.

Any suggestions on what might be wrong in my setup?

Many thanks,
Thomas
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to