Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-52328

Qt5.7 offline x11 android: some SCXML examples failed to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.7.0 Beta
    • 5.7.0 Beta
    • XML: SCXML
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              erikv Erik Verbruggen
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes