Commit a7098c69 authored by Marco Bubke's avatar Marco Bubke
Browse files

QmlDesigner.NodeInstances: Change puppet to raster

parent 37b9bf84
...@@ -51,7 +51,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV ...@@ -51,7 +51,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
m_qmlPuppetProcess = new QProcess(QCoreApplication::instance()); m_qmlPuppetProcess = new QProcess(QCoreApplication::instance());
connect(m_qmlPuppetProcess.data(), SIGNAL(finished(int,QProcess::ExitStatus)), this, SLOT(processFinished(int,QProcess::ExitStatus))); connect(m_qmlPuppetProcess.data(), SIGNAL(finished(int,QProcess::ExitStatus)), this, SLOT(processFinished(int,QProcess::ExitStatus)));
m_qmlPuppetProcess->setProcessChannelMode(QProcess::ForwardedChannels); m_qmlPuppetProcess->setProcessChannelMode(QProcess::ForwardedChannels);
m_qmlPuppetProcess->start(QString("%1/%2").arg(QCoreApplication::applicationDirPath()).arg("qmlpuppet"), QStringList() << socketToken); m_qmlPuppetProcess->start(QString("%1/%2").arg(QCoreApplication::applicationDirPath()).arg("qmlpuppet"), QStringList() << socketToken << "-graphicssystem raster");
connect(QCoreApplication::instance(), SIGNAL(aboutToQuit()), this, SLOT(deleteLater())); connect(QCoreApplication::instance(), SIGNAL(aboutToQuit()), this, SLOT(deleteLater()));
m_qmlPuppetProcess->waitForStarted(); m_qmlPuppetProcess->waitForStarted();
Q_ASSERT(m_qmlPuppetProcess->state() == QProcess::Running); Q_ASSERT(m_qmlPuppetProcess->state() == QProcess::Running);
......
...@@ -42,7 +42,7 @@ int main(int argc, char *argv[]) ...@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
{ {
QApplication application(argc, argv); QApplication application(argc, argv);
if (application.arguments().count() != 2) if (application.arguments().count() != 3)
return -1; return -1;
QCoreApplication::setOrganizationName("Nokia"); QCoreApplication::setOrganizationName("Nokia");
......
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