Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Using QImageCleanupFunction with PySide2
Servers for Qt installer are currently down

Using QImageCleanupFunction with PySide2

Scheduled Pinned Locked Moved Unsolved Language Bindings
2 Posts 2 Posters 768 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.
  • L Offline
    L Offline
    laan
    wrote on 22 Mar 2019, 10:16 last edited by
    #1

    I'm trying to use the cleanupFunction (QImageCleanupFunction) to provide a custom cleanup function for a QImage, but its results in a segmentation fault in the QImage constructor.

    Is there any way to use a python function as a cleanupFunction with QImage in PySide2?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 22 Mar 2019, 19:42 last edited by
      #2

      Hi,

      Good question. What does your function look like ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      2/2

      22 Mar 2019, 19:42

      • Login

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