Results 1 to 13 of 13

Thread: compile todo plugin in qtcreator

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    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)"

  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

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

  3. #3
    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

  4. #4
    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?

  5. #5
    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.

  6. #6
    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 

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

  8. #8
    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.

  9. #9
    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, 10:06
  2. Compiling Qtcreator plugin on mac
    By Jayakrishnan in forum Qt Tools
    Replies: 1
    Last Post: 24th February 2010, 10:13
  3. Qtcreator : Problem to compile examples
    By shenakan in forum Newbie
    Replies: 2
    Last Post: 18th August 2009, 09:17
  4. QtCreator won't compile using VS2005
    By Spinz99 in forum Installation and Deployment
    Replies: 0
    Last Post: 3rd April 2009, 23:25
  5. how to compile c++ source file in qtCreator
    By orky7 in forum General Programming
    Replies: 6
    Last Post: 20th March 2009, 06: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
  •  
Qt is a trademark of The Qt Company.