[Qt-creator] Can't find core plugin.

rgomez rgomez at uci.cu
Fri Jun 1 15:01:40 CEST 2012


Hello, I want to make a plugin for QtC 2.5. I have passed the build dir and 
source dir to QtC during the QtC plugin wizard like always. But on compilation 
time it can't find core plugin, ":-1: error: cannot find -lCore". I tried to 
find libCore.so by myself but on libraries installed whith QtC there is not 
exists.

On Viernes, 1 de Junio de 2012 14:34:05 qt-creator-request at qt-project.org 
escribió:
> Send Qt-creator mailing list submissions to
> 	qt-creator at qt-project.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.qt-project.org/mailman/listinfo/qt-creator
> or, via email, send a message with subject or body 'help' to
> 	qt-creator-request at qt-project.org
> 
> You can reach the person managing the list at
> 	qt-creator-owner at qt-project.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qt-creator digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: Occasional missing doc message with Qt Creator 2.5
>       (Harri Pasanen)
>    2. Stepping down (Pawe? Pola?ski)
>    3. confused about QtCreators behaviour (Geronimo Ma. Hernandez)
>    4. Re: confused about QtCreators behaviour (Konstantin Tokarev)
>    5. Re: confused about QtCreators behaviour (Orgad and Raizel Shaneh)
>    6. Re: confused about QtCreators behaviour (eike.ziller at nokia.com)
>    7. Re: confused about QtCreators behaviour (Geronimo Ma. Hernandez)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 01 Jun 2012 13:18:49 +0200
> From: Harri Pasanen <harri at mpaja.com>
> Subject: Re: [Qt-creator] Occasional missing doc message with Qt
> 	Creator 2.5
> To: eike.ziller at nokia.com
> Cc: qt-creator at qt-project.org
> Message-ID: <4FC8A519.7020908 at mpaja.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> On 06/01/2012 11:39 AM, eike.ziller at nokia.com wrote:
> > On 1 Jun 2012, at 11:07, ext Harri Pasanen wrote:
> >>  From time to time I get Error 404 from Qt Creator Offline Help
> >> 
> >> The page could not be found
> >> 
> >> 'qthelp://com.trolltech.qt.481/doc//qdoc/qml-pathview-members.html'
> >> 
> >> This time it was when clicking on "List of all members, including
> >> inherited members" link at the top of QML PathView Element.
> >> 
> >> 
> >> The doc//qdoc part in the url looks suspect.
> > 
> > I don't think that the double-slash "//" should be a problem, Urls usually
> > handle that fine. Does it work if you start Assistant from your Qt 4.8.1
> > installation? (There you can also use a address line to type in anything
> > you want, so you could try how that behaves, it uses the same backend as
> > Qt Creator.)
> I ran the assistant from
> 
> /home/harri/QtSDK/Desktop/Qt/4.8.0/gcc/bin/assistant
> 
> and after adding ~/QtSDK/Documentation/qt.qch to it through
> Edit/Preferences/Documentation  I can look up QML PathView.
> 
> It does not show "List of all members, including inherited members" for
> PathView either, but fails silently.
> 
> If I go online to:
> 
> http://doc-snapshot.qt-project.org/4.8/qml-pathview.html
> 
> there the link works.
> 
> /Harri
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 1 Jun 2012 13:37:48 +0200
> From: Pawe? Pola?ski <pawel.3.polanski at nokia.com>
> Subject: [Qt-creator] Stepping down
> To: <lars.knoll at nokia.com>
> Cc: development at qt-project.org, qt-creator at qt-project.org
> Message-ID: <1338550668.1846.29.camel at Burpee>
> Content-Type: text/plain; charset="UTF-8"
> 
> Hi,
> due to the fact that I have no longer enough time to maintain Symbian in
> Qt Creator's Project Management & Targets I would like to step down from
> this position.
> 
> Automatically Daniel Teske is assigned as the maintainer of the
> component.
> 
> BR,
> Pawe?
> 
> > Hello,
> > 
> > after that very long discussion about buildsystems, I wanted to try out a
> > qmake-project.
> > 
> > So I used QtCreator with "new project" / QtApplication / Qt Gui
> > Application
> > and replaced all files created by the files from a Qt-demo from my system
> > (qt 4.6.3).
> > Project sources tree view looks very nice - exactly the way I like it.
> > 
> > After hitting the build icon, lots of errors came up.
> > I expected all running fine, since I did not change anything yet.
> > 
> > I looked at the filesystem and there was no Makefile or the like.
> > So I started qmake from the commandline followed by a make.
> > Everything worked fine and I got an executable, that runs as expected.
> 
> Have you set up Qt version for the project? ("Projects" tab)
> 
> > Could it be, that QtCreator does not use the build-system from my
> > linuxbox,
> > but uses its own?
> 
> If it is installed as a part of Qt SDK it can use qmake from Qt version
> shipped with SDK (if it happens to be configured as active).
> 
> > And could it furthermore be true, that QtCreator, or the build system it
> > uses, uses the libraries provided by QtCreator, instead of the libraries
> > from my linuxbox?
> > 
> > 
> > I think, that behaviour is not desired. At least I don't like it.
> > I don't mind, if QtCreator uses its own Qt-Libraries for running, but it
> > should not use them building my projects. I'd like to build projects, that
> > run on my system with the libraries from my system.
> > 
> > kind regards
> > 
> > Gero
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> > 
> > Hello,
> > 
> > after that very long discussion about buildsystems, I wanted to try out a
> > qmake-project.
> > 
> > So I used QtCreator with "new project" / QtApplication / Qt Gui
> > Application
> > and replaced all files created by the files from a Qt-demo from my system
> > (qt
> > 4.6.3).
> > Project sources tree view looks very nice - exactly the way I like it.
> > 
> > After hitting the build icon, lots of errors came up.
> > I expected all running fine, since I did not change anything yet.
> > 
> > I looked at the filesystem and there was no Makefile or the like.
> > So I started qmake from the commandline followed by a make.
> > Everything worked fine and I got an executable, that runs as expected.
> > 
> > 
> > Could it be, that QtCreator does not use the build-system from my
> > linuxbox,
> > but uses its own?
> > And could it furthermore be true, that QtCreator, or the build system it
> > uses,
> > uses the libraries provided by QtCreator, instead of the libraries from my
> > linuxbox?
> > 
> > I think, that behaviour is not desired. At least I don't like it.
> > I don't mind, if QtCreator uses its own Qt-Libraries for running, but it
> > should not use them building my projects. I'd like to build projects, that
> > run
> > on my system with the libraries from my system.
> > 
> > 
> > kind regards
> > 
> > Gero
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> Sounds strange. Have you tried building the 'default' project created by
> the wizard?
> 
> - Orgad
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.qt-project.org/pipermail/qt-creator/attachments/20120601/83303
> 80d/attachment-0001.html
> 
> ------------------------------
> 
> Message: 6
> Date: Fri, 1 Jun 2012 12:20:24 +0000
> From: <eike.ziller at nokia.com>
> Subject: Re: [Qt-creator] confused about QtCreators behaviour
> To: <geronimo013 at gmx.com>
> Cc: qt-creator at qt-project.org
> Message-ID: <F7CEB04C-67D9-4A06-8DC9-85BFF81E7BF5 at nokia.com>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> On 1 Jun 2012, at 13:43, ext Geronimo Ma. Hernandez wrote:
> > Hello,
> > 
> > after that very long discussion about buildsystems, I wanted to try out a
> > qmake-project.
> > 
> > So I used QtCreator with "new project" / QtApplication / Qt Gui
> > Application
> > and replaced all files created by the files from a Qt-demo from my system
> > (qt 4.6.3).
> > Project sources tree view looks very nice - exactly the way I like it.
> > 
> > After hitting the build icon, lots of errors came up.
> > I expected all running fine, since I did not change anything yet.
> > 
> > I looked at the filesystem and there was no Makefile or the like.
> 
> Qt Creator does shadow builds by default if you don't turn that off on the
> second page of the new project wizard. I.e. by default it builds in a
> directory "projectname_somepostfix" that lies parallel to your sources.
> That could be a reason for you not finding a Makefile in the project
> directory. You can change the setting for an existing project in Projects
> mode > Build settings
> 
> Otherwise it's hard to tell what goes wrong without knowing what the errors
> say (e.g. from the Compile Output pane that you can pop up from a button at
> the bottom of Qt Creator).
> 
> Br, Eike
> 
> > So I started qmake from the commandline followed by a make.
> > Everything worked fine and I got an executable, that runs as expected.
> > 
> > 
> > Could it be, that QtCreator does not use the build-system from my
> > linuxbox,
> > but uses its own?
> > And could it furthermore be true, that QtCreator, or the build system it
> > uses, uses the libraries provided by QtCreator, instead of the libraries
> > from my linuxbox?
> > 
> > I think, that behaviour is not desired. At least I don't like it.
> > I don't mind, if QtCreator uses its own Qt-Libraries for running, but it
> > should not use them building my projects. I'd like to build projects, that
> > run on my system with the libraries from my system.
> > 
> > 
> > kind regards
> > 
> > Gero
> > _______________________________________________
> > Qt-creator mailing list
> > Qt-creator at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/qt-creator
> > 
> > 01.06.2012, 15:43, "Geronimo Ma. Hernandez" <geronimo013 at gmx.com>:
> > > After hitting the build icon, lots of errors came up.
> > > I expected all running fine, since I did not change anything yet.
> > 
> > Have you set up Qt version for the project? ("Projects" tab)
> 
> Yes, of cause.
> 
> I guess I got it:
> >From the attached picture you can see, that at first sight everything looks
> 
> fine.
> 
> Error log looks like:
> /opt/qtcreator-2.5.0/lib/libQtDBus.so.4: undefined reference to
> `QListData::detach(int)'
> /opt/qtcreator-2.5.0/lib/libQtDBus.so.4: undefined reference to
> `QMutex::unlockInternal()'
> /opt/qtcreator-2.5.0/lib/libQtDBus.so.4: undefined reference to
> `QMetaCallEvent::QMetaCallEvent(unsigned short, unsigned short, void (*)
> (QObject*, QMetaObject::Call, int, void**), QObject const*, int, int, int*,
> void**, QSemaphore*)'
> /opt/qtcreator-2.5.0/lib/libQtDBus.so.4: undefined reference to
> `QMetaType::registerTypedef(char const*, int)'
> /opt/qtcreator-2.5.0/lib/libQtDBus.so.4: undefined reference to
> `QListData::detach_grow(int*, int)'
> collect2: ld returned 1 exit status
> make: *** [dummy] Error 1
> 14:18:12: The process "/usr/bin/make" exited with code 2.
> Error while building/deploying project dummy (target: Desktop)
> When executing step 'Make'
> 
> On linux, QtCreator is started by a little wrapper script (qtcreator.sh),
> which patches the environment and puts the qt-libraries at prominent
> location in LD_LIBRARY_PATH.
> 
> Later, when the build is triggered, this environment will be used
> (apparently).
> So to really perform unmodified builds, the environment-Variable
> LD_LIBRARY_PATH should be saved under a different name before changing it,
> so that the unmodified value can be used for the build environments.
> 
> 
> kind regards
> 
> Gero
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: Qt-Variant-01.png
> Type: image/png
> Size: 12499 bytes
> Desc: not available
> Url :
> http://lists.qt-project.org/pipermail/qt-creator/attachments/20120601/9e1a0
> b4c/attachment.png
> 
> ------------------------------
> 
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qt-creator
> 
> 
> End of Qt-creator Digest, Vol 9, Issue 3
> ****************************************
> 
> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
> INFORMATICAS... CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
> 
> http://www.uci.cu
> http://www.facebook.com/universidad.uci
> http://www.flickr.com/photos/universidad_uci

10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS INFORMATICAS...
CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION

http://www.uci.cu
http://www.facebook.com/universidad.uci
http://www.flickr.com/photos/universidad_uci



More information about the Qt-creator mailing list