Nominate our 2022 Qt Champions!

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.



  • Lifetime Qt Champion


    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