Use fusion instead of motif.
Change-Id: Ic75ea959ac825efabf0f3a8606dfca4b65fae474 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
This commit is contained in:
parent
53e6cb3ff6
commit
a4aa5ea63f
@ -56,7 +56,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
//! [2]
|
||||
QStringList arguments;
|
||||
arguments << "-style" << "motif";
|
||||
arguments << "-style" << "fusion";
|
||||
|
||||
QProcess *myProcess = new QProcess(parent);
|
||||
myProcess->start(program, arguments);
|
||||
|
@ -458,8 +458,8 @@ void QProcessPrivate::Channel::clear()
|
||||
are supplied as individual strings in a QStringList.
|
||||
|
||||
For example, the following code snippet runs the analog clock
|
||||
example in the Motif style on X11 platforms by passing strings
|
||||
containing "-style" and "motif" as two items in the list of
|
||||
example in the Fusion style on X11 platforms by passing strings
|
||||
containing "-style" and "fusion" as two items in the list of
|
||||
arguments:
|
||||
|
||||
\snippet qprocess/qprocess-simpleexecution.cpp 0
|
||||
|
Loading…
Reference in New Issue
Block a user