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

QML emulation layer not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 4.13.1
    • Fix Version/s: Qt Creator 4.14.0-beta1
    • Component/s: Quick Designer
    • Labels:
      None
    • Environment:
      Ubuntu 20.04
    • Platform/s:
      Linux/X11

      Description

      I have a problem with qml designer, it doesn't work even with default examples

      My system Ubuntu 20.04, Qt version 5.12.7 and 5.15.1 from OnlineInstaller

       

      build_error_output.txt

      In file included from /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.h:30,
                       from /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceserver.cpp:26:
      /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h: In member function ‘std::unique_ptr<MultiLanguage::Translator> MultiLanguage::Link::translator()’:
      /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:21: error: ‘make_unique’ is not a member of ‘std’
         82 |         return std::make_unique<MultiLanguage::Translator>();
            |                     ^~~~~~~~~~~
      /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:21: note: ‘std::make_unique’ is only available from C++14 onwards
      /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:58: error: expected primary-expression before ‘>’ token
         82 |         return std::make_unique<MultiLanguage::Translator>();
            |                                                          ^
      /home/user/Qt/Tools/QtCreator/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/nodeinstanceserver.h:82:60: error: expected primary-expression before ‘)’ token
         82 |         return std::make_unique<MultiLanguage::Translator>();
            |                                                            ^
      make: *** [Makefile:3316: qt5nodeinstanceserver.o] Error 1
      

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              bubke Marco Bubke
              Reporter:
              uralbash Dmitry S
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes