Good time to all.
I want to say in advance that collecting dynamically (without -static) according to the same scheme, everything works fine. But statically fails.
One after another as as I do.
In any directory for creating the following directories: depot - for storing Qt source, build_static - for building.
mkdir -p build_static/qt5 mkdir depot
Getting Qt5 from the repository:
cd depot git clone git://gitorious.org/qt/qt5.git qt5
Getting Qt3D:
cd qt5 git clone git://gitorious.org/qt/qt3d.git qt3d
Initializing the Qt5 repository:
./init-repository --no-webkit
Go to the build directory:
cd ../../build_static/qt5
Configuration (static-static):
../../depot/qt5/configure -developer-build -opensource -nomake examples -nomake tests -confirm-license -static -opengl
Compile:
make -j 9
Customize to build Qt3D:
./qtbase/bin/qmake ../../depot/qt5/qt3d/qt3d.pro
Up to this point, everything is fine, but further when compiling Qt3D:
make -j 9
encounter an error
make[2]: Вход в каталог `/mnt/d/qt5/build_static/qt5/src/quick3d' make[2]: *** Нет правила для сборки цели `/mnt/d/qt5/build_static/qt5/qtbase/lib/libQt53D.a', требуемой для `../../qtbase/lib/libQt53DQuick.so.5.2.0'. Останов. make[2]: Выход из каталога `/mnt/d/qt5/build_static/qt5/src/quick3d' make[1]: *** [sub-quick3d-make_first-ordered] Ошибка 2 make[1]: Выход из каталога `/mnt/d/qt5/build_static/qt5/src' make: *** [sub-src-make_first-ordered] Ошибка 2
Question: what am I doing wrong and how to fix it?