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

The QML emulation layer (QML Puppet) cannot be build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • Qt Creator 4.5.2
    • Quick / QML Support
    • None
    • Distributor ID: Ubuntu
      Description: Ubuntu 18.04.6 LTS
      Release: 18.04
      Codename: bionic

      Qt Creator 4.5.2
      Based on Qt 5.9.5 (GCC 7.3.0, 64 bit)
    • Linux/Other display system

    Description

      When trying to open qml file in designer in QtCreator.  It shows error The QML emulation layer (QML Puppet) cannot be build. And tries to build QML puppet. Then stops at 63% with error in log file:

      /usr/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp: In function 'void QmlDesigner::prioritizeDown()':
      /usr/share/qtcreator/qml/qmlpuppet/qml2puppet/instances/qt5nodeinstanceclientproxy.cpp:47:9: warning: ignoring return value of 'int nice(int)', declared with attribute warn_unused_result [-Wunused-result]
      nice(19);
      ~~~^~~
      /usr/share/qtcreator/qml/qmlpuppet/container/sharedmemory_unix.cpp:46:10: fatal error: private/qcore_unix_p.h: No such file or directory
      #include <private/qcore_unix_p.h>
      ^~~~~~~~~~~~~~~~~~~~~~~~
      compilation terminated.
      make: *** [sharedmemory_unix.o] Error 1

      In the terminal it shows error:

       

      Process crashed: ("{42f1846e-5bcf-4ab0-a771-e569b9e0ccd9}", "editormode", "-graphicssystem raster") exitCode: 11
      Process crashed: ("{42f1846e-5bcf-4ab0-a771-e569b9e0ccd9}", "rendermode", "-graphicssystem raster") exitCode: 11
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      Process crashed: ("{42f1846e-5bcf-4ab0-a771-e569b9e0ccd9}", "previewmode", "-graphicssystem raster") exitCode: 11
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      Process crashed: ("{c5c741cd-18fd-4aa8-80f9-2997447949e5}", "rendermode", "-graphicssystem raster") exitCode: 11
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      Process crashed: ("{c5c741cd-18fd-4aa8-80f9-2997447949e5}", "editormode", "-graphicssystem raster") exitCode: 11
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      Process crashed: ("{c5c741cd-18fd-4aa8-80f9-2997447949e5}", "previewmode", "-graphicssystem raster") exitCode: 11
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState
      QAbstractSocket::waitForBytesWritten() is not allowed in UnconnectedState

      Attachments

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

        Activity

          People

            tjenssen Tim Jenssen
            alexanderbon Aleksandr Bondartsev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes