Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Using designer without png/svg files ?
QtWS25 Last Chance

Using designer without png/svg files ?

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 923 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.
  • E LabE Offline
    E LabE Offline
    E Lab
    wrote on last edited by
    #1

    Hello,
    I'm delivering a software with custom icons (png or svg files). The icons are compiled in binary files or in rcc files. The binary, rcc and qrc files are delivered with the software, but not the svg or png files.

    When my users want to develop their own widgets on top of my software with qt designer, they can edit the .ui file and put icon names in it. As the icons are available in the binaries, the icons are available at execution time.

    However, when they want to see the icons available in the sofware, they cannot use the resource editor of designer (the one which allows to select interactively an icon for a button for example) because the qrc files need the png/svg files to be present to display them in this designer interface.

    It is mandatory to have the png/svg files in the sofware to be able to select the icons in designer, or is there a way to rely on the binary/rcc files without having the png/svg files ?
    Thanks in advance.
    Regards,
    E. Labrunye

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      Hmm
      There is no way u can show the the images
      in designer without having the images.

      Is there a reason why you cannot just give them the qrc file?

      1 Reply Last reply
      0
      • E LabE Offline
        E LabE Offline
        E Lab
        wrote on last edited by
        #3

        In fact I can show the images in designer, because I can see them in the widget preview of designer. I just cannot see them in the icons selector of designer (the one you give a qrc file).

        The reason why I would like not to distribute the png/svg files is that they are already available in the binary files and if it is possible, I prefer to avoid duplicating them. But If I have no choice, then there is no serious reason not to deliver them.

        1 Reply Last reply
        0
        • mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Well
          As far as I know , its not possible to use from exe file.
          Would be smart but I never seen any way to do it.

          1 Reply Last reply
          0
          • E LabE Offline
            E LabE Offline
            E Lab
            wrote on last edited by
            #5

            OK. Thanks for your feeback

            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