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. Recompile QT libtiff plugin with JPEG and DEFLATE Support
Forum Updated to NodeBB v4.3 + New Features

Recompile QT libtiff plugin with JPEG and DEFLATE Support

Scheduled Pinned Locked Moved Solved General and Desktop
10 Posts 2 Posters 778 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.
  • ademmlerA Offline
    ademmlerA Offline
    ademmler
    wrote on last edited by
    #1

    hi,

    I need libtiff with JPEG and DEFLATE support. What advice you have to reach this goal?

    1. recompile qtlibiff plugin and place this in the QT distro?
    2. Override load image to use another already linked tifflib?
    3. How to pass a tiff raw data (read with external Libtiff) to QImage?

    thx in advance
    Alexander

    1 Reply Last reply
    0
    • SGaistS SGaist

      Check the options used to build it in the corresponding third parties.

      ademmlerA Offline
      ademmlerA Offline
      ademmler
      wrote on last edited by
      #5

      @SGaist
      I was asking what is the best approach.

      Building it as external third party - what I did already - is not what I am looking for.
      How can I build it into the qt tiff plugin that it will be available from QT functions ... ?

      Also this pri-file does not exist in this examples:
      /Qt4/5.15.2/Src/qtimageformats/src/imageformats/qtimageformats-config.pri

      22:17:22: Starting: "/Users/ademmler/Qt4/5.15.2/clang_64/bin/qmake" /Users/ademmler/Qt4/5.15.2/Src/qtimageformats/src/plugins/imageformats/tiff/tiff.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG+=qml_debug
      Cannot read /Users/ademmler/Qt4/5.15.2/Src/qtimageformats/src/imageformats/qtimageformats-config.pri: No such file or directory
      Project ERROR: Could not find feature system-tiff.
      22:17:23: The process "/Users/ademmler/Qt4/5.15.2/clang_64/bin/qmake" exited with code 3.
      Error while building/deploying project tiff (kit: Desktop Qt 5.15.2 clang 64bit)
      When executing step "qmake"
      22:17:23: Elapsed time: 00:00.
      
      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        Are you building that version of libtiff yourself ?
        Are you using your distribution provided Qt ?

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

        ademmlerA 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          Are you building that version of libtiff yourself ?
          Are you using your distribution provided Qt ?

          ademmlerA Offline
          ademmlerA Offline
          ademmler
          wrote on last edited by
          #3

          @SGaist

          Both is possible. But I am talking about how to "modify" the one from QT ...

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Check the options used to build it in the corresponding third parties.

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

            ademmlerA 1 Reply Last reply
            0
            • SGaistS SGaist

              Check the options used to build it in the corresponding third parties.

              ademmlerA Offline
              ademmlerA Offline
              ademmler
              wrote on last edited by
              #5

              @SGaist
              I was asking what is the best approach.

              Building it as external third party - what I did already - is not what I am looking for.
              How can I build it into the qt tiff plugin that it will be available from QT functions ... ?

              Also this pri-file does not exist in this examples:
              /Qt4/5.15.2/Src/qtimageformats/src/imageformats/qtimageformats-config.pri

              22:17:22: Starting: "/Users/ademmler/Qt4/5.15.2/clang_64/bin/qmake" /Users/ademmler/Qt4/5.15.2/Src/qtimageformats/src/plugins/imageformats/tiff/tiff.pro -spec macx-clang CONFIG+=debug CONFIG+=x86_64 CONFIG+=qml_debug
              Cannot read /Users/ademmler/Qt4/5.15.2/Src/qtimageformats/src/imageformats/qtimageformats-config.pri: No such file or directory
              Project ERROR: Could not find feature system-tiff.
              22:17:23: The process "/Users/ademmler/Qt4/5.15.2/clang_64/bin/qmake" exited with code 3.
              Error while building/deploying project tiff (kit: Desktop Qt 5.15.2 clang 64bit)
              When executing step "qmake"
              22:17:23: Elapsed time: 00:00.
              
              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #6

                @ademmler said in Recompile QT libtiff plugin with JPEG and DEFLATE Support:

                Building it as external third party - what I did already - is not what I am looking for.

                That is not what I suggested. I suggested to modify the build of the tiff lib that is provided within the module sources.

                Build the whole module first once so it's configured.

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

                ademmlerA 1 Reply Last reply
                0
                • SGaistS SGaist

                  @ademmler said in Recompile QT libtiff plugin with JPEG and DEFLATE Support:

                  Building it as external third party - what I did already - is not what I am looking for.

                  That is not what I suggested. I suggested to modify the build of the tiff lib that is provided within the module sources.

                  Build the whole module first once so it's configured.

                  ademmlerA Offline
                  ademmlerA Offline
                  ademmler
                  wrote on last edited by
                  #7

                  @SGaist

                  That is what I tried, and this is what has thrown the error.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #8

                    From the looks of it, you opened the tiff plugin pro file directly.

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

                    ademmlerA 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      From the looks of it, you opened the tiff plugin pro file directly.

                      ademmlerA Offline
                      ademmlerA Offline
                      ademmler
                      wrote on last edited by
                      #9

                      @SGaist Yes - do I really need to open all projects to compile just one plugin?

                      1 Reply Last reply
                      0
                      • SGaistS Offline
                        SGaistS Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on last edited by
                        #10

                        You need to do it once for the configuration to happen yes.

                        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

                        • Login

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