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

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.
  • SachinBhatS Offline
    SachinBhatS Offline
    SachinBhat
    wrote on 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

    jsulmJ 1 Reply Last reply
    0
    • SachinBhatS SachinBhat

      Hi,

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

      Thanks
      Sachin

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on 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
      • SachinBhatS Offline
        SachinBhatS Offline
        SachinBhat
        wrote on last edited by
        #3

        Yes. It would be helpful for debugging purpose

        jsulmJ 1 Reply Last reply
        0
        • SachinBhatS SachinBhat

          Yes. It would be helpful for debugging purpose

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on 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
          • SachinBhatS Offline
            SachinBhatS Offline
            SachinBhat
            wrote on 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

            jsulmJ 1 Reply Last reply
            0
            • SachinBhatS SachinBhat

              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

              jsulmJ Offline
              jsulmJ Offline
              jsulm
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @SachinBhat

              #include <QImageWriter>
              

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

              1 Reply Last reply
              2
              • SachinBhatS Offline
                SachinBhatS Offline
                SachinBhat
                wrote on last edited by
                #7

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

                Regards
                Sachin

                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