Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.2.0
-
None
-
Mac Mini, Mac OS X 10.6.7
Binary Qt SDK 1.1.1
Qt Mobility 1.2 built from sources myself
-
b5d9964aab96ef1a02ca1af411178f05c42c2bf8
Description
I have a simple QML application built using Qt SDK 1.1.1 and Qt Mobility 1.2:
import QtQuick 1.0 import QtMultimediaKit 1.2 Video { id: video width: 1280 height: 720 source: "/Users/max/proj/video.mp4" playing: true }
And I'm running it under Mac OS using the following C++ code:
#include <QtGui> #include <QApplication> #include <QtDeclarative> #include <QGLWidget> int main(int argc, char **argv) { QApplication app(argc, argv); QApplication::setGraphicsSystem("raster"); QGLFormat format = QGLFormat(QGL::DirectRendering); format.setSampleBuffers(false); QGLWidget *glWidget = new QGLWidget(format); glWidget->setAutoFillBackground(false); QDeclarativeView view; view.setViewport(glWidget); view.setSource(QUrl("main.qml")); view.show(); return app.exec(); }
On exit the application crashes. The report is attached: macsegfault.txt