[Development] Creator: how to search for qdoc

Lisandro Damián Nicanor Pérez Meyer perezmeyer at gmail.com
Mon Feb 27 17:34:19 CET 2023


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 

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.






More information about the Development mailing list