[Qt-qml] The best way to use a QML button to start a new process?

Peter Matuchniak pmatuchniak at imsco-us.com
Sat Apr 10 00:04:37 CEST 2010


On my QML window I have a button that I want to start another application.  Essentially fork a new process that is separate from QML.  For example it could start a Terminal Window or open up a text editor or an Email application....etc.

Is there a way to do this directly within QML inside the "OnClicked" event?

Or do we need to bind the button to some "code-behind" C++?

Any examples or pointers would be greatly appreciated -- I'm new to both Qt and QML.  It would be nice if there's a step by step tutorial that can be followed that show how to set up a QML button and have it invoke a C++ function...

P.




__________________________________________________________________

This email and any files transmitted with it are confidential & proprietary to Systems and
Software Enterprises, Inc. (dba IMS). This information is intended solely for the use of
the individual or entity to which it is addressed. Access or transmittal of the information
contained in this e-mail, in full or in part, to any other organization or persons is not
authorized.

__________________________________________________________________





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100409/f8f8283f/attachment.html 


More information about the Qt-qml mailing list