Important: Please read the Qt Code of Conduct -

Resource Icons in Qt Linguist

  • Hello,

    My application uses icons loaded from Qt resource paths.
    The .ui files contain path like ":/icons/myicon.svg".

    Qt Linguist loads and displays the UI preview, but no icons are rendered.
    I tried placing the "icons" directory in several locations relative to the .ts files, .ui files and Qt Linguist executable, but no luck.
    There is no console output produced at all.

    How can i get the icons to show up in Qt Linguist?


  • Lifetime Qt Champion

    I don't think this will work - the preview is just a simple helper ui to show you where the text is in the dialog.

Log in to reply