PDA

View Full Version : About qcollectiongenerator-assistant BUG on qt 4.7.0



arnaiz
26th January 2011, 14:50
Hello friends.

I know that there is a bug on 4.7.0 that affects indexes in the help files generated by qcollectiongenerator. I also know it's a reported bug (here (http://bugreports.qt.nokia.com/browse/QTBUG-14393?focusedCommentId=132169&page=com.atlassian.jira.plugin.system.issuetabpane ls:comment-tabpanel#comment-132169)). I'm using qt in Suse 11.2 and under Windows XP with MinGW. On Linux, I use Suse packages for 4.7.1, but the bug is still there :(. On windows I have qt 4.7.0.

How can I solve this problem without downloading again all of qt 4.7.1? Is the bug really solved? If possible, how can I use the diff file to recompile ONLY the affected file(s) (assistant or qcollectiongenerator)?

arnaiz
27th January 2011, 20:14
Is this the correct forum for this question? I think it is, but if not, please say so, and I will try in another one.

arnaiz
28th January 2011, 16:14
Problem solved...
Thanks

high_flyer
28th January 2011, 16:24
Would be nice if you explain how the problem was solved, so that other users with such a problem in the future could benefit from your experience.

arnaiz
31st January 2011, 15:38
Sure, no problem. Since I didn't have a reply, the only way to do it without wasting more time, was to use the sources in my Windows-MinGW install. I download the patch mentioned above and apply the patch.

To do this, you can use a MinGW patch version, or apply the patch using linux. Change to the directory:

qt/tools/assistant/lib
There you can find the file that needs to be patched: qhelpgenerator.cpp
Now apply the patch, using:

patch -p1 qhelpgenerator.cpp -i assistant.diff
go to the assistant dir and run the mingw32-make command. You will get new versions for assistant.exe, qcollectiongenerator.exe, qhelper.exe and a few more.
Since I don't have sources for qt 4.7.1 on linux, and since qch help files generated in Windows also work on linux. I'll wait for a patched linux version.

Hope this can help. Remember that this worked for a MinGW qt 4.7.0 install.