From 10:00 CET Friday 22nd November we will adjust how the server works to deal with some recently reported problems. Therefore there may be a load problem, if you experience more problems than usual trying to access the forum then please PM AndyS or any of the moderators so they can inform me.

Solved: Android Items displayed wrong

  • Hello, i just started with qt android, so i just put some buttons, text items and so on into a GUI and tested the app on a virtual android device and a nexus 7. On both devices the items are displayed in a wrong way. So my questions:

    • Did i setup qt in a wrong way?
    • How can debug these kind of errors?
    • Has anybody else struggled with this kind of problems?

    Some further Infos: I'm developing with: linux mit 64 bit, qt 5.4.1, qt creator 3.3.1 free version, android ndk r10, ant 1.9.4, java jdk 1.7


    • Also the sample apps look similar...
    • Seems like the problem belongs to the android API version, the nexus has API version 22, after creating a virtual device with API 18 everything looks fine. Are there any workarounds to create
    • Found the solution in the qt blog: Just if anybody else is struggling; adding
      <application android:theme="@android:style/Theme.Holo.Light"
      ... or
      <application android:theme="@android:style/Theme.Holo
      in the AndroidManifest.xml solves these errors

    a screensot from the test app:

    alt text

    sincerely martin

Log in to reply