Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED] Install Doxygen for Qt Creator 3.1.2 (Windows)
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Install Doxygen for Qt Creator 3.1.2 (Windows)

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 2.4k 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.
  • M Offline
    M Offline
    MisteKiste
    wrote on 24 Feb 2015, 13:49 last edited by
    #1

    Hey,

    I tried to install the doxygen plugin with Qt Creator 3.1.2 and Qt SDK 5.3.1.
    I followed this tutorial http://qt-project.org/wiki/Doxygen_Plugin_for_QtCreator, but I am still failing.
    Here is my enviroment setup for batch:
    @

    @@echo off
    set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MinGW\msys\1.0\bin;C:\Perl64\site\bin;C:\Perl64\bin;E:\Programme\Qt\5.3\mingw482_32\bin;E:\Programme\Qt\Tools\mingw482_32\bin;E:\Programme\Qt\Tools\QtCreator\bin;%PATH%
    echo %PATH%
    set QMAKESPEC=win32-g++
    cd E:\Programme\Qt
    cmd

    @

    My first step was to compile the Ct Creator. So I download the source and called qmake -r and after generating the makefiles I ran jom. After serveral minutes it seems fine. I tried to start the exe and a error appeared that told me some .dlls are missing (like Qt5Core.dll). So I copied from the SDK folder and now the new error is:
    "Failed to load core: E:\Programme\Qt\qt-creator-opensource-src-3.1.2\lib\qtcreator\plugins\QtProject\Core.dll"
    But this confuse me, because I can find this file under this dirctory and I dont know why it cant be load.

    Do you have experience to install doxygen this way? Do you have any idea how to solve it?

    1 Reply Last reply
    0
    • K Offline
      K Offline
      koahnig
      wrote on 24 Feb 2015, 15:54 last edited by
      #2

      The PATH setting does not have the folder with the new Qt creator exe.

      I am using this here:
      @
      rem setup qt environment
      set QTDIR=c:\Qt\5.3\mingw482_32
      set PATH=%QTDIR%\bin;c:\Qt\Tools\mingw482_32\bin;c:\Qt\Tools\QtCreatorExt\bin;%PATH%
      set QMAKESPEC=win32-g++
      start /b bin\qtcreator.exe
      @

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

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MisteKiste
        wrote on 25 Feb 2015, 08:07 last edited by
        #3

        Hey, so i need another batch to start my own compiled QtCreator? I did'nt know that. I can start QtCreator now, thank you. But isn't there a little mistake in your batch file? The last row have to be "start /b qtcreator.exe" not "start /b bin\qtcreator.exe", or?

        However, now I have another problem. I can't compile the doxygen plugin. After ran jom, these are the errors.

        bq. In file included from doxygen.cpp:21:0:
        doxygen.h:23:45: fatal error: libs/3rdparty/cplu
        directory
        #include <libs/3rdparty/cplusplus/Symbols.h>

        bq. compilation terminated.
        release/qrc_doxygen.cpp:9:28: fatal error: QtCore/qglobal.h: No such file or dir
        ectory
        #include <QtCore/qglobal.h>

        bq. In file included from release/moc_doxygenplugin.cpp:9:0:
        release/../doxygenplugin.h:24:42: fatal error: libs/extensionsystem/iplugin.h: N
        o such file or directory
        #include <libs/extensionsystem/iplugin.h>

        bq. doxygensettingsstruct.cpp:21:23: fatal error: QStringList: No such file or direc
        tory
        #include <QStringList>

        Did I miss something else in my enviroment batch?
        @
        @@echo off
        set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\MinGW\msys\1.0\bin;C:\Perl64\site\bin;C:\Perl64\bin;E:\Programme\Qt\5.3\mingw482_32\bin;E:\Programme\Qt\Tools\mingw482_32\bin;E:\Programme\Qt\Tools\QtCreator\bin;E:\Programme\Qt\qt-creator-opensource-src-3.1.2\bin;%PATH%
        echo %PATH%
        set QMAKESPEC=win32-g++
        cd E:\Programme\Qt
        cmd

        @

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bagavathikumar
          wrote on 25 Feb 2015, 09:40 last edited by
          #4

          Refer the below link, You will get the compiled binary itself.

          "QtCreator-Doxygen...":http://dev.kofee.org/projects/qtcreator-doxygen/wiki

          1 Reply Last reply
          0
          • K Offline
            K Offline
            koahnig
            wrote on 25 Feb 2015, 10:17 last edited by
            #5

            [quote author="MisteKiste" date="1424851623"]Hey, so i need another batch to start my own compiled QtCreator? I did'nt know that. I can start QtCreator now, thank you. But isn't there a little mistake in your batch file? The last row have to be "start /b qtcreator.exe" not "start /b bin\qtcreator.exe", or?

            [/quote]

            That is the batch I am using. Since I start it simply from one folder up I have to add "bin" to the relative path. You might have to adjust for your needs.

            [quote author="MisteKiste" date="1424851623"]
            @
            @@echo off
            set PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;
            C:\MinGW\msys\1.0\bin;C:\Perl64\site\bin;C:\Perl64\bin;E:\Programme\Qt\5.3\mingw482_32\bin;
            E:\Programme\Qt\Tools\mingw482_32\bin;
            E:\Programme\Qt\Tools\QtCreator\bin; <---- this seems to point to old Qt creator not your compilation
            E:\Programme\Qt\qt-creator-opensource-src-3.1.2\bin;%PATH%
            echo %PATH%
            set QMAKESPEC=win32-g++
            cd E:\Programme\Qt
            cmd
            @
            [/quote]
            I had to put some end of line into your posted batch.
            As far as I see there is the old and the new Qt bin folder in the path settings. That is not healthy.
            Further more did you compile Doxygen plugin as well?

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

            1 Reply Last reply
            0
            • M Offline
              M Offline
              MisteKiste
              wrote on 25 Feb 2015, 11:57 last edited by
              #6

              There is an easier way to install this plugin :o ? Thanks bagavathikum.., it works instantly with QtCreator 3.0.1.

              But doxygen just fetch two of my classes and generate the doxygen document. Do you have an idea why? My other classes have doxygen comments too. :(

              edit:
              okay I solved it. Just open the doxygen wizzard and did check on "Scan recursively"

              1 Reply Last reply
              0

              1/6

              24 Feb 2015, 13:49

              • Login

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