New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Qhelpgenerator debug mode #9135
Comments
As is the idea is sympathetic (and not difficult to implement) though I tried to run the The documentation states:
I think one can either interpret this as:
or
It looks to me that the later is done here. So I don't think it is a good idea to run the Regarding the
Did you miss some files in the example besides the files in the "user" : of the layout files (i.e. "group__Tutorials.html" and "release-notes.html") |
Thanks for the reply! With the root-docu "reproducer" I linked, the -c option runs in less than a second for me. Weird...
I am using:
To test that it's working, go to the html output folder, and remove index.html
Concerning what this option does, yes, it's a bit ambiguous. I think it only checks that the files listed in the XML file index.qhp do exist. Those between the
Yes, the files groupTutorials and release-notes are missing because I trimmed the full example to a minimum reproducer, but did not bother to update the DoxygenLayout file. |
I tried:
So I'm still think it is not wise to enable the |
Hmmm looks that the newer qhelpgenerator is buggy then. This is a small project file, so even when recursing links, it should finish in a couple of seconds. Agreed, let's skip this then. Or we can leave it open for the moment and submit a bug report to Qt. |
Best would indeed that you submit a bug report to Qt (and post a link here). |
Good point, thanks. Here the link: https://bugreports.qt.io/browse/QTBUG-101070 |
A patch has been proposed https://codereview.qt-project.org/c/qt/qttools/+/400691 |
Patch has been released for 6.4.0 Alpha (as well as for 6.3.0 RC and 6.2.5) |
Adding in the qhp debug mode the output of the `-v` and `-c` output. The `-c` version didn't work for the Qt version up to version 6.2.5 resulting in some extra test (see: https://bugreports.qt.io/browse/QTBUG-101070)
I've just pushed a proposed patch, pull request #9228 |
Thanks!! |
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
Describe the bug
Not a bug.
Expected behavior
It would be nice if, when
-d qhp
is enabled, qhelpgenerator is run first (twice) with the flags-v -c
, which print the version and check that all files from the file list are found. (I think they cannot be used simultaneously, nor with -o).To Reproduce
See the reproducer at #9094
Screenshots
Version
1.9.4 (15dae50*)
Additional context
Included HTML path problems found in #9094
The text was updated successfully, but these errors were encountered: