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. QPixmap path
QtWS25 Last Chance

QPixmap path

Scheduled Pinned Locked Moved General and Desktop
qpixmapfilepathgetfunction
3 Posts 3 Posters 4.5k 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.
  • R Offline
    R Offline
    reina
    wrote on last edited by
    #1

    is it possible to get the image file path of QPixmap?

    or is there a QPixmap::getPath() function in QPixmap class?

    mrjjM KiwiJeffK 2 Replies Last reply
    0
    • R reina

      is it possible to get the image file path of QPixmap?

      or is there a QPixmap::getPath() function in QPixmap class?

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      As far as I know it does not store path.
      So you must keep track of it yourself.

      1 Reply Last reply
      0
      • R reina

        is it possible to get the image file path of QPixmap?

        or is there a QPixmap::getPath() function in QPixmap class?

        KiwiJeffK Offline
        KiwiJeffK Offline
        KiwiJeff
        wrote on last edited by
        #3

        @reina
        Could you provide us with a usecase? In my experience, a QPixmap only interacts with file storage at initialization and is then a blob of data with an API for internal use.

        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