X11 error: Resource temporarily unavailable

  • Hi, I'm using Deepin OS 15.4.2 and Qt 5.9.2. I created a QtQuickControls 2 project and I added this code in main.qml:

    import QtMultimedia 5.9
    ApplicationWindow {
      visible: true
      width: 640
      height: 480
      title: qsTr('Example')
      Audio {
        id: sound
        source: 'qrc:/sounds/audio.mp3'

    When I run this app, I see this output and it's not working:

    QML debugging is enabled. Only use this in a safe environment.
    The X11 connection broke: No error (code 0)
    XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
          after 35 requests (35 known processed) with 0 events remaining.

    What is the problem?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.