[Development] QML Profiler for Qt5.0-Beta1 programs

Jana Aurindam Aurindam.Jana at digia.com
Thu Oct 18 09:22:50 CEST 2012

Some ways to do this:

1) If you can connect to the arm board via network, then
* Start you application with -qmljsdebugger=port:<port number>
* From QtCreator, connect to the applicationvia "Attach to QML Profiler" and specify the IP and the above port

2) You can use the standalone profiler in Qt-5.
* qmlprofiler [options] [program] [program-options]
This launches the app and starts profiling
Options: -fromStart will start profiling as soon as the app is running
        Commands: r - toggle record etc
* start application with -qmljsdebugger=port:<port number>
Use qmlprofiler [options] -attach [hostname] to attach to the application.

The profiled data will be stored in a user defined file which can then be read using QtCreator QML Profiler tool to generate graphs etc.

  Aurindam Jana, Software Engineer - Digia, Qt
  Don't Panic!
  Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin
  Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius
  Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

On Oct 18, 2012, at 8:07 AM, Labs, Torsten wrote:

Hi, I have a problem using QML Profiler with Qt5-Beta1 based programs. I use a QPA based architecture on a Arm board and will try to connect the QML Profiler with a Qt Creator 2.5.2. Is it possible? How can I do it? Do I hav do use another Qt Creator?


With best regards,
Torsten Labs

Siemens AG
Industry Sector
Industry Automation Division
Industrial Automation Systems
Factory Automation

mailto:torsten.labs at siemens.com

Siemens Aktiengesellschaft: Chairman of the Supervisory Board: Gerhard Cromme; Managing Board: Peter Loescher, Chairman, President and Chief Executive Officer; Roland Busch, Brigitte Ederer, Klaus Helmrich, Joe Kaeser, Barbara Kux, Hermann Requardt, Siegfried Russwurm, Peter Y. Solmssen, Michael Suess; Registered offices: Berlin and Munich, Germany; Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684; WEEE-Reg.-No. DE 23691322

Development mailing list
Development at qt-project.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20121018/f1ec499b/attachment.html>

More information about the Development mailing list