Commit 5364af4a authored by Thomas Hartmann's avatar Thomas Hartmann Committed by Marco Bubke
Browse files

QmlDesigner: compile fix

parent a8a99534
......@@ -32,21 +32,12 @@
#include <QtCore/QtPlugin>
#include <private/qdeclarativerectangle_p.h>
#include <private/qdeclarativescalegrid_p_p.h>
#include <MComponentData>
namespace QmlDesigner {
qApp->setProperty("NoMStyle", true);
if(!MComponentData::instance()) {
// This is a workaround because we can't use a default
// constructor for MComponentData
int argc = 1;
char *argv0 = "meegotouch";
(void) new MComponentData(argc, &argv0);
qmlRegisterType<QDeclarativePen>("Qt", 4, 7, "Pen");
qmlRegisterType<QDeclarativeScaleGrid>("Qt", 4, 7, "ScaleGrid");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment