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. Support For .XAML files in Qt
Forum Updated to NodeBB v4.3 + New Features

Support For .XAML files in Qt

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • A Offline
    A Offline
    ankush205
    wrote on last edited by
    #1

    I have sample images in .xaml format.i wanted to use those images as icons.so how can i set my Icon using .xaml

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andreyc
      wrote on last edited by
      #2

      Qt does not support XAML-image.
      I guess you need to write a XAML-image decoder and draw the image yourself.

      Or convert XAML-image into something that Qt supports using "QImageReader":http://qt-project.org/doc/qt-5/qimage.html#reading-and-writing-image-files or using "plugins":http://qt-project.org/doc/qt-5/qtimageformats-index.html

      Another option is write Qt image plugin.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ankush205
        wrote on last edited by
        #3

        yeah the problem was i spend some 4 hours of work and i wasnot ale to convert xaml image to png image

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andreyc
          wrote on last edited by
          #4

          I guess you need to use Windows and something like "this article explains":http://www.codeproject.com/Articles/422523/Convert-XAML-Vector-Graphic-to-PNG or tools like "xcon":http://xcon.sourceforge.net/

          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