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

Qt5.7 QNX: serialbus/modbus/adueditor example not compiling

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.6.2, 5.7.1
    • 5.6.1, 5.7.0 RC
    • SerialBus: MOD Bus
    • QNX x11 and win

      qt-enterprise-linux-x64-qnx-5.6.1_413.run
      Run installer, build serialbus/modbus/adueditor example, compilation fails with following error message:

      /tmp/qt5/Examples/Qt-5.7/qtserialbus/serialbus/modbus/adueditor$ make
      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_SERIALBUS_LIB -DQT_SERIALPORT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtWidgets -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtGui -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtSerialBus/5.7.0 -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtSerialBus/5.7.0/QtSerialBus -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtSerialBus -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtSerialPort -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtCore/5.7.0 -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtCore/5.7.0/QtCore -I/home/joaijala/tmp/qt5/5.7/qnx6_armv7/include/QtNetwork -I/home/joaijala/tmp/qt5/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/tmp/qt5/5.7/qnx6_armv7/mkspecs/qnx-armle-v7-qcc -o main.o main.cpp
      In file included from ui_interface.h:34:0,
                       from mainwindow.h:44,
                       from main.cpp:41:
      plaintextedit.h: In member function 'virtual void PlainTextEdit::contextMenuEvent(QContextMenuEvent*)':
      plaintextedit.h:75:55: error: 'copy' is not a member of 'QPlainTextEdit'
      cc: /opt/qnx660/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/cc1plus error 1
      make: *** [main.o] Error 1
      

      Log from x11 build, build fails on win QNX also.

      Other serialbus examples (modbus/master and modbus/slave) are built without errors.

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

            ablasche Alex Blasche
            joaijala Johanna Äijälä
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes