Adapt to QtDeclarative api renaming (QSG --> QQuick)
Change-Id: Iefee24c6262679263caef1976d0d9af541834ea0 Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
This commit is contained in:
@@ -41,14 +41,14 @@
|
||||
#include <QGuiApplication>
|
||||
|
||||
#include <qdeclarative.h>
|
||||
#include <qsgview.h>
|
||||
#include <qquickview.h>
|
||||
|
||||
|
||||
int main(int argc, char ** argv)
|
||||
{
|
||||
QGuiApplication app(argc, argv);
|
||||
|
||||
QSGView view;
|
||||
QQuickView view;
|
||||
|
||||
view.setSource(QUrl("qrc:view.qml"));
|
||||
view.show();
|
||||
|
||||
Reference in New Issue
Block a user