For example, I am reading Gunnar Sletta’s blog, New Scene Graph Renderer.
I guess the change is b480fa83, it’s already merged in stable(5.2.x). After talked with Gunnar, he mentioned that the result in lastest stable is perhaps very different with the blog, because there was another big change, v4, also already in stable.
I think I need to have the environment to reproduce the “scene” at that commit, b480fa83.
First, I had a look at the status of that change.
1 2 3 4 5 6 |
$ cd ~/qt/qt5 $ git checkout dev; git pull $ cd qtdeclarative $ git checkout dev; git pull $ git checkout -b new_sg b480fa83 $ cat sync.profile |
In the dependencies part, I found:
1 2 3 4 |
%dependencies = ( "qtbase" => "9de144f4b15b1b97d55922e3e0bc846080c5bb62", "qtxmlpatterns" => "", ); |
qtdeclarative depends on qtbase and qtxmlpatterns repo. For this example, just in case, we have an explicit sha1 in qtbase. It’s uncommon. Normally it’s just like the case for qtxmlpatterns, an empty string.
Next, the change in codereview.qt-project.org is this.
I found the latest information when that change was integrated, QtDeclarative_dev_Integration #719: SUCCESS.
In Qt CI results, the results for QtDeclarative_dev_Integration #719, I chose macx-clang_developer-build_OSX_10.8, then I am in this page.
Searching qtbase, you could find some information like:
1 2 3 4 5 6 7 8 9 10 11 12 13 |
... + perl ./init-repository --mirror qtgitreadonly: --module-subset=qtbase,qtxmlpatterns -force ... + CWD: /work/build/qt/qtbase + git reset --hard 9de144f4b15b1b97d55922e3e0bc846080c5bb62 ... + CWD: /work/build/qt/qtxmlpatterns + git fetch --verbose --update-head-ok origin +refs/heads/dev:refs/heads/dev From git://qt-git.ci.local/qt/qtxmlpatterns * [new branch] dev -> dev + git reset --hard refs/heads/dev HEAD is now at 5b4b3fb QtXmlPatterns: Fix (!a == b) bug ... |
I think I know what I should do for qtbase and qtxmlpatterns.
1 2 3 4 5 6 |
$ cd ~/qt/qt5/qtbase $ git checkout dev; git pull $ git checkout -b new_sg 9de144f4 $ cd ~/qt/qt5/qtxmlpatterns $ git checkout dev; git pull $ git checkout -b new_sg 5b4b3fb |
Now I could have a shadow build and play with it.