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. The Qt installer framework invalidates style files that contain images
QtWS25 Last Chance

The Qt installer framework invalidates style files that contain images

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
ifw
3 Posts 2 Posters 328 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.
  • W Offline
    W Offline
    WHNM-DHZ
    wrote on last edited by WHNM-DHZ
    #1

    When using the Qt IFW package installer I want to set the QCheckbox style, because the image is external, resulting in the generated installation package QChechbox style is invalid.
    This is part of the qss

    QCheckBox::indicator:checked {
    image: url(img/checked_on_normal);
    }
    QCheckBox::indicator:unchecked {
    image: url(img/checked_off_normal);
    }
    
    W 1 Reply Last reply
    0
    • W WHNM-DHZ

      When using the Qt IFW package installer I want to set the QCheckbox style, because the image is external, resulting in the generated installation package QChechbox style is invalid.
      This is part of the qss

      QCheckBox::indicator:checked {
      image: url(img/checked_on_normal);
      }
      QCheckBox::indicator:unchecked {
      image: url(img/checked_off_normal);
      }
      
      W Offline
      W Offline
      WHNM-DHZ
      wrote on last edited by WHNM-DHZ
      #2

      @WHNM-DHZ I found the reason for the problem, in this stylesheet you can only use PNG images and cannot use SVG images.

      1 Reply Last reply
      0
      • W WHNM-DHZ has marked this topic as solved on
      • D Offline
        D Offline
        Dieter Geerts
        wrote on last edited by
        #3

        @WHNM-DHZ , I'm currently having problems with including images in the stylesheet of our installer. Could you elaborate on where the image needs to be located in order for it to be picked up by the installer itself? Thx

        1 Reply Last reply
        0

        • Login

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