Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.0
-
54ca4ebba8aa5c26516424a952f8e6d4ab919f6e
Description
The following code does not show the qml file's content.
QGraphicsScene scene; QDeclarativeView *view = new QDeclarativeView; view->setScene(&scene); //<*** COMMENT to "fix" view->setSource(QUrl::fromLocalFile("main.qml")); view->show();
The qml file is a simple rectangle.