Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

APK Android



  • Hello, I am making an application that has the function of a text editor and when I generate the android version of the application, the menu does not come out as I would like I do not know if you can help me with it.

    Expected results:

    5f337be0-07de-4305-959d-d8cf5489b9f5-image.png

    results obtained:

    74a877f2-ae99-454e-be71-268461c1e06f-image.png

    I need my menu to be placed under the application logo horizontally.



  • I have found the solution in case it works for someone was to add the following line of code:
    ui-> menubar-> setLayoutDirection (Qt :: LeftToRight);



  • I have found the solution in case it works for someone was to add the following line of code:
    ui-> menubar-> setLayoutDirection (Qt :: LeftToRight);


Log in to reply