Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.7.0 Beta
-
x11 android_armv7/_x86
Description
qt-enterprise-linux-x64-android-5.7.0-beta_375.run
Run installer, open SCXML examples and build with android_armv7/_x86, some examples builds fine, but some fails, error seems to be pretty similar in all cases, below just one example:
statemachine.cpp:159: error: undefined reference to 'vtable for TrafficLightStateMachine' /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function statemachine.cpp:162: error: undefined reference to 'vtable for TrafficLightStateMachine' /opt/android/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/../lib/gcc/arm-linux-androideabi/4.9/../../../../arm-linux-androideabi/bin/ld: the vtable symbol may be undefined because the class is missing its key function /home/qt/tmp/Qt5.7.0/5.7/android_armv7/include/QtCore/qmetatype.h:1422: error: undefined reference to 'TrafficLightStateMachine::staticMetaObject' collect2: error: ld returned 1 exit status make: *** [libtrafficlight-qml-static.so] Error 1 14:24:34: The process "/usr/bin/make" exited with code 2. Error while building/deploying project trafficlight-qml-static (kit: Android for armeabi-v7a (GCC 4.9, Qt 5.7.0)) When executing step "Make"
Examples that fails to build:
scxml/calculator
scxml/invoke-static
scxml/mediaplayer-qml-cppdatamodel
scxml/mediaplayer-qml-static
scxml/mediaplayer-widgets-static
scxml/trafficlight-qml-static
scxml/trafficlight-widgets-static
Attachments
Issue Links
- is duplicated by
-
QTBUG-52362 Qt5.7 offline linux QNX: some of the SCXML examples fails to build
-
- Closed
-