OverviewFelgo 2 Support (Qt 5) › QML dynamic translation causes app to resize

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #21752


    Hi Felgo

    I have prepared small app to show the problem, it is visible on Android (tested on Android 7.0)

    When I do QQMlEngine->retranslate application changes its size, like a half of the screen



    Here is app source code

    I’m not sure, maybe this is Qt related, or I’m doing something wrong.

    Please help





    Hi Felgo,

    Could you please take a look at this problem ?

    I have created similar application using just Qt (5.12.3) and I have no problem with dynamic translations, application does not resize.

    Code is available here:




    Felgo Team

    Hi Marek,

    I have just tested your example project on my device (LG V10) and an Android emulator (Android 8.0) and your problem did not occur, the app did not change size.

    Please provide more information for us: What device are you testing on? What Android OS version? Which Felgo SDK version (newest is 3.2.0 with Qt 5.12.3)?

    Also, Felgo provides another way to use re-translation, as mentioned in the docs:

    You can add

    + translation.language

    to a binding, which is an empty property but it causes the property binding to re-evaluate when the language changes. Then you don’t need to call the retranslate() function.




    Hi Christian

    Sorry for late reply. I have tested just now (I added CONFIG += c++14 and NOSTDLIB for Android) to pro file

    Problem still exists.

    I’m testing on phone Zenfone 3 Max 5.2 with Android 7.0 I have Felgo 3.2.0-1 release 2019-08-01 NDK android-ndk-r20

    My friend was also testing this on his Felgo installation and with Android 9 and result is the same.

    When I use Felgo way to translate (you have described) and do not call retranslate then it works



Viewing 4 posts - 1 through 4 (of 4 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
create apps
create games
cross platform
native performance
3rd party services
game network
level editor
easiest to learn
biggest time saving
best support