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

Reply via email to