Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-17314

qss urls are not really urls, but filenames

    XMLWordPrintable

Details

    Description

      In qss, you can not use remote URLs at all!
      So the url(....) syntax that is required for you to specify filenames like background-image only lets you use local filenames and resources with the :/ prefix.

      This means that qrc:/ prefixes (which works fine in qml urls) does not work in qss.
      This inconsistency seems like a bug to me.

      Either qss should not require you to put url(...) around filenames,
      or it should actually support URLs (which is probably not a good idea
      for performance reasons).

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            ezustics Alan Ezust
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes