[Qt-creator] Qt Creator and Android

BogDan bog_dan_ro at yahoo.com
Thu Jan 23 09:18:35 CET 2014


Hi,

> Hi,
> 
> I'm toying with Qt Creater 3.0.1pre + Qt 5.2.0 Android on Kubuntu 13.10 
> amd64,
> testing with Android x86 emulator.  My development PC is a rather good 
> desktop PC with 4 core i7 cpu and 16Gb of memory.
> 
> Some observations:
> 
> At first I thought that qDebug() was not working, but then I noticed 
> that the output was lost between the chatter from dalvikvm.  The Qt 
> output seems prefixed with D/Qt and is also high-lighted in red, but if 
> there is just a line or two that scroll by fast, it is easy to miss.
> 
> It is possible to filter the application output in Qt Creator?  Like 
> display only lines matching a regex, or even just having a given prefix?
> 

AFAIK no, but we are accepting suggestions :). Please use https://bugreports.qt-project.org .

> Starting up an application in the emulator or a Nexus 7 seems to take a 
> while, around 15-20 seconds for a minimal app.   So if possible, having 
> a desktop target is advisable, as there the startup times are sub-second.
> 

Try to use *Ministro* or *Deploy local Qt libs* instead of *bundle Qt libs*, it should be much faster.

> Many of the example apps, even those tagged with android do not work 
> very well yet. Perhaps some QA there might be in order.
> 
> Adding the application icons via the Run settings/Deploy 

> configurations/Create AndroidManifest.xml does not seem to work in this 
> snapshot.  Has this been fixed?   It was also not obvious to me how do I 
> edit the created AndroidManifest.xml.   When creating it again, it does 
> propose to overwrite the existing one, but no option to edit the old one 
> is there.   Only later I noticed that the manifest file had popped up in 
> the Edit tab Project tree under Other files/android where it can be edited.
> 

I think you just found a bug :). I think it happens because QtCreator 3.0 doesn't create anymore the full android folder layout and it can't copy the icon, please report it to https://bugreports.qt-project.org , we must fix if before 3.1.

> Anyway, despite these minor niggles, it looks very promising!   So I'll 
> continue playing with it.
> 
> What is the best forum/mailing list to discuss Qt 5.x on Android?
> 

Here !

Cheers,
BogDan.



More information about the Qt-creator mailing list