QDoc: QML Files with same name not possible (warning: Overrides a previous doc)
-
Is there a way to prevent files with the same name in different modules and different directories from being interpreted as the same entity and overridden using QDoc with QML?
Some QML files in the project have the same name and the same \qmltype but have a different \inqmlmodule and are located in different directories. Nevertheless these files seem to be interpreted as the same entity during generation. The warning: Overrides a previous doc is being thrown. Docs for the modules are being generated correctly but all link to the alphabetically last QML file with the same name. This is the file that has overridden the others. Is this really as intended?
Changing the filenames solves the issue - but is not an option.
Changing the \qmltype in the QDoc comment has no effect but would also admittedly be strange even if it did.Much obliged!
-
@qmluser said in QDoc: QML Files with same name not possible (warning: Overrides a previous doc):
Changing the filenames solves the issue - but is not an option.
That's the only way. Or provide a patch for QDoc.