Thanks Sean, 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...
Harald 2017-08-01 20:26 GMT+02:00 Sean Harmer <s...@theharmers.co.uk>: > Hi, > > On 01/08/2017 19:04, Harald Vistnes wrote: > >> Hi, >> >> is it possible to build the pure C++ subset of Qt3D (Qt3DCore, >> Qt3DRender, Qt3DExtras, Qt3DInput, Qt3DLogic) without Qml and QtQuick? I >> tried to configure and build Qt with -skip qtdeclarative, but then Qt3D >> was skipped completely. >> > > Yeah, at the moment Qt 3D is marked as requiring QtDeclarative but indeed > there is no reason why that can't be made an optional dependency to allow > what you need. It should be pretty easy to fix up qt3d/src/src.pro. > Patches welcome :) > > Cheers, > > Sean > > >> After building Qt I tried building Qt3D manually by running >> qmake qt3d.pro <http://qt3d.pro> and jom but with the following error >> message: >> >> D:\qt5\qt3d>..\qtbase\bin\qmake.exe qt3d.pro <http://qt3d.pro> >> Info: creating cache file D:\qt5\qt3d\.qmake.cache >> >> D:\qt5\qt3d>jom >> >> jom 1.1.2 - empower your cores >> >> cd src\ && ( if not exist Makefile D:\qt5\qtbase\bin\qmake.exe >> -o Makefile D:\qt5\qt3d\src\src.pro <http://src.pro> ) && c:\jom\jom.exe >> -f Makefile >> cd core\ && ( if not exist Makefile D:\qt5\qtbase\bin\qmake.exe >> -o Makefile D:\qt5\qt3d\src\core\core.pro <http://core.pro> ) && >> c:\jom\jom.exe -f Makefile >> Cannot read D:/qt5/qt3d/src/core/qt3dcore-config.pri: No such file or >> directory >> Project ERROR: Could not find feature qt3d-profile-jobs. >> jom: D:\qt5\qt3d\src\Makefile [sub-core-make_first] Error 3 >> cd doc\ && ( if not exist Makefile D:\qt5\qtbase\bin\qmake.exe >> -o Makefile D:\qt5\qt3d\src\doc\doc.pro <http://doc.pro> ) && >> c:\jom\jom.exe -f Makefile >> c:\jom\jom.exe -f Makefile.Release >> jom: D:\qt5\qt3d\Makefile [sub-src-make_first] Error 2 >> >> >> I'm on Windows 10, VS2015, latest sources from git, 5.9 branch. >> >> Thanks, >> Harald >> >> >> >> >> _______________________________________________ >> Development mailing list >> Development@qt-project.org >> http://lists.qt-project.org/mailman/listinfo/development >> >> _______________________________________________ > Development mailing list > Development@qt-project.org > http://lists.qt-project.org/mailman/listinfo/development >
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development