Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Debugging Qimage images in debugger
Forum Updated to NodeBB v4.3 + New Features

Debugging Qimage images in debugger

Scheduled Pinned Locked Moved Solved Mobile and Embedded
7 Posts 2 Posters 1.1k 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.
  • S Offline
    S Offline
    SachinBhat
    wrote on 11 Dec 2019, 08:31 last edited by
    #1

    Hi,

    Is there any way to view the QImage object on debugger. Needed to verify before processing the images.

    Thanks
    Sachin

    J 1 Reply Last reply 11 Dec 2019, 08:34
    0
    • S SachinBhat
      11 Dec 2019, 08:31

      Hi,

      Is there any way to view the QImage object on debugger. Needed to verify before processing the images.

      Thanks
      Sachin

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 11 Dec 2019, 08:34 last edited by
      #2

      @SachinBhat What do you mean with "view" - see the actual picture?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SachinBhat
        wrote on 11 Dec 2019, 08:42 last edited by
        #3

        Yes. It would be helpful for debugging purpose

        J 1 Reply Last reply 11 Dec 2019, 08:58
        0
        • S SachinBhat
          11 Dec 2019, 08:42

          Yes. It would be helpful for debugging purpose

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 11 Dec 2019, 08:58 last edited by
          #4

          @SachinBhat I don't think this is possible.
          As alternative you can write the image into a file and check that.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          2
          • S Offline
            S Offline
            SachinBhat
            wrote on 11 Dec 2019, 09:31 last edited by
            #5

            Thank you,

            I am using QImageWriter class for writing to a file.

            QImageWriter writer("D:/image.png","PNG");

            I get error
            error: variable has incomplete type 'QImageWriter'
            QPixmap.h:55:7: note: forward declaration of 'QImageWriter'

            I am using latst version of Qt

            Could you please help me in solving this error?

            Thanks
            Sachin

            J 1 Reply Last reply 11 Dec 2019, 09:32
            0
            • S SachinBhat
              11 Dec 2019, 09:31

              Thank you,

              I am using QImageWriter class for writing to a file.

              QImageWriter writer("D:/image.png","PNG");

              I get error
              error: variable has incomplete type 'QImageWriter'
              QPixmap.h:55:7: note: forward declaration of 'QImageWriter'

              I am using latst version of Qt

              Could you please help me in solving this error?

              Thanks
              Sachin

              J Offline
              J Offline
              jsulm
              Lifetime Qt Champion
              wrote on 11 Dec 2019, 09:32 last edited by
              #6

              @SachinBhat

              #include <QImageWriter>
              

              https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              2
              • S Offline
                S Offline
                SachinBhat
                wrote on 11 Dec 2019, 09:55 last edited by
                #7

                Thank you very much. This is helping me to debug my code easily

                Regards
                Sachin

                1 Reply Last reply
                0

                6/7

                11 Dec 2019, 09:32

                • Login

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