[Development] Creator: how to search for qdoc

Eike Ziller Eike.Ziller at qt.io
Tue Feb 28 09:20:05 CET 2023


> Am 27/02/2023 um 17:34 schrieb Lisandro Damián Nicanor Pérez Meyer <perezmeyer at gmail.com>:
> Hi!
> In Qt Creator qdoc is being searched by assuming that it is in the same directory as qmake:
> https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/cmake/QtCreatorDocumentation.cmake?h=9.0#n54 

as far as I can tell, that code that looks for qdoc next to qmake was only needed for Qt 5.
Qt 6 defines a target Qt(6)::qdoc, so we should just use that target instead, like we do for Qt::qhelpgenerator.
I can look into a patch.

Br, Eike

> Now this is totally reasonable, but (there is always one) it kinds of steps onto the changes we made in Debian in order to be able to cross build Qt applications by the usage of MultiArch [1].
> I propose a change: we now have $QT_INSTALL_BINS available. By switching the HINT in the line above to it things go as smooth as usual for everyone, including our use case, which I hope to clean up and explain hopefully soon [2].
> Would that be considered a valid change? Is there any reason why it would be preferred to use qmake's base dir instead of QT_INSTALL_BINS?
> [1] <https://wiki.debian.org/Multiarch/HOWTO> between others.
> [2] My plan is to find a common ground in which Qt is not really affected by this and, at the same time, we keep our delta as small as possible.
> Kinds regards, Lisandro.
> -- 
> Development mailing list
> Development at qt-project.org
> https://lists.qt-project.org/listinfo/development

Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Erich-Thilo-Straße 10
D-12489 Berlin
eike.ziller at qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Jouni Lintunen
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

More information about the Development mailing list