Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Setting qrc file alias in Qt creator
QtWS25 Last Chance

Setting qrc file alias in Qt creator

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
creatorqrc editingalias in qrc
1 Posts 1 Posters 1.4k Views
  • 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 Offline
    K Offline
    koahnig
    wrote on 21 Feb 2018, 14:48 last edited by
    #1

    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
    0

    1/1

    21 Feb 2018, 14:48

    • Login

    • Login or register to search.
    1 out of 1
    • First post
      1/1
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved