qt3d failed to compile :(
/opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-g++
-c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections
-funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack
-fno-builtin-memmove -std=c++11 -O2 -Os -fomit-frame-pointer
-fno-strict-aliasing -finline-limit=64 -mthumb -fvisibility=hidden
-fvisibility-inlines-hidden -fno-exceptions -Wall -Wno-psabi -W -D_REENTRANT
-fPIC -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT
-DQT3DRENDERER_LIBRARY -DQT_BUILD_3DRENDERER_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG
-DQT_3DCORE_LIB -DQT_OPENGLEXTENSIONS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I.
-I../../include -I../../include/Qt3DRenderer -I../../include/Qt3DRenderer/5.5.1
-I../../include/Qt3DRenderer/5.5.1/Qt3DRenderer -
Ibackend -Ibackend/framegraph -Ibackend/jobs -Ifrontend
-Ifrontend/framegraph-components -Iio -Idefaults
-I/work/build/qt/qtbase/include/QtGui/5.5.1
-I/work/build/qt/qtbase/include/QtGui/5.5.1/QtGui
-I../../include/Qt3DCore/5.5.1 -I../../include/Qt3DCore/5.5.1/Qt3DCore
-I../../include/Qt3DCore -I/work/build/qt/qtbase/include
-I/work/build/qt/qtbase/include/QtOpenGLExtensions
-I/work/build/qt/qtbase/include/QtGui
-I/work/build/qt/qtbase/include/QtCore/5.5.1
-I/work/build/qt/qtbase/include/QtCore/5.5.1/QtCore
-I/work/build/qt/qtbase/include/QtCore -I.moc -isystem
/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.8/include -isystem
/opt/android/ndk/sources/cxx-stl/gnu-libstdc++/4.8/libs/armeabi-v7a/include
-isystem /opt/android/ndk/platforms/android-9/arch-arm/usr/include
-I/work/build/qt/qtbase/mkspecs/android-g++ -o .obj/qgoochmaterial.o
defaults/qgoochmaterial.cpp
defaults/qgoochmaterial.cpp: In member function 'void
Qt3D::QGoochMaterialPrivate::init()':
defaults/qgoochmaterial.cpp:86:115: error: invalid use of incomplete type
'class QUrl'
In file included from /work/build/qt/qtbase/include/QtCore/qmetatype.h:1:0,
from
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:40,
from /work/build/qt/qtbase/include/QtCore/qvariant.h:1,
from /work/build/qt/qtbase/include/QtCore/QVariant:1,
from
../../include/Qt3DRenderer/../../src/render/frontend/qmaterial.h:40,
from ../../include/Qt3DRenderer/qmaterial.h:1,
from defaults/qgoochmaterial.h:40,
from defaults/qgoochmaterial.cpp:37:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:96:17:
error: forward declaration of 'class QUrl'
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1871:11:
note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1873:1:
note: in expansion of macro 'QT_FOR_EACH_STATIC_CORE_CLASS'
defaults/qgoochmaterial.cpp:87:117: error: invalid use of incomplete type
'class QUrl'
In file included from /work/build/qt/qtbase/include/QtCore/qmetatype.h:1:0,
from
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:40,
from /work/build/qt/qtbase/include/QtCore/qvariant.h:1,
from /work/build/qt/qtbase/include/QtCore/QVariant:1,
from
../../include/Qt3DRenderer/../../src/render/frontend/qmaterial.h:40,
from ../../include/Qt3DRenderer/qmaterial.h:1,
from defaults/qgoochmaterial.h:40,
from defaults/qgoochmaterial.cpp:37:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:96:17:
error: forward declaration of 'class QUrl'
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1871:11:
note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1873:1:
note: in expansion of macro 'QT_FOR_EACH_STATIC_CORE_CLASS'
defaults/qgoochmaterial.cpp:88:118: error: invalid use of incomplete type
'class QUrl'
In file included from /work/build/qt/qtbase/include/QtCore/qmetatype.h:1:0,
from
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:40,
from /work/build/qt/qtbase/include/QtCore/qvariant.h:1,
from /work/build/qt/qtbase/include/QtCore/QVariant:1,
from
../../include/Qt3DRenderer/../../src/render/frontend/qmaterial.h:40,
from ../../include/Qt3DRenderer/qmaterial.h:1,
from defaults/qgoochmaterial.h:40,
from defaults/qgoochmaterial.cpp:37:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:96:17:
error: forward declaration of 'class QUrl'
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1871:11:
note: in definition of macro 'QT_FORWARD_DECLARE_STATIC_TYPES_ITER'
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:1873:1:
note: in expansion of macro 'QT_FOR_EACH_STATIC_CORE_CLASS'
defaults/qgoochmaterial.cpp:89:120: error: invalid use of incomplete type
'class QUrl'
In file included from /work/build/qt/qtbase/include/QtCore/qmetatype.h:1:0,
from
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qvariant.h:40,
from /work/build/qt/qtbase/include/QtCore/qvariant.h:1,
from /work/build/qt/qtbase/include/QtCore/QVariant:1,
from
../../include/Qt3DRenderer/../../src/render/frontend/qmaterial.h:40,
from ../../include/Qt3DRenderer/qmaterial.h:1,
from defaults/qgoochmaterial.h:40,
from defaults/qgoochmaterial.cpp:37:
/work/build/qt/qtbase/include/QtCore/../../src/corelib/kernel/qmetatype.h:96:17:
error: forward declaration of 'class QUrl'
make[3]: *** [.obj/qgoochmaterial.o] Error 1
make[2]: *** [sub-render-make_first] Error 2
make[1]: *** [sub-src-make_first] Error 2
make: *** [module-qt3d] Error 2
Build log:
http://testresults.qt.io/ci/Qt3D_5.5_Integration/build_00171/linux-android-g++_Ubuntu_14.04_x64/log.txt.gz
Tested changes (refs/builds/5.5_1435837259):
http://codereview.qt-project.org/115722 [PS2] - Don't saturate with too
much ambient
http://codereview.qt-project.org/108535 [PS10] - Add gooch material and
example
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports