Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-24684

qmlpuppet emulation error on QtC 4.13.1, macOS 10.15.6

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      This happens when building emulator for current Qt version in Quick Designer:

      In file included from /Users/marco_piccolino_tb/tools/Qt/Qt Creator.app/Contents/Resources/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.cpp:26:
      In file included from /Users/marco_piccolino_tb/tools/Qt/Qt Creator.app/Contents/Resources/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.h:30:
      /Users/marco_piccolino_tb/tools/Qt/Qt Creator.app/Contents/Resources/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:21: error: no member named 'make_unique' in namespace 'std'
      {{ return std::make_unique<MultiLanguage::Translator>();}}
      {{ ~~~~~^}}
      /Users/marco_piccolino_tb/tools/Qt/Qt Creator.app/Contents/Resources/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:58: error: expected '(' for function-style cast or type construction
      {{ return std::make_unique<MultiLanguage::Translator>();}}
      {{ ~~~~~~~~~~~~~~~~~~~~~~~~~^}}
      /Users/marco_piccolino_tb/tools/Qt/Qt Creator.app/Contents/Resources/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:60: error: expected expression
      {{ return std::make_unique<MultiLanguage::Translator>();}}
      {{ ^}}
      3 errors generated.
      make: *** [qt5nodeinstanceserver.o] Error 1

        Attachments

          Issue Links

          For Gerrit Dashboard: QTCREATORBUG-24684
          # Subject Branch Project Status CR V

            Activity

              People

              Assignee:
              tjenssen Tim Jenssen
              Reporter:
              marco_piccolino Marco Piccolino
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes