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. Documentation / Guide on memory allocation with Qt
Qt 6.11 is out! See what's new in the release blog

Documentation / Guide on memory allocation with Qt

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 2 Posters 469 Views 2 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    Can someone point me to a location to read up on memory allocation and Qt. Normally I manage the memory myself, if I allocate something I deallocate the memory, however recently I've heard that certain Qt objects like layouts automatically deallocate the memory when done.

    Is this correct?

    Kind Regards,
    Sy

    1 Reply Last reply
    0
    • JohanSoloJ Offline
      JohanSoloJ Offline
      JohanSolo
      wrote on last edited by
      #2

      Would this fulfil your needs?

      `They did not know it was impossible, so they did it.'
      -- Mark Twain

      SPlattenS 1 Reply Last reply
      4
      • JohanSoloJ JohanSolo

        Would this fulfil your needs?

        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by SPlatten
        #3

        @JohanSolo , thank you, I will take a look. Thats exactly what I needed.

        Kind Regards,
        Sy

        1 Reply Last reply
        0
        • JohanSoloJ Offline
          JohanSoloJ Offline
          JohanSolo
          wrote on last edited by
          #4

          I'm glad I could help. So sad you've only heard recently about it

          `They did not know it was impossible, so they did it.'
          -- Mark Twain

          SPlattenS 1 Reply Last reply
          1
          • JohanSoloJ JohanSolo

            I'm glad I could help. So sad you've only heard recently about it

            SPlattenS Offline
            SPlattenS Offline
            SPlatten
            wrote on last edited by
            #5

            @JohanSolo , I didn't realise that Qt did any kind of memory management for you.

            Kind Regards,
            Sy

            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