Setting qrc file alias in Qt creator


  • Moderators

    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.

    ../pretty/long/folder/and/path/for/a/simple/file.html
    

    You can change and rename it.

    An entry with above noted alias looks like:

    ../pretty/long/folder/and/path/for/a/simple/file.html(myfile.html)
    

    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?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.