Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Heap Corruption when using desktop components

$
0
0
Has anyone seen a heap corruption when using the desktop components with Qt 5.1 rc1 msvc2010 _opengl? The following code causes a heap corruption in vs2010 when closing the window. I don’t see anything that I am doing wrong. The c++ code #include <QApplication> #include <QQmlApplicationEngine>   int main(int argc, char *argv[]) {     QApplication a(argc, argv);     QQmlApplicationEngine engine;           engine.load(QUrl("DesktopControls.qml"));       return a.exec(); } The QML code import QtQuick 2.1 import QtQuick.Controls 1.0 import QtQuick.Window 2.1   ApplicationWindow {     title: qsTr("Hello World")     width: 640     height: 480  visible: true       Button {         text: qsTr("Hello World")         anchors.horizontalCenter: parent.horizontalCenter         anchors.verticalCenter: parent.verticalCenter     } }

Viewing all articles
Browse latest Browse all 13965

Trending Articles