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

QNX7: widgets/tutorials/notepad not compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.11.2
    • 5.10.1, 5.11.0 RC 1, 5.11.1
    • Examples and Demos
    • Ubuntu16.04 x64, QNX700 armv7, x86 tested
    • QNX

    Description

      Qt5.11.0 RC1 content (offline installer #801), install QNX binaries and launch QtCreator. Open widgets/tutorials/notepad example and compile. Build fails with:

      ../notepad/notepad.cpp: In member function 'void Notepad::on_actionCopy_triggered()':
      ../notepad/notepad.cpp:164:19: error: 'class QTextEdit' has no member named 'copy'
      ui->textEdit->copy();
      ^
      ../notepad/notepad.cpp: In member function 'void Notepad::on_actionCut_triggered()':
      ../notepad/notepad.cpp:169:19: error: 'class QTextEdit' has no member named 'cut'
      ui->textEdit->cut();
      ^
      ../notepad/notepad.cpp: In member function 'void Notepad::on_actionPaste_triggered()':
      ../notepad/notepad.cpp:174:19: error: 'class QTextEdit' has no member named 'paste'
      ui->textEdit->paste();
      ^
      cc: /opt/qnx700/host/linux/x86_64/usr/lib/gcc/arm-unknown-nto-qnx7.0.0eabi/5.4.0/cc1plus error 1
      Makefile:961: recipe for target 'notepad.o' failed
      make: *** [notepad.o] Error 1
      11:42:02: The process "/opt/qnx700/host/linux/x86_64/usr/bin/make" exited with code 2.
      Error while building/deploying project notepad (kit: Qt 5.11.0 for QNX 7.0.0 armv7)
      The kit Qt 5.11.0 for QNX 7.0.0 armv7 has configuration issues which might be the root cause for this problem.
      When executing step "Make"
      11:42:02: Elapsed time: 00:01.
      

      Other examples from widgets/tutorial dir are compiled.

      Example fails on Qt5.11.0 and Qt5.10.1, was not present in Qt5.9.5.

       

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-68168
          # Subject Branch Project Status CR V

          Activity

            People

              treinio Topi Reiniö
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes