[Qt-creator] Linker error building Qt Creator
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 -Lc:\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* , QFlagsQDeclarativePropertyPrivate::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 ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Qt-creator Digest, Vol 18, Issue 14
Hi: How can I use a QSplitter from QtCreator? Why it not appears on the list of widgets of QtCreator? -- Gabriel A. Lopez Lopez Estudiante 3er año de Ing. Informatica Universidad Carlos Rafael Rodriguez. Cienfuegos --- La mejor vacuna contra el virus A(H1N1) es la higiene personal ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] Qt-creator Digest, Vol 18, Issue 14
It doesn't work like that. Add to widgets to a form, select them and then hit the vertical or horizontal splitter buttons to split them. Works just the same in the regular designer. Not a Creator question. 2010/3/9 inf200...@ucf.edu.cu Hi: How can I use a QSplitter from QtCreator? Why it not appears on the list of widgets of QtCreator? -- Gabriel A. Lopez Lopez Estudiante 3er año de Ing. Informatica Universidad Carlos Rafael Rodriguez. Cienfuegos --- La mejor vacuna contra el virus A(H1N1) es la higiene personal ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] QSplitters
On Mar 9, 2010, at 6:05 PM, ext inf200...@ucf.edu.cu wrote: Hi: How can I use a QSplitter from QtCreator? Why it not appears on the list of widgets of QtCreator? In the form editor, there's a tool button and menu item for Layout in a Splitter which you use to create a splitter with the selected widgets in it. ++ Eike -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] QSplitters
On Tue, Mar 9, 2010 at 12:32 PM, Eike Ziller eike.zil...@nokia.com wrote: On Mar 9, 2010, at 6:05 PM, ext inf200...@ucf.edu.cu wrote: Hi: How can I use a QSplitter from QtCreator? Why it not appears on the list of widgets of QtCreator? In the form editor, there's a tool button and menu item for Layout in a Splitter which you use to create a splitter with the selected widgets in it. I had this same confusion a month or two ago. It seems to me like there is some inconsistency in the design here. QSplitter should either appear in the the list of widgets, or it should be changed to QSplitterLayout and inherit QLayout. Just my two cents. I'd lean towards turning QSplitter into an actual layout. Colin ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] QSplitters
I had this same confusion a month or two ago. It seems to me like there is some inconsistency in the design here. QSplitter should either appear in the the list of widgets, or it should be changed to QSplitterLayout and inherit QLayout. Just my two cents. I'd lean towards turning QSplitter into an actual layout. QSplitter has all of the behaviors of a widget -- it renders things to the screen and it processes events. It couldn't be a layout because layouts do nothing but calculate geometry when the widget they're applied to is resized. /s/ Adam ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] failing to build qt from git repo
Hi, I know this is a qt related question, I have posted to qt-interest also, but hopefully someone here knows the answer. I did the following: git clone git://gitorious.org/qt/qt.git cd qt ./configure -declarative -qt-sql-sqlite -qt-sql-mysql make but when it gets to the the network component I get the following errors, does any one know how I might solve this? Thanks, Brian g++ -Wl,-rpath-link,/home/brian/code/ccpp/qt/lib -Wl,--no-undefined -Wl,-O1 -Wl,-rpath,/usr/local/Trolltech/Qt-4.7.0/lib -shared -Wl,-soname,libQtNetwork.so.4 -o libQtNetwork.so.4.7.0 .obj/release-shared/qftp.o .obj/release-shared/qhttp.o .obj/release-shared/qhttpnetworkheader.o .obj/release-shared/qhttpnetworkrequest.o .obj/release-shared/qhttpnetworkreply.o .obj/release-shared/qhttpnetworkconnection.o .obj/release-shared/qhttpnetworkconnectionchannel.o .obj/release-shared/qfilenetworkreply.o .obj/release-shared/qnetworkaccessmanager.o .obj/release-shared/qnetworkaccesscache.o .obj/release-shared/qnetworkaccessbackend.o .obj/release-shared/qnetworkaccessdatabackend.o .obj/release-shared/qnetworkaccessdebugpipebackend.o .obj/release-shared/qnetworkaccessfilebackend.o .obj/release-shared/qnetworkaccesscachebackend.o .obj/release-shared/qnetworkaccessftpbackend.o .obj/release-shared/qnetworkaccesshttpbackend.o .obj/release-shared/qnetworkcookie.o .obj/release-shared/qnetworkcookiejar.o .obj/release-shared/qnetworkrequest.o .obj/release-shared/qnetworkreply.o .obj/release-shared/qnetworkreplyimpl.o .obj/release-shared/qabstractnetworkcache.o .obj/release-shared/qnetworkdiskcache.o .obj/release-shared/qnetworksession.o .obj/release-shared/qnetworkconfigmanager.o .obj/release-shared/qnetworkconfiguration.o .obj/release-shared/qnetworkconfigmanager_p.o .obj/release-shared/qbearerengine.o .obj/release-shared/qbearerplugin.o .obj/release-shared/qauthenticator.o .obj/release-shared/qhostaddress.o .obj/release-shared/qhostinfo.o .obj/release-shared/qurlinfo.o .obj/release-shared/qnetworkproxy.o .obj/release-shared/qnetworkinterface.o .obj/release-shared/qhostinfo_unix.o .obj/release-shared/qnetworkinterface_unix.o .obj/release-shared/qnetworkproxy_generic.o .obj/release-shared/qabstractsocketengine.o .obj/release-shared/qnativesocketengine.o .obj/release-shared/qhttpsocketengine.o .obj/release-shared/qsocks5socketengine.o .obj/release-shared/qabstractsocket.o .obj/release-shared/qtcpsocket.o .obj/release-shared/qudpsocket.o .obj/release-shared/qtcpserver.o .obj/release-shared/qlocalsocket.o .obj/release-shared/qlocalserver.o .obj/release-shared/qnativesocketengine_unix.o .obj/release-shared/qlocalsocket_unix.o .obj/release-shared/qlocalserver_unix.o .obj/release-shared/moc_qhttpnetworkreply_p.o .obj/release-shared/moc_qnetworkaccesscache_p.o .obj/release-shared/moc_qnetworkaccessbackend_p.o .obj/release-shared/moc_qnetworkaccessdebugpipebackend_p.o .obj/release-shared/moc_qnetworkaccesshttpbackend_p.o .obj/release-shared/moc_qnetworkaccessfilebackend_p.o .obj/release-shared/moc_qnetworkaccessftpbackend_p.o .obj/release-shared/moc_qnetworkcookiejar.o .obj/release-shared/moc_qnetworkreply.o .obj/release-shared/moc_qabstractnetworkcache.o .obj/release-shared/moc_qnetworkdiskcache.o .obj/release-shared/moc_qnetworkconfigmanager_p.o .obj/release-shared/moc_qnetworksession_p.o .obj/release-shared/moc_qbearerplugin_p.o .obj/release-shared/moc_qhostinfo_p.o .obj/release-shared/moc_qabstractsocketengine_p.o .obj/release-shared/moc_qnativesocketengine_p.o .obj/release-shared/moc_qhttpsocketengine_p.o .obj/release-shared/moc_qsocks5socketengine_p.o .obj/release-shared/moc_qtcpsocket.o .obj/release-shared/moc_qudpsocket.o -L/home/brian/code/ccpp/qt/lib -lQtCore -L/home/brian/code/ccpp/qt/lib -lpthread .obj/release-shared/qhttp.o: In function `qobject_castQSslSocket*': /home/brian/code/ccpp/qt/src/network/../../include/QtCore/../../src/corelib/kernel/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject' .obj/release-shared/qhttp.o: In function `QHttp::ignoreSslErrors()': /home/brian/code/ccpp/qt/src/network/access/qhttp.cpp:3147: undefined reference to `QSslSocket::ignoreSslErrors()' .obj/release-shared/qhttp.o: In function `qobject_castQSslSocket*': /home/brian/code/ccpp/qt/src/network/../../include/QtCore/../../src/corelib/kernel/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject' .obj/release-shared/qhttp.o: In function `QHttpPrivate::setSock(QTcpSocket*)': /home/brian/code/ccpp/qt/src/network/access/qhttp.cpp:3103: undefined reference to `QSslSocket::supportsSsl()' /home/brian/code/ccpp/qt/src/network/access/qhttp.cpp:3104: undefined reference to `QSslSocket::QSslSocket(QObject*)' .obj/release-shared/qhttp.o: In function `qobject_castQSslSocket*': /home/brian/code/ccpp/qt/src/network/../../include/QtCore/../../src/corelib/kernel/qobject.h:455: undefined reference to `QSslSocket::staticMetaObject' .obj/release-shared/qhttp.o: In function `QHttpPrivate::postMoreData()':
Re: [Qt-creator] failing to build qt from git repo
Brian McGillion wrote: Hi, I know this is a qt related question, I have posted to qt-interest also, but hopefully someone here knows the answer. I did the following: git clone git://gitorious.org/qt/qt.git cd qt ./configure -declarative -qt-sql-sqlite -qt-sql-mysql make I had some problems too in building qt from git (I also posted to qt mailing list); it looks like there are still problems in the master branch, thus you should switch to 4.7 branch git checkout -b 4.7 origin/4.7 moreover, you will still get errors if you compile it as a standard user and you don't specify at configure time a path in -prefix where you have write access... this seems to be an issue too which is being fixed they say cheers Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
[Qt-creator] CMake and include paths
Hi! I tried to create a CMake project to experiment with libxml2 on Linux, and I ran into the following problem: The libxml2 header files are in the /usr/include/libxml2/ directory which is not among the default system include paths, so I had to feed the CMAKE_CXX_FLAGS variable with the output of the xml2-config --cflags command (this generates -I/usr/include/libxml2). The problem is that the IDE is unaware of this new include path, so it doesn't find the libxml2 header files. Because of this, the editor underlines everything as undeclared identifier, code completion doesn't work, so it's actually much harder to work in Creator than in a plain text editor. (Compilation works fine). My question: is there a way to tell the IDE where to look for the header files? Or in CMake projects this is not implemented yet? Thanks, -- Tamás ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator
Re: [Qt-creator] failing to build qt from git repo
Hi Lorenzo, I had seen your post and thought it to be unrelated, however I followed your advise and changed branch and it compiled successfully. Thanks, Brian On Tue, 2010-03-09 at 22:34 +0100, Lorenzo Bettini wrote: Brian McGillion wrote: Hi, I know this is a qt related question, I have posted to qt-interest also, but hopefully someone here knows the answer. I did the following: git clone git://gitorious.org/qt/qt.git cd qt ./configure -declarative -qt-sql-sqlite -qt-sql-mysql make I had some problems too in building qt from git (I also posted to qt mailing list); it looks like there are still problems in the master branch, thus you should switch to 4.7 branch git checkout -b 4.7 origin/4.7 moreover, you will still get errors if you compile it as a standard user and you don't specify at configure time a path in -prefix where you have write access... this seems to be an issue too which is being fixed they say cheers Lorenzo signature.asc Description: This is a digitally signed message part ___ Qt-creator mailing list Qt-creator@trolltech.com http://lists.trolltech.com/mailman/listinfo/qt-creator