Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] Doxygen for Qt Creator 2.7.0
Forum Updated to NodeBB v4.3 + New Features

[Solved] Doxygen for Qt Creator 2.7.0

Scheduled Pinned Locked Moved Qt Creator and other tools
54 Posts 4 Posters 28.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    code_fodder
    wrote on 17 Jun 2013, 06:58 last edited by
    #1

    Hi all,

    I have Qt Creator 2.7.0 on Windows installed with Qt SDK 5.0.2.

    I have been attempting to install Doxygen following the doxygen for Qt website guidelines (very simple). However this only supports Qt Creator up to version 2.4.0 so I end up with doxygen plug giving me errors like:

    "Could not resolve dependency "Core(2.4.0)"...

    I am sure I am not the first to have this issue!, but I could not find a resolution in our questions database. Does anyone have any pointers?

    Thanks all!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 17 Jun 2013, 07:48 last edited by
      #2

      Perhaps if you compile Qt Creator and doxygen from source it would work.

      I always use doxygen from command line, works fine there :) But that is on Linux, I have not tried it on Windows.

      (Z(:^

      1 Reply Last reply
      0
      • C Offline
        C Offline
        code_fodder
        wrote on 17 Jun 2013, 08:52 last edited by
        #3

        :o Ohh.... always with the recompile everything ... lol ;)

        I really don't want to do that if I can avoid it!, is there not a simpler way to use the plugin for Doxygen? - I guess it's doxygen that needs to be compiled for Qt so it uses my newer libs?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sierdzio
          Moderators
          wrote on 17 Jun 2013, 08:53 last edited by
          #4

          As said, I have no idea.

          (Z(:^

          1 Reply Last reply
          0
          • C Offline
            C Offline
            code_fodder
            wrote on 17 Jun 2013, 09:01 last edited by
            #5

            Any other offers? :)

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koahnig
              wrote on 17 Jun 2013, 09:20 last edited by
              #6

              It is the plugin you have to compile with the same compiler as Qt creator AFAIK. At least that is what I have done. I was not sure if I could mix the creator compilation (msvc2008 IIRC) with MinGW.

              The main issues are the size of occupied disk space and that you have to recompile each time for each release. Therefore, I am happily continue to work with Qt creator V2.6.0

              At sierdzlo
              The doxygen functionality of the plugin is more than just doing the doxygen parsing. However, I have extended it a bit more, which really requires the compilation.

              Vote the answer(s) that helped you to solve your issue(s)

              1 Reply Last reply
              0
              • C Offline
                C Offline
                code_fodder
                wrote on 17 Jun 2013, 09:28 last edited by
                #7

                Koahing, does that mean I just need to recompile that "Doxygen.dll" file?
                And perhaps even the Doxygen.pluginspec (whatever that is)?

                I am going to get the sources from:
                http://svn.kofee.org/svn/qtcreator-doxygen/trunk and then try to compile them with Qt Creator.... sounds about right?

                Thanks :)

                1 Reply Last reply
                0
                • K Offline
                  K Offline
                  koahnig
                  wrote on 17 Jun 2013, 09:42 last edited by
                  #8

                  IIRC you need to edit the pluginspec file, but that did not help alone. You need also to create a new dll.
                  I decided to compile Qt creator myself, since at least at that only MSVC2008 pre-builds of creator where available. But I did not want to install MSVC2008. Mixing my MinGW compilation did not work, therefore I have compiled creator and the plugin with the same compiler.
                  AFAIK the instructions were straight forward. Nothing special I remember.

                  Vote the answer(s) that helped you to solve your issue(s)

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    code_fodder
                    wrote on 17 Jun 2013, 09:48 last edited by
                    #9

                    I could not get the sources from the SVN link so I got them from the webSVN link :)

                    Sources from: http://svn.kofee.org/listing.php?repname=QtCreator-Doxygen

                    However when I try to compile this doxygen.pro project I get errors:

                    Can't fine these files:
                    include( $$IDE_SOURCE_TREE/src/qtcreatorplugin.pri )
                    include( $$IDE_SOURCE_TREE/src/plugins/coreplugin/coreplugin.pri )
                    include( $$IDE_SOURCE_TREE/src/plugins/texteditor/texteditor.pri )
                    include( $$IDE_SOURCE_TREE/src/plugins/cppeditor/cppeditor.pri )
                    And cant find this either
                    #include <libs/extensionsystem/iplugin.h>

                    I did a manual search over my Qt Folder, there are some .pri files in there but I can't find these ones anywhere!

                    What does it all mean? :o I have a feeling it is looking for the Qt Creator source file directory or somthing (after reading through the doxygen.pro file).

                    Thanks!

                    1 Reply Last reply
                    0
                    • K Offline
                      K Offline
                      koahnig
                      wrote on 17 Jun 2013, 10:19 last edited by
                      #10

                      [quote author="code_fodder" date="1371462503"]I have a feeling it is looking for the Qt Creator source file directory or somthing (after reading through the doxygen.pro file).[/quote]
                      Yes, it does for sure.

                      I did it more than 1/2 year ago, but since the source I required anyhow, my decision to compile the whole stuff creator and the plugin was more of an incremental one. After that never change a running system ;)

                      Vote the answer(s) that helped you to solve your issue(s)

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        code_fodder
                        wrote on 17 Jun 2013, 10:53 last edited by
                        #11

                        haha, thnaks! ohhh... my beard is growing long :o

                        I was trying to find where the source is for Qt Creator but my SVN does not seem to connect to the link. Is there a similar webSVN link for the repo?

                        Thanks!

                        1 Reply Last reply
                        0
                        • K Offline
                          K Offline
                          koahnig
                          wrote on 17 Jun 2013, 11:00 last edited by
                          #12

                          I am not sure if you really want to fiddle around with the very newest changes in case if there is an issue.

                          It propose using the "zip from download page":http://download.qt-project.org/official_releases/qtcreator/2.7/2.7.1/qt-creator-2.7.1-src.zip
                          I had done that to.

                          Another option would be starting with Gitorious which has really some benefits, but your beard might get even longer. ;-)

                          Vote the answer(s) that helped you to solve your issue(s)

                          1 Reply Last reply
                          0
                          • C Offline
                            C Offline
                            code_fodder
                            wrote on 17 Jun 2013, 12:33 last edited by
                            #13

                            ok....beard a little longer...lol :)

                            I tried the zip link you sent me... but that failed to build. Then I realised that was for QtCreator 2.7.1 and I want it for 2.7.0 (as that is what the doxygen project is looking for). So I went and downloaded the 2.7.0 QtCreator sources. This time the compile worked :)

                            But the linking failed :(

                            I got these errors:
                            @c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lAggregation
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lExtensionSystem
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lUtils
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lCore
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lFind
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lLocator
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lTextEditor
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lCPlusPlus
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lLanguageUtils
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lProjectExplorer
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lCppTools
                            c:/qt/qt5.0.2/tools/mingw/bin/../lib/gcc/i686-w64-mingw32/4.7.2/../../../../i686-w64-mingw32/bin/ld.exe: cannot find -lCppEditor@

                            Can't quite fathom what that is about...

                            1 Reply Last reply
                            0
                            • K Offline
                              K Offline
                              koahnig
                              wrote on 17 Jun 2013, 14:06 last edited by
                              #14

                              Is this the compile run of the doxygen plugin?

                              Vote the answer(s) that helped you to solve your issue(s)

                              1 Reply Last reply
                              0
                              • C Offline
                                C Offline
                                code_fodder
                                wrote on 17 Jun 2013, 14:35 last edited by
                                #15

                                Yes. I downloaded the doxygen sources.

                                Then download the QtCreator sources and put them in the same folder as doxygen.pro looks for them

                                Then I open doxygen.pro in QtCreator 2.7.0 and build it.

                                The compile seems good, but the link with "ld" fails as above...

                                1 Reply Last reply
                                0
                                • K Offline
                                  K Offline
                                  koahnig
                                  wrote on 17 Jun 2013, 15:01 last edited by
                                  #16

                                  Well, you need to compile Qt creator first. Those libraries are build during this process. I think that is the same issue as I had :-(
                                  AFAIK there is no other way.

                                  Vote the answer(s) that helped you to solve your issue(s)

                                  1 Reply Last reply
                                  0
                                  • C Offline
                                    C Offline
                                    code_fodder
                                    wrote on 17 Jun 2013, 15:12 last edited by
                                    #17

                                    :o

                                    ok, thanks for your help!, I have run out of time today so I will set this QtCreator build over night (I assume it takes a while) and report back in the morning, clean and shaved! :)

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      sierdzio
                                      Moderators
                                      wrote on 17 Jun 2013, 15:13 last edited by
                                      #18

                                      Depends on PC. For me, Qt Creator builds in about 15 minutes (quad core with HT).

                                      (Z(:^

                                      1 Reply Last reply
                                      0
                                      • K Offline
                                        K Offline
                                        koahnig
                                        wrote on 17 Jun 2013, 16:01 last edited by
                                        #19

                                        I think it took a bit more than 15 minutes. However, I did not use the potential of my quad core. IIRC the MinGW version did not support. At least I did not know how.
                                        IIRC there was a thread on taking advantage of multiple cores, which was not enthusiastic. Somehow I connect some reluctant comments with Tobias, but that might be wrong. Nevertheless, so far I did not see issues with compilation in creator and using the option -j 4 for MinGW.

                                        Vote the answer(s) that helped you to solve your issue(s)

                                        1 Reply Last reply
                                        0
                                        • M Offline
                                          M Offline
                                          mbnoimi
                                          wrote on 17 Jun 2013, 16:37 last edited by
                                          #20

                                          Hmm interesting, I myself use Doxygen (under Mint KDE 14) but throw its Wizard GUI and I didn't try to use Qt Creator plugin.

                                          Now after successful building could you please contact the maintainer of Qt Creator Doxygen Plugin to notify him/her about the new binaries?

                                          P.S. I appreciate to publish your build for Qt Ctrator 2.7.0 here :)

                                          1 Reply Last reply
                                          0

                                          1/54

                                          17 Jun 2013, 06:58

                                          • Login

                                          • Login or register to search.
                                          1 out of 54
                                          • First post
                                            1/54
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved