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

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

      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.

        1. styleSheet.zip
          29 kB
          Antti Yli-Tokola
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes