Effects qml:
>cat test.qml
import QtQuick 2.3
Rectangle { width: 200 height: 100 color: "red"
Text { anchors.centerIn: parent text: "Hello, World!" } }
> qml test.qml QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0) [1] 13015 abort (core dumped) qml ~/code/qml/test.qml
Effects qml:
>cat test.qml
import QtQuick 2.3
Rectangle {
width: 200
height: 100
color: "red"
Text {
anchors. centerIn: parent
text: "Hello, World!"
}
}
> qml test.qml version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile 0)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(
[1] 13015 abort (core dumped) qml ~/code/qml/test.qml