[Qt-creator] Linker error building Qt Creator
karthik.1.srinivasan at nokia.com
karthik.1.srinivasan at nokia.com
Tue Mar 9 13:34:11 CET 2010
Hi,
I've built Qt from 'qt-qt-4.7-stable-snapshot-20100308113741.zip' which I downloaded from the repo. Everything builds fine.
Using that env, I'm trying to build creator from 'creator-mainline-master-snapshot-20100309060310.zip' which I downloaded from the repo as well.
I get this linker error while building QmlDesigner-
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -shared -Wl,--out-impli
b,c:\Qt\creator-20100309\lib\qtcreator\plugins\Nokia\libQmlDesignerd.a -o ..\..\..\lib\qtcreator\plugins\Nokia\QmlDesign
erd.dll object_script.QmlDesignerd.Debug -L"c:\Qt\qt-4.7-20100308\lib" -LC:/Qt/creator-20100309/lib/qtcreator -LC:/Qt/c
reator-20100309/lib/qtcreator/plugins/Nokia -lUtilsd -lQmlJSd -lAggregationd -lExtensionSystemd -lCored -lFindd -lQtConc
urrentd -lLocatord -lTextEditord -lQtDeclaratived4 -lQtWebKitd4 -lQtTestd4 -lQtScriptd4 -lQtXmld4 -lQtGuid4 -lQtCored4
Creating library file: c:\Qt\creator-20100309\lib\qtcreator\plugins\Nokia\libQmlDesignerd.a
./debug\objectnodeinstance.o:C:\Qt\creator-20100309\src\plugins\qmldesigner/core/instances/objectnodeinstance.cpp:417: u
ndefined reference to `QDeclarativeBinding::QDeclarativeBinding(QString const&, QObject*, QDeclarativeContext*, QObject*
)'
./debug\objectnodeinstance.o:C:\Qt\creator-20100309\src\plugins\qmldesigner/core/instances/objectnodeinstance.cpp:418: u
ndefined reference to `QDeclarativeBinding::setTarget(QDeclarativeProperty const&)'
./debug\objectnodeinstance.o:C:\Qt\creator-20100309\src\plugins\qmldesigner/core/instances/objectnodeinstance.cpp:420: u
ndefined reference to `QDeclarativePropertyPrivate::setBinding(QDeclarativeProperty const&, QDeclarativeAbstractBinding*
, QFlags<QDeclarativePropertyPrivate::WriteFlag>)'
./debug\objectnodeinstance.o:C:\Qt\creator-20100309\src\plugins\qmldesigner/core/instances/objectnodeinstance.cpp:470: u
ndefined reference to `QDeclarativePropertyPrivate::binding(QDeclarativeProperty const&)'
./debug\qmlpropertychangesnodeinstance.o:C:\Qt\creator-20100309\src\plugins\qmldesigner/core/instances/qmlpropertychange
snodeinstance.cpp:91: undefined reference to `QDeclarativeBinding::QDeclarativeBinding(QString const&, QObject*, QDeclar
ativeContext*, QObject*)'
./debug\qmlpropertychangesnodeinstance.o:C:\Qt\creator-20100309\src\plugins\qmldesigner/core/instances/qmlpropertychange
snodeinstance.cpp:92: undefined reference to `QDeclarativeBinding::setTarget(QDeclarativeProperty const&)'
collect2: ld returned 1 exit status
mingw32-make[5]: *** [..\..\..\lib\qtcreator\plugins\Nokia\QmlDesignerd.dll] Error 1
mingw32-make[5]: Leaving directory `C:/Qt/creator-20100309/src/plugins/qmldesigner'
mingw32-make[4]: *** [debug] Error 2
mingw32-make[4]: Leaving directory `C:/Qt/creator-20100309/src/plugins/qmldesigner'
mingw32-make[3]: *** [sub-qmldesignerplugin-pro-make_default] Error 2
mingw32-make[3]: Leaving directory `C:/Qt/creator-20100309/src/plugins/qmldesigner'
mingw32-make[2]: *** [sub-qmldesigner-make_default] Error 2
mingw32-make[2]: Leaving directory `C:/Qt/creator-20100309/src/plugins'
mingw32-make[1]: *** [sub-plugins-make_default-ordered] Error 2
mingw32-make[1]: Leaving directory `C:/Qt/creator-20100309/src'
mingw32-make: *** [sub-src-make_default-ordered] Error 2
I've tried checking out both qt itself and creator from the git repo and building and I still get the same problem.
Any suggestions on what I'm doing wrong or missing?
Thanks,
Karthik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100309/7371c578/attachment.html
More information about the Qt-creator-old
mailing list