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

Qt5.7 offline linux QNX: some of the SCXML examples fails to build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • 5.7.0 RC
    • 5.7.0 Beta
    • XML: SCXML
    • x11 QNX

    Description

      qt-enterprise-linux-x64-qnx-5.7.0-beta_375.run

      Run installer, try building SCXML examples with qnx_armv7/x86, for example pinball and mediaplayer-qml-dynamic builds fine, but following examples fail:

      /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

      Build log from calculator:

      qcc -Vgcc_ntoarmv7le -c -mfpu=neon -Wno-psabi -lang-c++ -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_CLIPBOARD -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SCXML_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include/QtWidgets -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include/QtGui -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include/QtScxml -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include/QtQml -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include/QtNetwork -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/include/QtCore -I. -I. -I/opt/qnx660/target/qnx6/usr/include -I/opt/qnx660/target/qnx6/usr/include/freetype2 -I/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/mkspecs/qnx-armle-v7-qcc -o moc_mainwindow.o moc_mainwindow.cpp
      qcc -Vgcc_ntoarmv7le -lang-c++ -Wl,-rpath-link,/opt/qnx660/target/qnx6/armle-v7/lib -Wl,-rpath-link,/opt/qnx660/target/qnx6/armle-v7/usr/lib -Wl,-O1 -Wl,-rpath,/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/lib -o calculator main.o mainwindow.o calculator.o moc_mainwindow.o   -L/opt/qnx660/target/qnx6/armle-v7/lib -L/opt/qnx660/target/qnx6/armle-v7/usr/lib -L/home/joaijala/Qt/Qt5.7.0_ent_375_qnx/5.7/qnx6_armv7/lib -lQt5Widgets -lQt5Gui -lQt5Scxml -lQt5Qml -lQt5Network -lsocket -lQt5Core -lm -lGLESv2 -lEGL 
      calculator.o: In function `Calculator::~Calculator()':
      calculator.cpp:(.text+0x94): undefined reference to `vtable for Calculator'
      calculator.o: In function `Calculator::Calculator(QObject*)':
      calculator.cpp:(.text+0x108): undefined reference to `vtable for Calculator'
      calculator.o: In function `int qRegisterMetaType<Calculator*>(char const*, Calculator**, QtPrivate::MetaTypeDefinedHelper<Calculator*, QMetaTypeId2<Calculator*>::Defined&&(!QMetaTypeId2<Calculator*>::IsBuiltIn)>::DefinedType)':
      calculator.cpp:(.text._Z17qRegisterMetaTypeIP10CalculatorEiPKcPT_N9QtPrivate21MetaTypeDefinedHelperIS4_Xaasr12QMetaTypeId2IS4_E7DefinedntsrS9_9IsBuiltInEE11DefinedTypeE[_Z17qRegisterMetaTypeIP10CalculatorEiPKcPT_N9QtPrivate21MetaTypeDefinedHelperIS4_Xaasr12QMetaTypeId2IS4_E7DefinedntsrS9_9IsBuiltInEE11DefinedTypeE]+0xac): undefined reference to `Calculator::staticMetaObject'
      cc: /opt/qnx660/host/linux/x86/usr/bin/arm-unknown-nto-qnx6.6.0eabi-ld error 1
      make: *** [calculator] Error 1
      

      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