How to build Qt3d?
I cloned Qt3d from git://gitorious.org/qt/qt3d.git, but a little confused about how to build it.
It this written in README correct?
First fetch the Qt5 source tree and Qt3D master branch:
cd ~/depot git clone ssh://codereview.qt-project.org:29418/qt/qt5.git cd qt5 ./init-repository --codereview-username <username> \ --module-subset=qtbase,qtsvg,qtdeclarative,qttools,qtxmlpatterns,qtdoc,qlalr,qtrepotools,qtqa,qtlocation,qt3d git submodule foreach "git fetch gerrit && git reset --hard gerrit/master" cd qt3d scp -p -P 29418 codereview.qt-project.org:hooks/commit-msg .git/hooks/ git fetch gerrit git checkout --track -b master gerrit/master
If you are reading this file then somehow you probably already got this far anyway.
Now build Qt5, which will also build Qt3D as a module:
cd ~/build mkdir qt5 cd qt5 ~/depot/qt5/configure -developer-build -opensource -confirm-license -no-webkit -no-phonon -nomake tests \ -nomake examples -declarative -opengl -svg && make -j 4
It seems that I don't have permissions as an anonymous user when executing "git clone ssh://codereview.qt-project.org:29418/qt/qt5.git"
Is git://gitorious.org/qt/qt5.git the same as ssh://codereview.qt-project.org:29418/qt/qt5.git ?
What does git fetch gerrit && git reset --hard gerrit/master mean?
I guess I won't have permissions to execute this: scp -p -P 29418 codereview.qt-project.org:hooks/commit-msg .git/hooks/
Although I haven't come to this step.
I didn't followed that guide to build qt3d together with qt5 ...
I built it like an separated library, so doing "qmake & make" in Qt3D folder
when I look across you snippet I see things like "codereview-username <username>" ... I guess this are the steps how you could pull qt3d to push patches to gerrit ( https://codereview.qt-project.org/ )
Thank you :)
I'll try it.
I don't have a
makeso I use 'nmake' after qmake.
After the making process finish, I found many .exe files in my bin folder, like 'animations_qml.exe', 'basket.exe', 'basket_qml.exe', and so on.
But when I run any of them, it prompts "can't find Qt53DQuickd.dll", or "can't find Qt53Dd.dll". I can't find these dlls in my whole qt3d folder.
It seems that only examples have been made, the dlls have not been made..
Am I missing something?
Oh, Qt53Dd.dll and Qt53DQuickd.dll are in my $QTDIR\bin. :)