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

QML emulation layer not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • Qt Creator 4.14.0-beta1
    • Qt Creator 4.13.1
    • Quick Designer
    • None
    • Ubuntu 20.04
    • 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

        1. image-2020-10-01-17-50-22-865.png
          89 kB
          Dmitry S
        2. image-2020-10-01-17-50-44-618.png
          23 kB
          Dmitry S
        3. image-2020-10-01-17-50-56-848.png
          28 kB
          Dmitry S

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: