QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64?

Added by zero inf almost 3 years ago

Would somebody mind to upload this version of this plugin?

Qt creator 3.1 x64 is here: http://sourceforge.net/projects/qtx64/files/qt-creator-x64/3.2.0/

Thanks in advance.


Replies (11)

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Kevin Tanguy almost 3 years ago

Hi,

Gonna be blunt: not me.
No time/resource/will to do it but YOU CAN;
Not that hard, just painstakingly slow and boring but let's say somehow rewarding?

(any good samaritan to make this happen for him/her?)

Regards.

--k

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Udo Hain almost 3 years ago

I was able to build the 32 bit version for QtCreator 3.2.2 on Linux (Ubuntu 12.04, gcc 4.8.1). I can provide the changes that were necessary to compile the Doxygen plugin:

user@Ubuntu12:~/src/qtcreator-doxygen$ svn diff
Index: Doxygen.pluginspec ===================================================================
--- Doxygen.pluginspec (revision 73)
++ Doxygen.pluginspec (working copy)
@ -1,4 +1,4 @
<plugin name="Doxygen" version="0.3.9" compatVersion="3.1.0">
<plugin name="Doxygen" version="0.3.9" compatVersion="3.2.0">
<vendor>Kofee</vendor>
<copyright>(C) 2009-2014 Kevin Tanguy ()</copyright>
<license>
@ -22,10 +22,10 @
</description>
<url>http://dev.kofee.org/projects/qtcreator-doxygen/&lt;/url>
<dependencyList>
<dependency name="Core" version="3.1.0" compatVersion="3.1.0_1"/>
- <dependency name="CppEditor" version="3.1.0" compatVersion="3.1.0_1"/>
- <dependency name="CppTools" version="3.1.0" compatVersion="3.1.0_1"/>
- <dependency name="ProjectExplorer" version="3.1.0" compatVersion="3.1.0_1"/>
- <dependency name="TextEditor" version="3.1.0" compatVersion="3.1.0_1"/>
+ <dependency name="Core" version="3.2.2" compatVersion="3.2.0"/>
+ <dependency name="CppEditor" version="3.2.2" compatVersion="3.2.0"/>
+ <dependency name="CppTools" version="3.2.2" compatVersion="3.2.0"/>
+ <dependency name="ProjectExplorer" version="3.2.2" compatVersion="3.2.0"/>
+ <dependency name="TextEditor" version="3.2.2" compatVersion="3.2.0"/>
</dependencyList>
</plugin>
Index: doxygen.cpp ===================================================================
--- doxygen.cpp (revision 73)
+++ doxygen.cpp (working copy)
@ -551,7 +551,7 @
ProjectExplorer::Project* proj = ProjectExplorer::SessionManager::projectForFile(editor->document()->filePath());
if(proj) {
- projectRoot = proj->projectDirectory() + "/";
+ projectRoot = proj->projectDirectory().toString() + QDir::separator();
}
return projectRoot;
}
Index: qtcreator-doxygen_dependencies.pri ===================================================================
--- qtcreator-doxygen_dependencies.pri (revision 73)
++ qtcreator-doxygen_dependencies.pri (working copy)
@ -7,8 +7,8 @
texteditor \
cppeditor \
cpptools \
- projectexplorer \
- locator
projectexplorer #\
+# locator

QTC_PLUGIN_RECOMMENDS += \
qtsupport

I don't dare to check this in to the SVN (haven't tried to do so ;-) ), maybe someone else can check whether this works and perfom the checkin. I have attached a tar file which contains the two files you will need. Maybe this week I can try to compile this on a 64 bit Linux Mint (LMDE) if this is helpful.

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Udo Hain almost 3 years ago

Maybe it is better to add the patch file instead of listing the differences here.

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by zero inf almost 3 years ago

thanks for the patch. do you know if it still generates the same content (doc strucutre etc.) like the previous version?

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Roland Uuesoo almost 3 years ago

Hi everybody.

I tried this patch. Didn't work.

While not having succes making this plugin compile for QtCreator 3.2.2, I made this little download/compile script.

Download&Compile from source

https://github.com/roland2025/qtcreator-plugins-builder

What does it do?

  1. Clone QtCreator from repository
  2. Clone qtcreator-doxygen
  3. Download and apply qtcreator-3.2.2.patch
  4. echo 'INCLUDEPATH += $$QTC_SOURCE_DIR/src/libs/3rdparty' >> $doxygen_src/doxygen.pro
  5. make

Usage

git clone https://github.com/roland2025/qtcreator-plugins-builder.git
cd qtcreator-plugins-builder/
./make.sh -s

Build error

Compiling on Ubuntu 14.04.1 LTS x86-64

Auto-detected: QtCreator v3.2.2 based on Qt 5.3.2
[...]
/home/roland/Projects/qt-creator-plugins/build/kofee/doxygen/lib/qtcreator/plugins -L/home/roland/Qt/5.3/gcc_64/lib -lQt5Widgets -lQt5Concurrent -lQt5Gui -lQt5Core -lGL -lpthread  
.obj/release-shared/doxygenplugin.o: In function `DoxyPlugin::Internal::DoxygenPlugin::instance()':
doxygenplugin.cpp:(.text+0x7c): undefined reference to `Utils::writeAssertLocation(char const*)'
.obj/release-shared/doxygenplugin.o: In function `DoxyPlugin::Internal::DoxygenPlugin::doxyfileWizard()':
doxygenplugin.cpp:(.text+0x15a3): undefined reference to `Core::EditorManager::instance()'
doxygenplugin.cpp:(.text+0x15a8): undefined reference to `Core::EditorManager::currentEditor()'
doxygenplugin.cpp:(.text+0x1abe): undefined reference to `Core::MessageManager::instance()'
doxygenplugin.cpp:(.text+0x1da1): undefined reference to `Core::MessageManager::showOutputPane()'
doxygenplugin.cpp:(.text+0x1dae): undefined reference to `Core::MessageManager::write(QString const&, QFlags<Core::MessageManager::PrintToOutputPaneFlag>)'
.obj/release-shared/doxygenplugin.o: In function `DoxyPlugin::Internal::DoxygenPlugin::initialize(QStringList const&, QString*)':
doxygenplugin.cpp:(.text+0x2853): undefined reference to `ExtensionSystem::IPlugin::addAutoReleasedObject(QObject*)'
doxygenplugin.cpp:(.text+0x2858): undefined reference to `Core::ActionManager::instance()'
doxygenplugin.cpp:(.text+0x2867): undefined reference to `Core::Id::Id(char const*)'
doxygenplugin.cpp:(.text+0x28a4): undefined reference to `Core::Id::Id(char const*)'
doxygenplugin.cpp:(.text+0x28b0): undefined reference to `Core::ActionManager::actionContainer(Core::Id)'
doxygenplugin.cpp:(.text+0x28c2): undefined reference to `Core::Id::Id(char const*)'
doxygenplugin.cpp:(.text+0x28ce): undefined reference to `Core::ActionManager::createMenu(Core::Id)'
doxygenplugin.cpp:(.text+0x29a6): undefined reference to `Core::Id::Id(char const*)'
doxygenplugin.cpp:(.text+0x29bd): undefined reference to `Core::ActionManager::registerAction(QAction*, Core::Id, Core::Context const&, bool)'
doxygenplugin.cpp:(.text+0x2a99): undefined reference to `Core::Id::Id(char const*)'
doxygenplugin.cpp:(.text+0x2aa5): undefined reference to `Core::ActionManager::createMenu(Core::Id)'
doxygenplugin.cpp:(.text+0x2b27): undefined reference to `Core::Id::Id(char const*)'
doxygenplugin.cpp:(.text+0x2b3e): undefined reference to `Core::ActionManager::registerAction(QAction*, Core::Id, Core::Context const&, bool)'
doxygenplugin.cpp:(.text+0x2c85): undefined reference to `Core::Id::Id(char const*)'
[...]
And so on.....

Maybe someone knows how to fix this?

build.log (41.051 KB)

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Udo Hain almost 3 years ago

Well,

I checked out the sources as described on the Wiki page with

svn co http://svn.kofee.org/svn/qtcreator-doxygen/trunk qtcreator-doxygen

and I downloaded the qt-creator sources from the qt-project.org page. I used Ubuntu 12.04 and gcc 4.8.1. With this constellation it works, I colleague of mine checked this succesfully. Hope this helps.

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Udo Hain almost 3 years ago

zero inf wrote:

thanks for the patch. do you know if it still generates the same content (doc strucutre etc.) like the previous version?

I have no idea, are there any unit tests to be sure that the generated content is correct?

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Roland Uuesoo almost 3 years ago

Udo Hain wrote:

I used Ubuntu 12.04 and gcc 4.8.1. With this constellation it works, I colleague of mine checked this succesfully. Hope this helps.

Are you both using 12.04?

My system is updated
Ubuntu 14.04.1 LTS x86-64
GCC: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Udo Hain almost 3 years ago

No, my colleague uses Linux Mint Debian Edition, I assume that he uses gcc 4.8.2 like you.

What I don't understand is why you are talking about https://github.com/roland2025/qtcreator-plugins-builder, I think the topic here is how to build the sources you will get from the svn repository I have mentioned above. You have to check out these sources and apply the patch.

I first downloaded the qt-creator 3.2.2, compiled it, then I checked out the svn trunk, applyed the patch and compiled the doxygen plugin. This works at least for my colleague and me.

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Roland Uuesoo almost 3 years ago

Udo Hain wrote:

No, my colleague uses Linux Mint Debian Edition, I assume that he uses gcc 4.8.2 like you.

What I don't understand is why you are talking about https://github.com/roland2025/qtcreator-plugins-builder, I think the topic here is how to build the sources you will get from the svn repository I have mentioned above. You have to check out these sources and apply the patch.

I just provided the script I used for building this plugin. I just as well could have named the repository 'failed-qtcreator-doxygen-build-script'. But I know I want to try out other plugins... And on different computers, and making a build script seemed easiest.

Who knows, maybe it'll be useful for you too, someday when you need to reinstall your system for whatever reason, and need to recompile qtcreator&custom plugins.

But the main reason is... so others can try to replicate this with identical build steps.

This way maybe even the plugin author, who is most competent to fix this plugin, could spend 10 minutes to check what's wrong.

I first downloaded the qt-creator 3.2.2, compiled it, then I checked out the svn trunk, applyed the patch and compiled the doxygen plugin. This works at least for my colleague and me.

  • clone qtcreator
  • build
  • checkout plugin from svn
  • apply patch
  • build plugin

Exactly the same result.

QtCreator v3.2.2 based on Qt 5.3.2

Tried this on a different computer
But OS is still Ubuntu 14.04.1 LTS x86-64
GCC: gcc (Ubuntu 4.8.2-19ubuntu1) 4.8.2

https://github.com/roland2025/qtcreator-plugins-builder/tree/feature-compile-qtcreator

RE: QtCreator-Doxygen for Qt Creator 3.2 x64 with VC1x x64? - Added by Markus S over 2 years ago

I had the same Problem compiling the plugin unter Win 8.1 x64

Because i was working on windows I used msvc2013 instead of g++ but the errors were the same.

Here is what i did:

1) downloaded the source of QtC here: https://www.qt.io/download-open-source/#section-6 as zip
2) compiled it as release with msvc2013 32bit
3) checked the plugins svn out: http://svn.kofee.org/svn/qtcreator-doxygen/trunk
4) changed the stuff form the patch above and some more see attached patch below
5) Set QTC_SOURCE_DIR, QTC_BUILD_DIR, LIBSROOT, DEST Thats important!
6) build the plugin in with msvc2013 32bit
7) Got the libary in the DEST dir and the doxygen.pluginspec in QTC_BUILD_DIR/lib/qtcreator/plugins

It's important that you use the same version of compilier for the QtC and the doxygen plugin ;)

Maybe this will help you;)

(1-11/11)