При использовании Scene3D внутри Page в отладочном выводе:
QML debugging is enabled. Only use this in a safe environment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete attachment.
QOpenGLFramebufferObjectPrivate::checkFramebufferStatus: QOpenGLFramebufferObject: Framebuffer incomplete, missing attachment.
На работу вроде как никак не влияет, приложение не падает.
Код qml:
import QtQuick 2.4
import QtQuick.Controls 2.0
import QtQuick.Scene3D 2.0
import Qt3D.Core 2.0
import Qt3D.Render 2.0
import Qt3D.Input 2.0
import Qt3D.Extras 2.0
ApplicationWindow {
visible: true
Page {
id: page
title: "Page#1"
Scene3D {
id: mapScene
anchors.fill: parent
Entity {
id: sceneRoot
Camera {
id: camera
}
components: [
RenderSettings {
activeFrameGraph: ForwardRenderer {
clearColor: Qt.rgba( 1.0, 1.0, 1.0, 1.0 )
camera: camera
}
}
]
InputSettings {
}
}
}
}
}
main.cpp
#include <QtGui/QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QtQml>
int main(int argc, char* argv[])
{
qSetMessagePattern( "%{function}: %{message}" );
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl("qrc:/main.qml"));
return app.exec();
}
С чем это может быть связано?