[Development] Qt3D without Qml/QtQuick?

Harald Vistnes harald.vistnes at gmail.com
Tue Aug 1 22:21:45 CEST 2017


Thanks Thiago,

that was it! I changed it .gitmodules to

[submodule "qt3d"]
depends = qtbase
recommends = qtdeclarative qtimageformats qtgamepad
path = qt3d
url = ../qt3d.git
branch = 5.9
status = addon

Now Qt3D builds even with -skip qtdeclarative.

Harald


2017-08-01 21:25 GMT+02:00 Thiago Macieira <thiago.macieira at intel.com>:

> On terça-feira, 1 de agosto de 2017 12:14:18 PDT Harald Vistnes wrote:
> > I had a look in qt3d/src/src.pro, but there already was a
> > qtHaveModule(quick) {} around the quick3d libs and I don't know where the
> > dependency on qtdeclarative is set. I'd be happy to provide a patch, but
> it
> > seems I don't know enough about the internal Qt dependency settings...
>
> It's set in qt5.git's file .gitmodules.
>
> [submodule "qt3d"]
>         depends = qtdeclarative
>         recommends = qtimageformats qtgamepad
>         path = qt3d
>         url = ../qt3d.git
>         branch = 5.9
>         status = addon
>
> You want to make qtbase a strict dependency and move qtdeclarative to
> "recommends".
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20170801/aba48ad5/attachment.html>


More information about the Development mailing list