Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-12063

Not possible to add style sheet from resource file in Qt Desginer

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P2: Important
    • None
    • Qt Creator 3.0.1, Qt Creator 3.1.0-rc1
    • Widget Designer
    • Windows 7

    Description

      Designer does not accept style sheet from the resource file, I will always get "invalid style sheet" error.
      If I copy the QSS file content directly to "Edit Style Sheet" dialog it's valid and works fine, also style changes are seen immediately in the designer.

      Resource file should be ok, since I can use it from the code and style changes are reflected to widget.

      Am I missing some steps or is this bug in the Designer?

      Added a small example which demonstrates the problem.

      Attachments

        Issue Links

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

          Activity

            People

              kleint Friedemann Kleint
              anylitok Antti Yli-Tokola (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes