Important: Please read the Qt Code of Conduct -

Setting qrc file alias in Qt creator

  • I am using quite long file path with a qrc file.

            <file alias="myfile.html">../pretty/long/folder/and/path/for/a/simple/file.html</file>

    Within the description I have found the alias statement as used above. However, apparently this is not supported by the integrated editor of Qt creator.


    You can change and rename it.

    An entry with above noted alias looks like:


    Though the alias is basically appended in parentesis. However, I could find a way to change the imported name accordingly (.e.g. append alias in parenthesis). When renaming the entry with existing alias it apparently strips off the alias name.

    Am I missing something?