Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Setting qrc file alias in Qt creator

    Tools
    creator qrc editing alias in qrc
    1
    1
    822
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      koahnig last edited by

      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?

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply Reply Quote 0
      • First post
        Last post