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
Forum Updated to NodeBB v4.3 + New Features

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 387 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 3 Nov 2023, 03:13 last edited by WHNM-DHZ 11 Mar 2023, 03:18
    #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 6 Nov 2023, 06:20
    0
    • W WHNM-DHZ
      3 Nov 2023, 03:13

      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 6 Nov 2023, 06:20 last edited by WHNM-DHZ 11 Jun 2023, 06:22
      #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 6 Nov 2023, 06:23
      • D Offline
        D Offline
        Dieter Geerts
        wrote on 16 Jul 2024, 13:40 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

        2/3

        6 Nov 2023, 06:20

        • Login

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