Results 1 to 13 of 13

Thread: compile todo plugin in qtcreator

  1. #1
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default compile todo plugin in qtcreator

    hello,

    I'm trying to compile todo plugin , but I get error
    Qt Code:
    1. /usr/bin/ld: cannot find -lAggregation
    To copy to clipboard, switch view to plain text mode 
    I downloaded the source code of qtcreator and made changes in .pro file:
    Qt Code:
    1. QTC_SOURCE_DIR = /home/bartek/Pulpit/qt-creator-2.0.1-src
    To copy to clipboard, switch view to plain text mode 
    Is it necessary to download the lasted version of qt and then compile qtcreator with the plugin?

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: compile todo plugin in qtcreator

    You have to build your downloaded Qt creator and specify QT_BUILD_DIR with a proper path.

  3. #3
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: compile todo plugin in qtcreator

    thanks,

    I compiled plugin, but I get error when I run qtcreator I get

    My version of Core and TextEditor is 2.0.1.
    How can I solve it?
    Last edited by kabanek; 26th September 2010 at 09:03.

  4. #4
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default 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?

  5. #5
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: compile todo plugin in qtcreator

    oh, sory
    The dialog says
    can not be attached depending "Core(2.0.0)"
    can not be attached depending "TextEditor(2.0.0)"

  6. #6
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default 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:
    <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>
    ...

  7. #7
    Join Date
    Sep 2010
    Location
    Poland
    Posts
    13
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: compile todo plugin in qtcreator

    It works!
    Thank you

  8. #8
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default 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
    Qt Code:
    1. QTC_SOURCE_DIR = C:/projects/qt-creator-2.0.1-src/qt-creator
    To copy to clipboard, switch view to plain text mode 
    and also changed the QTC_BUILD_DIR to be
    Qt Code:
    1. QTC_BUILD_DIR = C:/Qt/2010.05
    To copy to clipboard, switch view to plain text mode 
    and i start building the plugin but i got the following error
    Qt Code:
    1. c:/qt/2010.05/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lAggregation
    To copy to clipboard, switch view to plain text mode 
    Note : that i used the already built QtCreator and did not build it.
    should i build it?

  9. #9
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default 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.

  10. #10
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: compile todo plugin in qtcreator

    I tried to compile the plugin using msvc but i also got the following error
    Qt Code:
    1. C:\MinGW\bin\..\lib\gcc\mingw32\3.4.5\..\..\..\..\mingw32\bin\ld.exe: cannot find -lAggregation
    To copy to clipboard, switch view to plain text mode 

  11. #11
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default 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.

  12. #12
    Join Date
    Dec 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows Maemo/MeeGo

    Default 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.

  13. #13
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default 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!!!

Similar Threads

  1. how can i use QtDesigner Plugin in QtCreator?
    By pavanbarot in forum Qt Programming
    Replies: 0
    Last Post: 3rd August 2010, 11:06
  2. Compiling Qtcreator plugin on mac
    By Jayakrishnan in forum Qt Tools
    Replies: 1
    Last Post: 24th February 2010, 11:13
  3. Qtcreator : Problem to compile examples
    By shenakan in forum Newbie
    Replies: 2
    Last Post: 18th August 2009, 10:17
  4. QtCreator won't compile using VS2005
    By Spinz99 in forum Installation and Deployment
    Replies: 0
    Last Post: 4th April 2009, 00:25
  5. how to compile c++ source file in qtCreator
    By orky7 in forum General Programming
    Replies: 6
    Last Post: 20th March 2009, 07:45

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.