Linus Atorf - 2014-03-13

Hi (please excuse my frequent mailings today),

related to my problem posted earlier in https://sourceforge.net/p/doxygen/discussion/130996/thread/637e1d74/ , I found and verified a bug (indeed the problem I was suspecting there):

OS: Windows 7 SP1 x64
Doxygen: 1.8.6

Problem: When you create a QCH-file for Qt Assistant, this file is internally missing several Javascript files from the HTML output (jquery.js and dynsections.js from the html-root, and many more other files from the search-directory). Once the QCH-file is being used in Qt Assistant, dynamic sections do not work (and due to possible bug from here https://sourceforge.net/p/doxygen/discussion/130996/thread/856a8f63/ dynamic sections cannot be turned off).

To reproduce: Use the minimal example from here https://gigamove.rz.rwth-aachen.de/d/id/vudotpY78zKh99/dd/100 and make sure you have Qt (I'm using ver 4.8.5) installed and QTDIR is set.

Solution: I included all Javascript-Files from the HTML-root by inserting <file>-tags into the index.qhp file. Running qhelpgenerator to create QCH-file produced a working version. I tried only inckuding jquery.js and dynsections.js, but that wasn't enough. Apparently, the .js files from the search folder are also needed... So, a fix would just make sure the files-section inside the .qhp-file is updated automatically.

I have the broken files and my fixed versions uploaded in a zip-file here: https://gigamove.rz.rwth-aachen.de/d/id/NiCmBB8i37yp2Y/dd/100 .

Best regards,
Linus (mail: atorf (at) mmi (dot) rwth-aachen.de )