[Development] How to make a qt6 module using cmake?
Bogdan Vatra
bogdan.vatra at kdab.com
Fri Nov 24 10:10:36 CET 2023
Hi,
În ziua de marți, 21 noiembrie 2023, la 18:45:51 EET, Alexandru Croitor a
scris:
> > On 21. Nov 2023, at 16:46, BogDan Vatra <bogdan at kdab.com> wrote:
> >
> > On 2023-11-21 16:47, Alexandru Croitor wrote:
> >>> On 21. Nov 2023, at 13:21, Bogdan Vatra via Development
> >>> <development at qt-project.org> wrote: Hello there,
> >>
> >> Hi,
> >
> > Salut,
> >
> >
> >
> > I tried qtmqtt to be sure that I didn't do any mistakes, it seems if I use
> > `qt-cmake` to configure the project it fails at `ninja docs` step, but if
> > I'm using `qt-configure-module`, as Kai recommended, it passed that step.
> The only relevant difference i can think of between qt-configure-module
> (which uses qt-cmake-private) and qt-cmake, is that the former will use the
> same cmake generator that was used to configure qtbase.
>
> But if the configuration otherwise succeeded, and it's only docs target that
> failed, i'm not really sure what else could have gone wrong.
I found a way to reproduce it. Setting `CMAKE_INSTALL_PREFIX=/` or any path
that is different from qt path breaks the docs compilation.
Cheers,
BogDan.
More information about the Development
mailing list