Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
a7098c69
Commit
a7098c69
authored
Jan 06, 2011
by
Marco Bubke
Browse files
QmlDesigner.NodeInstances: Change puppet to raster
parent
37b9bf84
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/instances/nodeinstanceserverproxy.cpp
View file @
a7098c69
...
...
@@ -51,7 +51,7 @@ NodeInstanceServerProxy::NodeInstanceServerProxy(NodeInstanceView *nodeInstanceV
m_qmlPuppetProcess
=
new
QProcess
(
QCoreApplication
::
instance
());
connect
(
m_qmlPuppetProcess
.
data
(),
SIGNAL
(
finished
(
int
,
QProcess
::
ExitStatus
)),
this
,
SLOT
(
processFinished
(
int
,
QProcess
::
ExitStatus
)));
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
()));
m_qmlPuppetProcess
->
waitForStarted
();
Q_ASSERT
(
m_qmlPuppetProcess
->
state
()
==
QProcess
::
Running
);
...
...
src/tools/qmlpuppet/main.cpp
View file @
a7098c69
...
...
@@ -42,7 +42,7 @@ int main(int argc, char *argv[])
{
QApplication
application
(
argc
,
argv
);
if
(
application
.
arguments
().
count
()
!=
2
)
if
(
application
.
arguments
().
count
()
!=
3
)
return
-
1
;
QCoreApplication
::
setOrganizationName
(
"Nokia"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment