应用程序崩溃并出现错误 - EGLFS:OpenGL windows 不能与其他混合使用
Application crash with error - EGLFS: OpenGL windows cannot be mixed with others
我已经在 Qt Creator 中创建了一个非常基本的项目。
File -> New Project -> Application -> Qt QuickControls Application
在不添加/修改任何内容的情况下,使用 tslib 编译项目并部署在目标系统上,该系统是一个带有 Qt 的 Olimex 板(使用 eglfs 编译)。该应用程序以
开始
testApp -plugin tslib
应用程序启动,单击“文件”菜单正在终止它。 "EGLFS: OpenGL windows cannot be mixed with others"终端出现错误。
这是 main.qml
文件。
导入 QtQuick 2.5
导入 QtQuick.Controls 1.4
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
menuBar: MenuBar {
Menu {
title: qsTr("File")
MenuItem {
text: qsTr("&Open")
onTriggered: console.log("Open action triggered");
}
MenuItem {
text: qsTr("Exit")
onTriggered: Qt.quit();
}
}
}
Label {
text: qsTr("Hello World")
anchors.centerIn: parent
}
}
我知道只能有一个顶级 OpenGL window,我没有添加任何东西。非常感谢任何帮助。
这是未解决的问题,正在进行中。
我已经在 Qt Creator 中创建了一个非常基本的项目。
File -> New Project -> Application -> Qt QuickControls Application
在不添加/修改任何内容的情况下,使用 tslib 编译项目并部署在目标系统上,该系统是一个带有 Qt 的 Olimex 板(使用 eglfs 编译)。该应用程序以
开始testApp -plugin tslib
应用程序启动,单击“文件”菜单正在终止它。 "EGLFS: OpenGL windows cannot be mixed with others"终端出现错误。
这是 main.qml
文件。
导入 QtQuick 2.5 导入 QtQuick.Controls 1.4
ApplicationWindow {
visible: true
width: 640
height: 480
title: qsTr("Hello World")
menuBar: MenuBar {
Menu {
title: qsTr("File")
MenuItem {
text: qsTr("&Open")
onTriggered: console.log("Open action triggered");
}
MenuItem {
text: qsTr("Exit")
onTriggered: Qt.quit();
}
}
}
Label {
text: qsTr("Hello World")
anchors.centerIn: parent
}
}
我知道只能有一个顶级 OpenGL window,我没有添加任何东西。非常感谢任何帮助。
这是未解决的问题,正在进行中。