Re: [Development] Qt3D without Qml/QtQuick?

2017-08-01 Thread Harald Vistnes
Done.

2017-08-01 22:31 GMT+02:00 Thiago Macieira :

> On terça-feira, 1 de agosto de 2017 13:21:45 PDT Harald Vistnes wrote:
> > 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
>
> Now submit it.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>   Software Architect - Intel Open Source Technology Center
>
> ___
> 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


Re: [Development] Qt3D without Qml/QtQuick?

2017-08-01 Thread Thiago Macieira
On terça-feira, 1 de agosto de 2017 13:21:45 PDT Harald Vistnes wrote:
> 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

Now submit it.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt3D without Qml/QtQuick?

2017-08-01 Thread Harald Vistnes
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 :

> 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@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


Re: [Development] Qt3D without Qml/QtQuick?

2017-08-01 Thread Thiago Macieira
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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt3D without Qml/QtQuick?

2017-08-01 Thread Harald Vistnes
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 :

> 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  and jom but with the following error
>> message:
>>
>> D:\qt5\qt3d>..\qtbase\bin\qmake.exe 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  ) && 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  ) &&
>> 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  ) &&
>> 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


Re: [Development] Qt3D without Qml/QtQuick?

2017-08-01 Thread Sean Harmer

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  and jom but with the following error
message:

D:\qt5\qt3d>..\qtbase\bin\qmake.exe 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  ) && 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  ) &&
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  ) &&
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] Qt3D without Qml/QtQuick?

2017-08-01 Thread Harald Vistnes
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.

After building Qt I tried building Qt3D manually by running
qmake qt3d.pro and jom but with the following error message:

D:\qt5\qt3d>..\qtbase\bin\qmake.exe 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 ) && 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 ) && 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 ) && 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