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. Unknown module(s) in QT: imageformats

Unknown module(s) in QT: imageformats

Scheduled Pinned Locked Moved Solved General and Desktop
9 Posts 4 Posters 777 Views 1 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.
  • M Offline
    M Offline
    MyNameIsQt
    wrote on last edited by MyNameIsQt
    #1

    My Qt development environment is

    Qt Creator 4.14.0
    Based on Qt 5.15.2 (MSVC 2019, 64 bit)
    

    i included like this in .pro

    QT += imageformats
    

    But result is:

    Unknown module(s) in QT: imageformats
    

    How can I resolve it?

    C C 2 Replies Last reply
    0
    • M MyNameIsQt

      @Abderrahmene_Rayene
      I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
      https://doc.qt.io/qt-6/qtimageformats-index.html

      M Offline
      M Offline
      MECoder
      wrote on last edited by
      #6

      @MyNameIsQt said in Unknown module(s) in QT: imageformats:

      I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
      https://doc.qt.io/qt-6/qtimageformats-index.html

      So, you wrote that you use Qt5 but post link to Qt 6? What Qt version you are using now? At Qt6 you need to install the module with the Maintenance Tool. Did you do that?

      01e97d87-d566-439a-8e9d-be49da3e2c0f-image.png

      C M 2 Replies Last reply
      1
      • M MyNameIsQt

        My Qt development environment is

        Qt Creator 4.14.0
        Based on Qt 5.15.2 (MSVC 2019, 64 bit)
        

        i included like this in .pro

        QT += imageformats
        

        But result is:

        Unknown module(s) in QT: imageformats
        

        How can I resolve it?

        C Offline
        C Offline
        CPPUIX
        wrote on last edited by
        #2

        @MyNameIsQt what is imageformats, and why did you include it?

        M 1 Reply Last reply
        0
        • M MyNameIsQt

          My Qt development environment is

          Qt Creator 4.14.0
          Based on Qt 5.15.2 (MSVC 2019, 64 bit)
          

          i included like this in .pro

          QT += imageformats
          

          But result is:

          Unknown module(s) in QT: imageformats
          

          How can I resolve it?

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

          @MyNameIsQt The error message says it all; there is no Qt module called "imageformats". You resolve the message by removing the offending text.

          There is a set of run-time plugins in a folder called "imageformats". These are loaded at run time if present.

          1 Reply Last reply
          0
          • C CPPUIX

            @MyNameIsQt what is imageformats, and why did you include it?

            M Offline
            M Offline
            MyNameIsQt
            wrote on last edited by
            #4

            @Abderrahmene_Rayene
            I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
            https://doc.qt.io/qt-6/qtimageformats-index.html

            C M 2 Replies Last reply
            0
            • M MyNameIsQt

              @Abderrahmene_Rayene
              I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
              https://doc.qt.io/qt-6/qtimageformats-index.html

              C Offline
              C Offline
              CPPUIX
              wrote on last edited by
              #5

              @MyNameIsQt Do you know where imageformats is located?
              I read that its default path is QTDIR/plugins (where QTDIR is the directory where Qt is installed).

              1 Reply Last reply
              0
              • M MyNameIsQt

                @Abderrahmene_Rayene
                I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
                https://doc.qt.io/qt-6/qtimageformats-index.html

                M Offline
                M Offline
                MECoder
                wrote on last edited by
                #6

                @MyNameIsQt said in Unknown module(s) in QT: imageformats:

                I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
                https://doc.qt.io/qt-6/qtimageformats-index.html

                So, you wrote that you use Qt5 but post link to Qt 6? What Qt version you are using now? At Qt6 you need to install the module with the Maintenance Tool. Did you do that?

                01e97d87-d566-439a-8e9d-be49da3e2c0f-image.png

                C M 2 Replies Last reply
                1
                • M MECoder

                  @MyNameIsQt said in Unknown module(s) in QT: imageformats:

                  I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
                  https://doc.qt.io/qt-6/qtimageformats-index.html

                  So, you wrote that you use Qt5 but post link to Qt 6? What Qt version you are using now? At Qt6 you need to install the module with the Maintenance Tool. Did you do that?

                  01e97d87-d566-439a-8e9d-be49da3e2c0f-image.png

                  C Offline
                  C Offline
                  CPPUIX
                  wrote on last edited by
                  #7

                  @MECoder I recently learned that the Qt version that Qt Creator is based on, is different from the Qt version installed on the device.
                  So good question, OP should mention what Qt version they have installed.

                  1 Reply Last reply
                  1
                  • M MECoder

                    @MyNameIsQt said in Unknown module(s) in QT: imageformats:

                    I'm making a program that converts images to webp and saves them as binaries. You need a module that can process webp images.
                    https://doc.qt.io/qt-6/qtimageformats-index.html

                    So, you wrote that you use Qt5 but post link to Qt 6? What Qt version you are using now? At Qt6 you need to install the module with the Maintenance Tool. Did you do that?

                    01e97d87-d566-439a-8e9d-be49da3e2c0f-image.png

                    M Offline
                    M Offline
                    MyNameIsQt
                    wrote on last edited by MyNameIsQt
                    #8

                    @MECoder Are you referring to the uninstall qt tool? So what modules do I need?
                    I installed version 6.4, but when I installed qt4, it didn't compile due to compatibility issues between installed compiler and qt version. So I deleted 6.4. I am a beginner in qt. thank you

                    C 1 Reply Last reply
                    0
                    • M MyNameIsQt

                      @MECoder Are you referring to the uninstall qt tool? So what modules do I need?
                      I installed version 6.4, but when I installed qt4, it didn't compile due to compatibility issues between installed compiler and qt version. So I deleted 6.4. I am a beginner in qt. thank you

                      C Offline
                      C Offline
                      CPPUIX
                      wrote on last edited by
                      #9

                      @MyNameIsQt You need to install Qt 6.4 along with image formats module.

                      And why are you trying to use qt4 (which is Qt version 4)? It's not compatible with your compiler.

                      1 Reply Last reply
                      0
                      • M MyNameIsQt 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