Results 1 to 5 of 5

Thread: About qcollectiongenerator-assistant BUG on qt 4.7.0

  1. #1
    Join Date
    Mar 2006
    Location
    Mexico City
    Posts
    31
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Question About qcollectiongenerator-assistant BUG on qt 4.7.0

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

  2. #2
    Join Date
    Mar 2006
    Location
    Mexico City
    Posts
    31
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: About qcollectiongenerator-assistant BUG on qt 4.7.0

    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.

  3. #3
    Join Date
    Mar 2006
    Location
    Mexico City
    Posts
    31
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: About qcollectiongenerator-assistant BUG on qt 4.7.0

    Problem solved...
    Thanks

  4. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: About qcollectiongenerator-assistant BUG on qt 4.7.0

    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.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  5. #5
    Join Date
    Mar 2006
    Location
    Mexico City
    Posts
    31
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: About qcollectiongenerator-assistant BUG on qt 4.7.0

    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 Code:
    1. qt/tools/assistant/lib
    To copy to clipboard, switch view to plain text mode 
    There you can find the file that needs to be patched: qhelpgenerator.cpp
    Now apply the patch, using:
    Qt Code:
    1. patch -p1 qhelpgenerator.cpp -i assistant.diff
    To copy to clipboard, switch view to plain text mode 
    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.

Similar Threads

  1. deploying assistant
    By GrahamLabdon in forum Newbie
    Replies: 0
    Last Post: 5th January 2011, 14:30
  2. bug in qcollectiongenerator?
    By GrahamLabdon in forum Qt Tools
    Replies: 0
    Last Post: 11th November 2010, 11:26
  3. STL(+TR1) Documentation in Assistant
    By rubenvb in forum General Discussion
    Replies: 2
    Last Post: 11th September 2010, 19:04
  4. qt assistant on linux
    By alisami in forum Qt Programming
    Replies: 2
    Last Post: 3rd October 2008, 15:27
  5. Qt assistant under linux
    By jochen_r in forum Newbie
    Replies: 8
    Last Post: 10th January 2006, 08:39

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.