compile todo plugin in qtcreator
hello,
I'm trying to compile todo plugin , but I get error
Code:
/usr/bin/ld: cannot find -lAggregation
I downloaded the source code of qtcreator and made changes in .pro file:
Code:
QTC_SOURCE_DIR = /home/bartek/Pulpit/qt-creator-2.0.1-src
Is it necessary to download the lasted version of qt and then compile qtcreator with the plugin?
Re: compile todo plugin in qtcreator
You have to build your downloaded Qt creator and specify QT_BUILD_DIR with a proper path.
Re: compile todo plugin in qtcreator
thanks,
I compiled plugin, but I get error when I run qtcreator I get
http://axem.az.pl/screenshooter/uplo...pwqz5nr87k.png
My version of Core and TextEditor is 2.0.1.
How can I solve it?
Re: compile todo plugin in qtcreator
Please attach images on the board, and not on 3rd party sites. Also my Polish(?) is a little bit rusty, so what did the dialog say?
Re: compile todo plugin in qtcreator
oh, sory :)
The dialog says
Quote:
can not be attached depending "Core(2.0.0)"
can not be attached depending "TextEditor(2.0.0)"
Re: compile todo plugin in qtcreator
Ah, ok, its a problem of the todo.pluginspec. Open it with a normal text edit and change some lines to:
Quote:
<plugin name="todo" version="0.0.2" compatVersion="2.0.1">
...
<dependencyList>
<dependency name="Core" version="2.0.1"/>
<dependency name="TextEditor" version="2.0.1"/>
</dependencyList>
...
Re: compile todo plugin in qtcreator
It works! :)
Thank you :)
Re: compile todo plugin in qtcreator
I am facing a problem in building the TODO plugin on windows :-
1- I downloaded the plugin and changed the QTC_SOURCE_DIR to be
Code:
QTC_SOURCE_DIR = C:/projects/qt-creator-2.0.1-src/qt-creator
and also changed the QTC_BUILD_DIR to be
Code:
QTC_BUILD_DIR = C:/Qt/2010.05
and i start building the plugin but i got the following error
Code:
c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lAggregation
Note : that i used the already built QtCreator and did not build it.
should i build it?
Re: compile todo plugin in qtcreator
You cant use the creator which is bundled with the sdk since it is compiled with msvc. So either you build creator yourself using mingw or you build the plugin with msvc 2008. Then you could use the sdk creator.
Re: compile todo plugin in qtcreator
I tried to compile the plugin using msvc but i also got the following error
Code:
C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lAggregation
Re: compile todo plugin in qtcreator
if you would use msvc then surely "...mingw32\bin" won't be called. Clean your project first and run qmake with the right spec file again.
Re: compile todo plugin in qtcreator
Do I build "QtCreator plugin" project release only?
Because I found that I create a new "QtCreator Plugin" project and built it debug failed, but built it release successfully.
Re: compile todo plugin in qtcreator
i am still not able to compile the plugin i always get the error
c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lAggregation
i used mingw32-make and also nmake but still not working!!!