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

Qt5.7 linux QNX: scxml/invoke-static example not compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0 Beta
    • 5.7.1
    • Examples and Demos
    • linux QNX
    • d7398f7f482d7a318d75f183758ee9bb37980b1a

    Description

      qt-enterprise-linux-x64-qnx-5.7.1_523.run

      Run installer, open project scxml/invoke-static in QtCreator and build with QNX target. Build fails with following error:

      statemachine.cpp: In member function 'void Directions::Data::init()':
      statemachine.cpp:52:43: error: '<::' cannot begin a template-argument list [-fpermissive]
      statemachine.cpp:52:43: note: '<:' is an alternate spelling for '['. Insert whitespace between '<' and '::'
      statemachine.cpp:52:43: note: (if you use '-fpermissive' G++ will accept your code)
      cc: /opt/qnx660/host/linux/x86/usr/lib/gcc/arm-unknown-nto-qnx6.6.0eabi/4.7.3/cc1plus error 1
      make: *** [statemachine.o] Error 1
      13:04:24: The process "/opt/qnx660/host/linux/x86/usr/bin/make" exited with code 2.
      Error while building/deploying project invoke-static (kit: Qt 5.7.0 for QNX 6.6.0 armv7)
      When executing step "Make"
      13:04:24: Elapsed time: 00:01.
      

      Other scxml examples do compile, and invoke-static compiles with gcc_64.

      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:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes