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

Interface translations problem



  • Hello to all,

    Using QT 5 of visual studio 2010.
    in the creation of interfaces using qt designer.

    I add my items and my QAction.

    I realized that if I put the QAction in this way and update the translation file, the application does not update the translations.
    but if I put the code QAction by putting the tr () then I translated.

    Why?

    thanks


  • Lifetime Qt Champion

    Hi,

    Have a look at the Guitare Tuner demo in Qt's documentation you'll see how to do it for designer based ui. The interesting part is the changeEvent function


Log in to reply