[Interest] [Android] Profiling QML application
Ben Lau
xbenlau at gmail.com
Tue Jan 14 17:07:26 CET 2014
On 13 January 2014 20:08, Koehne Kai <Kai.Koehne at digia.com> wrote:
>
> > -----Original Message-----
> > From: interest-bounces+kai.koehne=digia.com at qt-project.org
> > [mailto:interest-bounces+kai.koehne=digia.com at qt-project.org] On Behalf
> Of
> > Ben Lau
> > Sent: Sunday, January 12, 2014 5:53 PM
> > To: interest at qt-project.org
> > Subject: [Interest] [Android] Profiling QML application
> >
> > Hi ,
> >
> > I got a performance problem in loading QML in Android . Therefore I would
> > like to run profiler on QML itself. However, when I launch the QML
> profiler
> > within QT creator. The process hang on :
> >
> > "D/Qt (14973): qtcpserverconnection.cpp:173
> > (voidQTcpServerConnection::listen()): QML Debugger: Waiting for
> > connection on port 61428..."
>
> That's with Qt Creator 3.0? Please file a bug ...
>
> Anyhow, as a 'workaround' you should be able to profile by launching the
> app yourself with e.g. -qmljsdebugger=port:61428,block argument, and then
> connect from Qt Creator with Analyze->Qml Profiler(external) ...
>
> Regards
>
> Kai
>
Hi Kai,
Thanks for your reply. Then I have another question.. how can I assign the
argument to an Android application?
I have tried to use `adb shell` and launch the application by :
$ am start -n mypackage/org.qtproject.qt5.android.bindings.QtActivity -e
applicationArguments '-qmljsdebugger=port:61428'
But it is still not working. The result of QApplication::arguments() don't
even contains the `-qmljsdebugger=port:61428` parameter.
(p.s I will file a bug for Qt Creator)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140115/2cb7c622/attachment.html>
More information about the Interest
mailing list