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. Tiff QImage not working on QT6.7.0 on raspberry
Forum Update on Monday, May 27th 2025

Tiff QImage not working on QT6.7.0 on raspberry

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 3 Posters 361 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.
  • C Offline
    C Offline
    Cesar Olesk
    wrote on last edited by
    #1

    I installed QT6.7.0 and QTCreator 13.0.0 on Raspberry Pi 4 using online installer.
    I checked the addicional imageLibs on Maintenance Tool
    I have installed libtiff on my raspberry.

    But can't read .tif image with QImage.

    PS. On windows I can read it without problems with same qt configuration

    Christian EhrlicherC 1 Reply Last reply
    0
    • C Cesar Olesk

      @ChrisW67 Yes, you right. There is missing one library: libtiff.so.5. How can I get it?

      C Offline
      C Offline
      ChrisW67
      wrote on last edited by
      #6

      @Cesar-Olesk In you original post:

      I have installed libtiff on my raspberry.

      I would expect that place a libtiff.so and associated symlinks somewhere.
      What does locate tiff.so return?

      I think the package might be called libtiff6 in Raspbian/Raspberry PI OS.

      1 Reply Last reply
      0
      • C Cesar Olesk

        I installed QT6.7.0 and QTCreator 13.0.0 on Raspberry Pi 4 using online installer.
        I checked the addicional imageLibs on Maintenance Tool
        I have installed libtiff on my raspberry.

        But can't read .tif image with QImage.

        PS. On windows I can read it without problems with same qt configuration

        Christian EhrlicherC Offline
        Christian EhrlicherC Offline
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by
        #2

        @Cesar-Olesk So did you install the Qt image formats package? If so there should be a libtiff.so in <qtdir>/plugins/imageformats

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        C 1 Reply Last reply
        1
        • Christian EhrlicherC Christian Ehrlicher

          @Cesar-Olesk So did you install the Qt image formats package? If so there should be a libtiff.so in <qtdir>/plugins/imageformats

          C Offline
          C Offline
          Cesar Olesk
          wrote on last edited by
          #3

          @Christian-Ehrlicher Yes you are right, there is a libqtiff.so there. with many others image libs.
          But QImage image(path_file); not work, always image.isNull() == true.
          If I try jpeg, it can read, so there is no problem with path or with the QImage object.
          Of course, the tif images can be open with rasppi imageViewer.

          C 1 Reply Last reply
          0
          • C Cesar Olesk

            @Christian-Ehrlicher Yes you are right, there is a libqtiff.so there. with many others image libs.
            But QImage image(path_file); not work, always image.isNull() == true.
            If I try jpeg, it can read, so there is no problem with path or with the QImage object.
            Of course, the tif images can be open with rasppi imageViewer.

            C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #4

            @Cesar-Olesk Does:

            $ ldd {qtdir}/plugins/imageformats/libqtiff.so
            

            show anything missing?

            C 1 Reply Last reply
            2
            • C ChrisW67

              @Cesar-Olesk Does:

              $ ldd {qtdir}/plugins/imageformats/libqtiff.so
              

              show anything missing?

              C Offline
              C Offline
              Cesar Olesk
              wrote on last edited by
              #5

              @ChrisW67 Yes, you right. There is missing one library: libtiff.so.5. How can I get it?

              C 1 Reply Last reply
              0
              • C Cesar Olesk

                @ChrisW67 Yes, you right. There is missing one library: libtiff.so.5. How can I get it?

                C Offline
                C Offline
                ChrisW67
                wrote on last edited by
                #6

                @Cesar-Olesk In you original post:

                I have installed libtiff on my raspberry.

                I would expect that place a libtiff.so and associated symlinks somewhere.
                What does locate tiff.so return?

                I think the package might be called libtiff6 in Raspbian/Raspberry PI OS.

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  Cesar Olesk
                  wrote on last edited by
                  #7

                  Ok, thanks

                  1 Reply Last reply
                  0
                  • C Cesar Olesk has marked this topic as solved on

                  • Login

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