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. How to display .dds files
QtWS25 Last Chance

How to display .dds files

Scheduled Pinned Locked Moved Solved General and Desktop
qimageqpixmapdds
13 Posts 3 Posters 2.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.
  • M Offline
    M Offline
    Matthieuzone
    wrote on last edited by
    #1

    Hello
    I need to display a .dds file in a GUI application (so have it in a QImage or a QPixmap or something like this. Unfortunately, .dds files are not supported since Qt 5.8.0, is there still a simple way to do it ? And if not, I read that the .dds support is commented out in the sources files, so how can I uncomment and compile only the good file without having to compile all of Qt ?
    Thanks for your help and your time.

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

      Hi and welcome to devnet,

      Are you locked to that old version of Qt ? If not, then please update to either the current version or the latest LTS.

      It depends on where that code is. You can simply build only the module that contains it.

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

      M 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        Are you locked to that old version of Qt ? If not, then please update to either the current version or the latest LTS.

        It depends on where that code is. You can simply build only the module that contains it.

        M Offline
        M Offline
        Matthieuzone
        wrote on last edited by
        #3

        @SGaist I am using Qt 5.15.0, where can i find the module that contains this ?

        1 Reply Last reply
        0
        • B Offline
          B Offline
          Bonnie
          wrote on last edited by Bonnie
          #4

          You need build the plugin yourself since 5.8.0.

          For security reasons, the DDS handler will no longer be built by
          default. Users who still want this handler can build it from the
          source project.

          Which platform are you using?
          If Windows + MinGW, run Qt command prompt from Start Menu and cd to [QtDir]\Src\qtimageformats\src\plugins\imageformats\dds.
          Then run qmake, then mingw32-make install.

          But you should be warned:

          As it stands right now, it's severely bugged and a security minefield (crashes).
          It is also pretty useless in combination with QImage: DDS files are supposed to
          carry multiple individual textures, texture arrays, cubemaps; mipmap chains;
          and may use specific texture compression formats. All these features are not
          supported at all by QImage.

          M 2 Replies Last reply
          4
          • B Bonnie

            You need build the plugin yourself since 5.8.0.

            For security reasons, the DDS handler will no longer be built by
            default. Users who still want this handler can build it from the
            source project.

            Which platform are you using?
            If Windows + MinGW, run Qt command prompt from Start Menu and cd to [QtDir]\Src\qtimageformats\src\plugins\imageformats\dds.
            Then run qmake, then mingw32-make install.

            But you should be warned:

            As it stands right now, it's severely bugged and a security minefield (crashes).
            It is also pretty useless in combination with QImage: DDS files are supposed to
            carry multiple individual textures, texture arrays, cubemaps; mipmap chains;
            and may use specific texture compression formats. All these features are not
            supported at all by QImage.

            M Offline
            M Offline
            Matthieuzone
            wrote on last edited by
            #5

            @Bonnie thank you !

            1 Reply Last reply
            0
            • B Bonnie

              You need build the plugin yourself since 5.8.0.

              For security reasons, the DDS handler will no longer be built by
              default. Users who still want this handler can build it from the
              source project.

              Which platform are you using?
              If Windows + MinGW, run Qt command prompt from Start Menu and cd to [QtDir]\Src\qtimageformats\src\plugins\imageformats\dds.
              Then run qmake, then mingw32-make install.

              But you should be warned:

              As it stands right now, it's severely bugged and a security minefield (crashes).
              It is also pretty useless in combination with QImage: DDS files are supposed to
              carry multiple individual textures, texture arrays, cubemaps; mipmap chains;
              and may use specific texture compression formats. All these features are not
              supported at all by QImage.

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

              @Bonnie when i run mingw32-make install i have this error : Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:399 : undefined reference to `_imp___ZN11QDataStreamrsERi'
              and a lot more undefined refercences, I did exactly what you said.

              1 Reply Last reply
              0
              • B Offline
                B Offline
                Bonnie
                wrote on last edited by Bonnie
                #7

                I haven't installed 5.15 yet, may try that later.
                [EDITED]

                M 1 Reply Last reply
                1
                • B Bonnie

                  I haven't installed 5.15 yet, may try that later.
                  [EDITED]

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

                  @Bonnie ok, thanks

                  B 1 Reply Last reply
                  0
                  • M Matthieuzone

                    @Bonnie ok, thanks

                    B Offline
                    B Offline
                    Bonnie
                    wrote on last edited by Bonnie
                    #9

                    @Matthieuzone Hi, I tried 5.15.0 and didn't get any error.
                    Can you post the full output like this? (run "qmake -v" first to show the Qt version) [ADDED] also run "mingw32-make -v" please

                    Setting up environment for Qt usage...
                    
                    D:\Qt\5.15.0\mingw81_64>qmake -v
                    QMake version 3.1
                    Using Qt version 5.15.0 in D:/Qt/5.15.0/mingw81_64/lib
                    
                    D:\Qt\5.15.0\mingw81_64>cd D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds
                    
                    D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>qmake
                    Info: creating stash file D:\Qt\5.15.0\Src\qtimageformats\.qmake.stash
                    
                    D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>mingw32-make install
                    mingw32-make -f Makefile.Release install
                    mingw32-make[1]: Entering directory 'D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                    g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\ddsheader.o ddsheader.cpp
                    g++ -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -dM -E -o .moc\release\moc_predefs.h D:\Qt\5.15.0\mingw81_64\mkspecs\features\data\dummy.cpp
                    D:\Qt\5.15.0\mingw81_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB --include D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds/.moc/release/moc_predefs.h -ID:/Qt/5.15.0/mingw81_64/mkspecs/win32-g++ -ID:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds -ID:/Qt/5.15.0/mingw81_64/include -ID:/Qt/5.15.0/mingw81_64/include/QtGui -ID:/Qt/5.15.0/mingw81_64/include/QtANGLE -ID:/Qt/5.15.0/mingw81_64/include/QtCore -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++ -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32 -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/backward -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed -ID:/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include main.cpp -o .moc\release\main.moc
                    g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\main.o main.cpp
                    main.cpp: In member function 'virtual QImageIOPlugin::Capabilities QDDSPlugin::capabilities(QIODevice*, const QByteArray&) const':
                    main.cpp:65:16: warning: 'constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QImageIOPlugin::Capability; QFlags<T>::Zero = int QFlags<QImageIOPlugin::Capability>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
                             return 0;
                                    ^
                    In file included from D:\Qt\5.15.0\mingw81_64\include/QtCore/qglobal.h:1302,
                                     from D:\Qt\5.15.0\mingw81_64\include/QtGui/qtguiglobal.h:43,
                                     from D:\Qt\5.15.0\mingw81_64\include/QtGui/qimageiohandler.h:43,
                                     from main.cpp:41:
                    D:\Qt\5.15.0\mingw81_64\include/QtCore/qflags.h:123:80: note: declared here
                         QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
                                                                                                    ^~~~~~
                    main.cpp:67:16: warning: 'constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QImageIOPlugin::Capability; QFlags<T>::Zero = int QFlags<QImageIOPlugin::Capability>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
                             return 0;
                                    ^
                    In file included from D:\Qt\5.15.0\mingw81_64\include/QtCore/qglobal.h:1302,
                                     from D:\Qt\5.15.0\mingw81_64\include/QtGui/qtguiglobal.h:43,
                                     from D:\Qt\5.15.0\mingw81_64\include/QtGui/qimageiohandler.h:43,
                                     from main.cpp:41:
                    D:\Qt\5.15.0\mingw81_64\include/QtCore/qflags.h:123:80: note: declared here
                         QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
                                                                                                    ^~~~~~
                    g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\qddshandler.o qddshandler.cpp
                    windres -i qdds_resource.rc -o .obj\release\qdds_resource_res.o --include-dir=. -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB
                    g++ -shared -Wl,-subsystem,windows -Wl,--out-implib,D:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\libqdds.a -o ..\..\..\..\plugins\imageformats\qdds.dll .obj/release/ddsheader.o .obj/release/main.o .obj/release/qddshandler.o  -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.7.25-winx64\lib -LC:\Utils\postgresql\pgsql\lib D:\Qt\5.15.0\mingw81_64\lib\libQt5Gui.a D:\Qt\5.15.0\mingw81_64\lib\libQt5Core.a .obj\release\qdds_resource_res.o
                    objcopy --only-keep-debug ../../../../plugins/imageformats/qdds.dll ../../../../plugins/imageformats/qdds.dll.debug && objcopy --strip-debug ../../../../plugins/imageformats/qdds.dll && objcopy --add-gnu-debuglink=../../../../plugins/imageformats/qdds.dll.debug ../../../../plugins/imageformats/qdds.dll
                    D:\Qt\5.15.0\mingw81_64\bin\qmake.exe -install qinstall D:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\qdds.dll.debug D:\Qt\5.15.0\mingw81_64\plugins\imageformats\qdds.dll.debug
                    copy /y ..\..\..\..\plugins\imageformats\qdds.dll D:\Qt\5.15.0\mingw81_64\plugins\imageformats\qdds.dll
                    已复制         1 个文件。
                    D:\Qt\5.15.0\mingw81_64\bin\qmake.exe -install qinstall D:\Qt\5.15.0\Src\qtimageformats\lib\cmake\Qt5Gui\Qt5Gui_QDDSPlugin.cmake D:\Qt\5.15.0\mingw81_64\lib\cmake\Qt5Gui\Qt5Gui_QDDSPlugin.cmake
                    mingw32-make[1]: Leaving directory 'D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                    
                    M 2 Replies Last reply
                    2
                    • B Bonnie

                      @Matthieuzone Hi, I tried 5.15.0 and didn't get any error.
                      Can you post the full output like this? (run "qmake -v" first to show the Qt version) [ADDED] also run "mingw32-make -v" please

                      Setting up environment for Qt usage...
                      
                      D:\Qt\5.15.0\mingw81_64>qmake -v
                      QMake version 3.1
                      Using Qt version 5.15.0 in D:/Qt/5.15.0/mingw81_64/lib
                      
                      D:\Qt\5.15.0\mingw81_64>cd D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds
                      
                      D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>qmake
                      Info: creating stash file D:\Qt\5.15.0\Src\qtimageformats\.qmake.stash
                      
                      D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>mingw32-make install
                      mingw32-make -f Makefile.Release install
                      mingw32-make[1]: Entering directory 'D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                      g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\ddsheader.o ddsheader.cpp
                      g++ -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -dM -E -o .moc\release\moc_predefs.h D:\Qt\5.15.0\mingw81_64\mkspecs\features\data\dummy.cpp
                      D:\Qt\5.15.0\mingw81_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB --include D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds/.moc/release/moc_predefs.h -ID:/Qt/5.15.0/mingw81_64/mkspecs/win32-g++ -ID:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds -ID:/Qt/5.15.0/mingw81_64/include -ID:/Qt/5.15.0/mingw81_64/include/QtGui -ID:/Qt/5.15.0/mingw81_64/include/QtANGLE -ID:/Qt/5.15.0/mingw81_64/include/QtCore -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++ -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32 -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/backward -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed -ID:/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include main.cpp -o .moc\release\main.moc
                      g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\main.o main.cpp
                      main.cpp: In member function 'virtual QImageIOPlugin::Capabilities QDDSPlugin::capabilities(QIODevice*, const QByteArray&) const':
                      main.cpp:65:16: warning: 'constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QImageIOPlugin::Capability; QFlags<T>::Zero = int QFlags<QImageIOPlugin::Capability>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
                               return 0;
                                      ^
                      In file included from D:\Qt\5.15.0\mingw81_64\include/QtCore/qglobal.h:1302,
                                       from D:\Qt\5.15.0\mingw81_64\include/QtGui/qtguiglobal.h:43,
                                       from D:\Qt\5.15.0\mingw81_64\include/QtGui/qimageiohandler.h:43,
                                       from main.cpp:41:
                      D:\Qt\5.15.0\mingw81_64\include/QtCore/qflags.h:123:80: note: declared here
                           QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
                                                                                                      ^~~~~~
                      main.cpp:67:16: warning: 'constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QImageIOPlugin::Capability; QFlags<T>::Zero = int QFlags<QImageIOPlugin::Capability>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
                               return 0;
                                      ^
                      In file included from D:\Qt\5.15.0\mingw81_64\include/QtCore/qglobal.h:1302,
                                       from D:\Qt\5.15.0\mingw81_64\include/QtGui/qtguiglobal.h:43,
                                       from D:\Qt\5.15.0\mingw81_64\include/QtGui/qimageiohandler.h:43,
                                       from main.cpp:41:
                      D:\Qt\5.15.0\mingw81_64\include/QtCore/qflags.h:123:80: note: declared here
                           QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
                                                                                                      ^~~~~~
                      g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\qddshandler.o qddshandler.cpp
                      windres -i qdds_resource.rc -o .obj\release\qdds_resource_res.o --include-dir=. -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB
                      g++ -shared -Wl,-subsystem,windows -Wl,--out-implib,D:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\libqdds.a -o ..\..\..\..\plugins\imageformats\qdds.dll .obj/release/ddsheader.o .obj/release/main.o .obj/release/qddshandler.o  -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.7.25-winx64\lib -LC:\Utils\postgresql\pgsql\lib D:\Qt\5.15.0\mingw81_64\lib\libQt5Gui.a D:\Qt\5.15.0\mingw81_64\lib\libQt5Core.a .obj\release\qdds_resource_res.o
                      objcopy --only-keep-debug ../../../../plugins/imageformats/qdds.dll ../../../../plugins/imageformats/qdds.dll.debug && objcopy --strip-debug ../../../../plugins/imageformats/qdds.dll && objcopy --add-gnu-debuglink=../../../../plugins/imageformats/qdds.dll.debug ../../../../plugins/imageformats/qdds.dll
                      D:\Qt\5.15.0\mingw81_64\bin\qmake.exe -install qinstall D:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\qdds.dll.debug D:\Qt\5.15.0\mingw81_64\plugins\imageformats\qdds.dll.debug
                      copy /y ..\..\..\..\plugins\imageformats\qdds.dll D:\Qt\5.15.0\mingw81_64\plugins\imageformats\qdds.dll
                      已复制         1 个文件。
                      D:\Qt\5.15.0\mingw81_64\bin\qmake.exe -install qinstall D:\Qt\5.15.0\Src\qtimageformats\lib\cmake\Qt5Gui\Qt5Gui_QDDSPlugin.cmake D:\Qt\5.15.0\mingw81_64\lib\cmake\Qt5Gui\Qt5Gui_QDDSPlugin.cmake
                      mingw32-make[1]: Leaving directory 'D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                      
                      M Offline
                      M Offline
                      Matthieuzone
                      wrote on last edited by Matthieuzone
                      #10

                      @Bonnie Here's the output. I have to post it in multiple times because it's too long. It looks like qmake did nothing. I don't know if it matters but I have installed Qt from the installer and not by compiling the sources.

                      Setting up environment for Qt usage...
                      
                      C:\Qt\5.15.0\mingw81_64>qmake -v
                      QMake version 3.1
                      Using Qt version 5.15.0 in C:/Qt/5.15.0/mingw81_64/lib
                      
                      C:\Qt\5.15.0\mingw81_64>mingw32-make -v
                      GNU Make 4.2.1
                      Built for x86_64-w64-mingw32
                      Copyright (C) 1988-2016 Free Software Foundation, Inc.
                      License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
                      This is free software: you are free to change and redistribute it.
                      There is NO WARRANTY, to the extent permitted by law.
                      
                      C:\Qt\5.15.0\mingw81_64>cd ../Scr
                      The system cannot find the path specified.
                      
                      C:\Qt\5.15.0\mingw81_64>cd ../src
                      
                      C:\Qt\5.15.0\Src>cd qtimageformats\src\plugins\imageformats\dds
                      
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>qmake
                      
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>mingw32-make install
                      mingw32-make -f Makefile.Release install
                      mingw32-make[1]: Entering directory 'C:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                      g++ -shared -Wl,-subsystem,windows -Wl,--out-implib,C:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\libqdds.a -o ..\..\..\..\plugins\imageformats\qdds.dll .obj/release/ddsheader.o .obj/release/main.o .obj/release/qddshandler.o  -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.7.25-winx64\lib -LC:\Utils\postgresql\pgsql\lib C:\Qt\5.15.0\mingw81_64\lib\libQt5Gui.a C:\Qt\5.15.0\mingw81_64\lib\libQt5Core.a .obj\release\qdds_resource_res.o
                      C:/Qt/Tools/mingw810_64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: Cannot export qt_plugin_instance: symbol not found
                      C:/Qt/Tools/mingw810_64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: Cannot export qt_plugin_query_metadata: symbol not found
                      C:/Qt/Tools/mingw810_64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `.obj/release/ddsheader.o' is incompatible with i386:x86-64 output
                      C:/Qt/Tools/mingw810_64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `.obj/release/main.o' is incompatible with i386:x86-64 output
                      C:/Qt/Tools/mingw810_64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `.obj/release/qddshandler.o' is incompatible with i386:x86-64 output
                      C:/Qt/Tools/mingw810_64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `.obj\release\qdds_resource_res.o' is incompatible with i386:x86-64 output
                      .obj/release/ddsheader.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:387: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      .obj/release/ddsheader.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:399: undefined reference to `__imp___ZN11QDataStreamlsEi'
                      .obj/release/ddsheader.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:387: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      .obj/release/ddsheader.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:399: undefined reference to `__imp___ZN11QDataStreamlsEi'
                      .obj/release/ddsheader.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:387: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      .obj/release/ddsheader.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:399: undefined reference to `__imp___ZN11QDataStreamlsEi'
                      .obj/release/main.o: In function `QDDSPlugin::create(QIODevice*, QByteArray const&) const':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:79: undefined reference to `__Znwj'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:80: undefined reference to `__imp___ZN15QImageIOHandler9setDeviceEP9QIODevice'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:81: undefined reference to `__imp___ZN15QImageIOHandler9setFormatERK10QByteArray'
                      .obj/release/main.o: In function `QDDSPlugin::metaObject() const':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:78: undefined reference to `__imp___ZNK11QObjectData17dynamicMetaObjectEv'
                      .obj/release/main.o: In function `QDDSPlugin::capabilities(QIODevice*, QByteArray const&) const':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:66: undefined reference to `__imp___ZNK9QIODevice6isOpenEv'
                      .obj/release/main.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/main.o: In function `QDDSPlugin::capabilities(QIODevice*, QByteArray const&) const':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:70: undefined reference to `__imp___ZNK9QIODevice10isReadableEv'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:72: undefined reference to `__imp___ZNK9QIODevice10isWritableEv'
                      .obj/release/main.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qsharedpointer_impl.h:158: undefined reference to `__ZdlPv'
                      .obj/release/main.o: In function `qt_plugin_instance':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:120: undefined reference to `__Znwj'
                      .obj/release/main.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:51: undefined reference to `__imp___ZN14QImageIOPluginC2EP7QObject'
                      .obj/release/main.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qsharedpointer_impl.h:682: undefined reference to `__imp___ZN15QtSharedPointer20ExternalRefCountData9getAndRefEPK7QObject'
                      .obj/release/main.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qsharedpointer_impl.h:158: undefined reference to `__ZdlPv'
                      .obj/release/main.o: In function `qt_plugin_instance':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:120: undefined reference to `___cxa_guard_acquire'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:120: undefined reference to `___cxa_guard_release'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:120: undefined reference to `_atexit'
                      .obj/release/main.o: In function `QDDSPlugin::qt_metacast(char const*)':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:84: undefined reference to `_strcmp'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:86: undefined reference to `__imp___ZN14QImageIOPlugin11qt_metacastEPKc'
                      .obj/release/main.o: In function `QDDSPlugin::qt_metacall(QMetaObject::Call, int, void**)':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:91: undefined reference to `__imp___ZN14QImageIOPlugin11qt_metacallEN11QMetaObject4CallEiPPv'
                      .obj/release/main.o: In function `QDDSPlugin::~QDDSPlugin()':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:51: undefined reference to `__imp___ZN14QImageIOPluginD2Ev'
                      .obj/release/main.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:51: undefined reference to `__imp___ZN14QImageIOPluginD2Ev'
                      .obj/release/main.o: In function `QDDSPlugin::~QDDSPlugin()':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/main.cpp:51: undefined reference to `__ZdlPvj'
                      .obj/release/main.o: In function `__static_initialization_and_destruction_0':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/.moc/release/main.moc:67: undefined reference to `__imp___ZN14QImageIOPlugin16staticMetaObjectE'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTI7QObject[__ZTI7QObject]+0x0): undefined reference to `__ZTVN10__cxxabiv117__class_type_infoE'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTI14QImageIOPlugin[__ZTI14QImageIOPlugin]+0x0): undefined reference to `__ZTVN10__cxxabiv120__si_class_type_infoE'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTI10QDDSPlugin[__ZTI10QDDSPlugin]+0x0): undefined reference to `__ZTVN10__cxxabiv120__si_class_type_infoE'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x1c): undefined reference to `__ZN7QObject5eventEP6QEvent'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x20): undefined reference to `__ZN7QObject11eventFilterEPS_P6QEvent'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x24): undefined reference to `__ZN7QObject10timerEventEP11QTimerEvent'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x28): undefined reference to `__ZN7QObject10childEventEP11QChildEvent'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x2c): undefined reference to `__ZN7QObject11customEventEP6QEvent'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x30): undefined reference to `__ZN7QObject13connectNotifyERK11QMetaMethod'
                      .obj/release/main.o:main.cpp:(.rdata$_ZTV10QDDSPlugin[__ZTV10QDDSPlugin]+0x34): undefined reference to `__ZN7QObject16disconnectNotifyERK11QMetaMethod'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:384: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      .obj/release/qddshandler.o:C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/lib/gcc/i686-w64-mingw32/8.1.0/include/c++/cmath:418: undefined reference to `_pow'
                      .obj/release/qddshandler.o: In function `formatName':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1359: undefined reference to `__imp___ZN10QByteArrayC1EPKci'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1362: undefined reference to `__imp___ZN10QByteArrayC1EPKci'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:923: undefined reference to `__imp___ZN9QListData7disposeEPNS_4DataE'
                      .obj/release/qddshandler.o: In function `readUnsignedImage':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:631: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:635: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:381: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      .obj/release/qddshandler.o: In function `QDDSHandler::setOption(QImageIOHandler::ImageOption, QVariant const&)':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1499: undefined reference to `__imp___ZNK8QVariant11toByteArrayEv'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qbytearray.h:279: undefined reference to `__imp___ZN10QByteArray14toUpper_helperERKS_'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qbytearray.h:275: undefined reference to `__imp___ZN10QByteArray14toLower_helperERKS_'
                      .obj/release/qddshandler.o: In function `formatByName':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1369: undefined reference to `__imp___ZN10QByteArrayC1EPKci'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qbytearray.h:277: undefined reference to `__imp___ZN10QByteArray14toLower_helperERS_'
                      .obj/release/qddshandler.o: In function `operator==(QByteArray const&, QByteArray const&)':
                      C:/Qt/5.15.0/mingw81_64/include/QtCore/qbytearray.h:677: undefined reference to `_memcmp'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o: In function `QDDSHandler::setOption(QImageIOHandler::ImageOption, QVariant const&)':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1502: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:166: undefined reference to `__imp___ZN6QDebug12putByteArrayEPKcjNS_13Latin1ContentE'
                      .obj/release/qddshandler.o: In function `QDDSHandler::setOption(QImageIOHandler::ImageOption, QVariant const&)':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1502: undefined reference to `__imp___ZN6QDebugD1Ev'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                      .obj/release/qddshandler.o: In function `readR32F':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:744: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:746: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:748: undefined reference to `__imp___ZN11QDataStream25setFloatingPointPrecisionENS_22FloatingPointPrecisionE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:748: undefined reference to `__imp___ZN11QDataStreamrsERf'
                      .obj/release/qddshandler.o: In function `readFloat32':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:686: undefined reference to `__imp___ZNK11QDataStream22floatingPointPrecisionEv'
                      .obj/release/qddshandler.o: In function `readCxV8U8':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:812: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:814: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:816: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      .obj/release/qddshandler.o: In function `readATI2':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:574: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:577: undefined reference to `__imp___ZN11QDataStreamrsERx'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:594: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readG8R8G8B8':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1071: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1073: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1082: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readUYVY':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1009: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1012: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1021: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)3>':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readA2W10V10U10':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:987: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:990: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:387: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      .obj/release/qddshandler.o: In function `readR16F':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:695: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:697: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readV8U8':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:898: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:900: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:900: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readARGB16':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:878: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:880: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:882: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      .obj/release/qddshandler.o: In function `readLayer':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1213: undefined reference to `__imp___ZN6QImageC1Ev'
                      .obj/release/qddshandler.o: In function `readA2R10G10B10':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1092: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1092: undefined reference to `__imp___ZNK6QImage5pixelEii'
                      .obj/release/qddshandler.o: In function `readLayer':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1213: undefined reference to `__imp___ZN6QImageC1Ev'
                      .obj/release/qddshandler.o: In function `readV16U16':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:969: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:971: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:972: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      .obj/release/qddshandler.o: In function `readX8L8V8U8':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:932: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:932: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:936: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)5>':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readYUY2':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1050: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1053: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1062: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readQ16W16V16U16':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:792: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:796: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:798: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      .obj/release/qddshandler.o: In function `readARGB16F':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:726: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:728: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readARGB32F':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:775: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:777: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:779: undefined reference to `__imp___ZN11QDataStream25setFloatingPointPrecisionENS_22FloatingPointPrecisionE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:779: undefined reference to `__imp___ZN11QDataStreamrsERf'
                      .obj/release/qddshandler.o: In function `readFloat32':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:686: undefined reference to `__imp___ZNK11QDataStream22floatingPointPrecisionEv'
                      .obj/release/qddshandler.o: In function `readR8G8B8G8':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1030: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1032: undefined reference to `__imp___ZN11QDataStreamrsERa'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1041: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)1>':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:528: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o: In function `readL6V5U5':
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:914: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                      C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:917: undefined reference to `__imp___ZN6QImage8scanLineEi'
                      .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:384: undefined reference to `__imp___ZN11QDataStreamrsERs'
                      .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)6>':
                      
                      
                      1 Reply Last reply
                      0
                      • B Bonnie

                        @Matthieuzone Hi, I tried 5.15.0 and didn't get any error.
                        Can you post the full output like this? (run "qmake -v" first to show the Qt version) [ADDED] also run "mingw32-make -v" please

                        Setting up environment for Qt usage...
                        
                        D:\Qt\5.15.0\mingw81_64>qmake -v
                        QMake version 3.1
                        Using Qt version 5.15.0 in D:/Qt/5.15.0/mingw81_64/lib
                        
                        D:\Qt\5.15.0\mingw81_64>cd D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds
                        
                        D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>qmake
                        Info: creating stash file D:\Qt\5.15.0\Src\qtimageformats\.qmake.stash
                        
                        D:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds>mingw32-make install
                        mingw32-make -f Makefile.Release install
                        mingw32-make[1]: Entering directory 'D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                        g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\ddsheader.o ddsheader.cpp
                        g++ -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -dM -E -o .moc\release\moc_predefs.h D:\Qt\5.15.0\mingw81_64\mkspecs\features\data\dummy.cpp
                        D:\Qt\5.15.0\mingw81_64\bin\moc.exe -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB --include D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds/.moc/release/moc_predefs.h -ID:/Qt/5.15.0/mingw81_64/mkspecs/win32-g++ -ID:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds -ID:/Qt/5.15.0/mingw81_64/include -ID:/Qt/5.15.0/mingw81_64/include/QtGui -ID:/Qt/5.15.0/mingw81_64/include/QtANGLE -ID:/Qt/5.15.0/mingw81_64/include/QtCore -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++ -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/x86_64-w64-mingw32 -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/backward -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include -ID:/Qt/Tools/mingw810_64/lib/gcc/x86_64-w64-mingw32/8.1.0/include-fixed -ID:/Qt/Tools/mingw810_64/x86_64-w64-mingw32/include main.cpp -o .moc\release\main.moc
                        g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\main.o main.cpp
                        main.cpp: In member function 'virtual QImageIOPlugin::Capabilities QDDSPlugin::capabilities(QIODevice*, const QByteArray&) const':
                        main.cpp:65:16: warning: 'constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QImageIOPlugin::Capability; QFlags<T>::Zero = int QFlags<QImageIOPlugin::Capability>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
                                 return 0;
                                        ^
                        In file included from D:\Qt\5.15.0\mingw81_64\include/QtCore/qglobal.h:1302,
                                         from D:\Qt\5.15.0\mingw81_64\include/QtGui/qtguiglobal.h:43,
                                         from D:\Qt\5.15.0\mingw81_64\include/QtGui/qimageiohandler.h:43,
                                         from main.cpp:41:
                        D:\Qt\5.15.0\mingw81_64\include/QtCore/qflags.h:123:80: note: declared here
                             QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
                                                                                                        ^~~~~~
                        main.cpp:67:16: warning: 'constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QImageIOPlugin::Capability; QFlags<T>::Zero = int QFlags<QImageIOPlugin::Capability>::Private::*]' is deprecated: Use default constructor instead [-Wdeprecated-declarations]
                                 return 0;
                                        ^
                        In file included from D:\Qt\5.15.0\mingw81_64\include/QtCore/qglobal.h:1302,
                                         from D:\Qt\5.15.0\mingw81_64\include/QtGui/qtguiglobal.h:43,
                                         from D:\Qt\5.15.0\mingw81_64\include/QtGui/qimageiohandler.h:43,
                                         from main.cpp:41:
                        D:\Qt\5.15.0\mingw81_64\include/QtCore/qflags.h:123:80: note: declared here
                             QT_DEPRECATED_X("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
                                                                                                        ^~~~~~
                        g++ -c -fno-keep-inline-dllexport -O2 -g -std=c++1z -fno-exceptions -Wall -Wextra -Wextra -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -Wno-stringop-overflow -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB -I. -ID:\Qt\5.15.0\mingw81_64\include -ID:\Qt\5.15.0\mingw81_64\include\QtGui -ID:\Qt\5.15.0\mingw81_64\include\QtANGLE -ID:\Qt\5.15.0\mingw81_64\include\QtCore -I.moc\release -I/include -IC:\openssl\include -IC:\Utils\my_sql\mysql-5.7.25-winx64\include -IC:\Utils\postgresql\pgsql\include -ID:\Qt\5.15.0\mingw81_64\mkspecs\win32-g++  -o .obj\release\qddshandler.o qddshandler.cpp
                        windres -i qdds_resource.rc -o .obj\release\qdds_resource_res.o --include-dir=. -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 -DQT_NO_LINKED_LIST -DQT_NO_FOREACH -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_DEPRECATED_WARNINGS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_PLUGIN -DQT_GUI_LIB -DQT_CORE_LIB
                        g++ -shared -Wl,-subsystem,windows -Wl,--out-implib,D:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\libqdds.a -o ..\..\..\..\plugins\imageformats\qdds.dll .obj/release/ddsheader.o .obj/release/main.o .obj/release/qddshandler.o  -LC:\openssl\lib -LC:\Utils\my_sql\mysql-5.7.25-winx64\lib -LC:\Utils\postgresql\pgsql\lib D:\Qt\5.15.0\mingw81_64\lib\libQt5Gui.a D:\Qt\5.15.0\mingw81_64\lib\libQt5Core.a .obj\release\qdds_resource_res.o
                        objcopy --only-keep-debug ../../../../plugins/imageformats/qdds.dll ../../../../plugins/imageformats/qdds.dll.debug && objcopy --strip-debug ../../../../plugins/imageformats/qdds.dll && objcopy --add-gnu-debuglink=../../../../plugins/imageformats/qdds.dll.debug ../../../../plugins/imageformats/qdds.dll
                        D:\Qt\5.15.0\mingw81_64\bin\qmake.exe -install qinstall D:\Qt\5.15.0\Src\qtimageformats\plugins\imageformats\qdds.dll.debug D:\Qt\5.15.0\mingw81_64\plugins\imageformats\qdds.dll.debug
                        copy /y ..\..\..\..\plugins\imageformats\qdds.dll D:\Qt\5.15.0\mingw81_64\plugins\imageformats\qdds.dll
                        已复制         1 个文件。
                        D:\Qt\5.15.0\mingw81_64\bin\qmake.exe -install qinstall D:\Qt\5.15.0\Src\qtimageformats\lib\cmake\Qt5Gui\Qt5Gui_QDDSPlugin.cmake D:\Qt\5.15.0\mingw81_64\lib\cmake\Qt5Gui\Qt5Gui_QDDSPlugin.cmake
                        mingw32-make[1]: Leaving directory 'D:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                        
                        M Offline
                        M Offline
                        Matthieuzone
                        wrote on last edited by
                        #11

                        @Bonnie

                        
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)4>':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        .obj/release/qddshandler.o: In function `readPalette8Image':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:833: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:833: undefined reference to `__imp___ZN11QDataStreamrsERa'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:833: undefined reference to `__imp___ZN6QImage8setColorEij'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:840: undefined reference to `__imp___ZN6QImage8setPixelEiij'
                        .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)2>':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        .obj/release/qddshandler.o: In function `readRG32F':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:759: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:761: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:763: undefined reference to `__imp___ZN11QDataStream25setFloatingPointPrecisionENS_22FloatingPointPrecisionE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:763: undefined reference to `__imp___ZN11QDataStreamrsERf'
                        .obj/release/qddshandler.o: In function `readFloat32':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:686: undefined reference to `__imp___ZNK11QDataStream22floatingPointPrecisionEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:686: undefined reference to `__imp___ZNK11QDataStream22floatingPointPrecisionEv'
                        .obj/release/qddshandler.o: In function `readRG16F':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:710: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:712: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        .obj/release/qddshandler.o: In function `readPalette4Image':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:853: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:853: undefined reference to `__imp___ZN11QDataStreamrsERa'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:853: undefined reference to `__imp___ZN6QImage8setColorEij'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:862: undefined reference to `__imp___ZN6QImage8setPixelEiij'
                        .obj/release/qddshandler.o: In function `readQ8W8V8U8':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:949: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:953: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:957: undefined reference to `__imp___ZN11QDataStreamrsERa'
                        .obj/release/qddshandler.o: In function `getNormalZ':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:350: undefined reference to `_sqrt'
                        .obj/release/qddshandler.o: In function `readCxV8U8':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:350: undefined reference to `_sqrt'
                        .obj/release/qddshandler.o: In function `QDDSHandler::QDDSHandler()':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1381: undefined reference to `__imp___ZN15QImageIOHandlerC2Ev'
                        .obj/release/qddshandler.o: In function `QDDSHandler::canRead(QIODevice*)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1540: undefined reference to `__imp___ZN9QIODevice4peekEx'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::canRead(QIODevice*)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1533: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::canRead(QIODevice*)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1533: undefined reference to `__imp___ZN6QDebugD1Ev'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o: In function `QDDSHandler::canRead() const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1391: undefined reference to `__imp___ZNK15QImageIOHandler9setFormatERK10QByteArray'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1387: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1595: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:152: undefined reference to `__imp___ZN11QTextStreamlsEj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1589: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:152: undefined reference to `__imp___ZN11QTextStreamlsEj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1607: undefined reference to `__imp___ZN6QDebugD1Ev'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1607: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1601: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:152: undefined reference to `__imp___ZN11QTextStreamlsEj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1553: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1561: undefined reference to `__imp___ZN11QDataStreamC1EP9QIODevice'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1562: undefined reference to `__imp___ZN11QDataStream12setByteOrderENS_9ByteOrderE'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1569: undefined reference to `__imp___ZNK11QDataStream6statusEv'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1561: undefined reference to `__imp___ZN11QDataStreamD1Ev'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1554: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1554: undefined reference to `__imp___ZN6QDebugD1Ev'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o: In function `QDDSHandler::option(QImageIOHandler::ImageOption) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1484: undefined reference to `__imp___ZN8QVariantC1ERK5QSize'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:160: undefined reference to `__imp___ZN9QListData11shared_nullE'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qvariant.h:371: undefined reference to `__imp___ZN8QVariantC1EiPKvj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::option(QImageIOHandler::ImageOption) const':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1486: undefined reference to `__imp___ZN8QVariantC1ERK10QByteArray'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:643: undefined reference to `__imp___ZN9QListData6appendEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o: In function `QDDSHandler::read(QImage*)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1400: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1406: undefined reference to `__imp___ZN11QDataStreamC1EP9QIODevice'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1407: undefined reference to `__imp___ZN11QDataStream12setByteOrderENS_9ByteOrderE'
                        .obj/release/qddshandler.o: In function `readCubeMap':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1330: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1332: undefined reference to `__imp___ZN6QImage4fillEj'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1332: undefined reference to `__imp___ZN6QImageD1Ev'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1346: undefined reference to `__imp___ZNK6QImage8scanLineEi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1347: undefined reference to `__imp___ZN6QImage8scanLineEi'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1348: undefined reference to `_memcpy'
                        .obj/release/qddshandler.o: In function `readTexture':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1220: undefined reference to `__imp___ZN6QImageD1Ev'
                        .obj/release/qddshandler.o: In function `QDDSHandler::read(QImage*)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1413: undefined reference to `__imp___ZNK11QDataStream6statusEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1406: undefined reference to `__imp___ZN11QDataStreamD1Ev'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1413: undefined reference to `__imp___ZNK6QImage6isNullEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1415: undefined reference to `__imp___ZN6QImageaSERKS_'
                        .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1422: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:166: undefined reference to `__imp___ZN6QDebug12putByteArrayEPKcjNS_13Latin1ContentE'
                        .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1422: undefined reference to `__imp___ZN6QDebugD1Ev'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtGui/qimage.h:184: undefined reference to `__imp___ZNK6QImage22convertToFormat_helperENS_6FormatE6QFlagsIN2Qt19ImageConversionFlagEE'
                        .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1428: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1428: undefined reference to `__imp___ZN11QDataStreamC1EP9QIODevice'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1429: undefined reference to `__imp___ZN11QDataStream12setByteOrderENS_9ByteOrderE'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1437: undefined reference to `__imp___ZNK6QImage6heightEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1438: undefined reference to `__imp___ZNK6QImage5widthEv'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1463: undefined reference to `__imp___ZNK6QImage5pixelEii'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:399: undefined reference to `__imp___ZN11QDataStreamlsEi'
                        .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1428: undefined reference to `__imp___ZN11QDataStreamD1Ev'
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1426: undefined reference to `__imp___ZN6QImageD1Ev'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                        .obj/release/qddshandler.o: In function `QDDSHandler::~QDDSHandler()':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.h:51: undefined reference to `__imp___ZN15QImageIOHandlerD2Ev'
                        .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.h:51: undefined reference to `__imp___ZN15QImageIOHandlerD2Ev'
                        .obj/release/qddshandler.o: In function `QDDSHandler::~QDDSHandler()':
                        C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.h:51: undefined reference to `__ZdlPvj'
                        .obj/release/qddshandler.o: In function `QList<QByteArray>::detach_helper_grow(int, int)':
                        C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:803: undefined reference to `__imp___ZN9QListData11detach_growEPii'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTI15QImageIOHandler[__ZTI15QImageIOHandler]+0x0): undefined reference to `__ZTVN10__cxxabiv117__class_type_infoE'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTI11QDDSHandler[__ZTI11QDDSHandler]+0x0): undefined reference to `__ZTVN10__cxxabiv120__si_class_type_infoE'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x10): undefined reference to `__ZNK15QImageIOHandler4nameEv'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x2c): undefined reference to `__ZN15QImageIOHandler15jumpToNextImageEv'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x34): undefined reference to `__ZNK15QImageIOHandler9loopCountEv'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x3c): undefined reference to `__ZNK15QImageIOHandler14nextImageDelayEv'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x40): undefined reference to `__ZNK15QImageIOHandler18currentImageNumberEv'
                        .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x44): undefined reference to `__ZNK15QImageIOHandler16currentImageRectEv'
                        collect2.exe: error: ld returned 1 exit status
                        mingw32-make[1]: *** [Makefile.Release:75: ../../../../plugins/imageformats/qdds.dll] Error 1
                        mingw32-make[1]: Leaving directory 'C:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                        mingw32-make: *** [Makefile:55: release-install] Error 2
                        
                        B 1 Reply Last reply
                        0
                        • M Matthieuzone

                          @Bonnie

                          
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)4>':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          .obj/release/qddshandler.o: In function `readPalette8Image':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:833: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:833: undefined reference to `__imp___ZN11QDataStreamrsERa'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:833: undefined reference to `__imp___ZN6QImage8setColorEij'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:840: undefined reference to `__imp___ZN6QImage8setPixelEiij'
                          .obj/release/qddshandler.o: In function `readDXT<(DXTVersions)2>':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:507: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERs'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:510: undefined reference to `__imp___ZN11QDataStreamrsERx'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:527: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          .obj/release/qddshandler.o: In function `readRG32F':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:759: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:761: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:763: undefined reference to `__imp___ZN11QDataStream25setFloatingPointPrecisionENS_22FloatingPointPrecisionE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:763: undefined reference to `__imp___ZN11QDataStreamrsERf'
                          .obj/release/qddshandler.o: In function `readFloat32':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:686: undefined reference to `__imp___ZNK11QDataStream22floatingPointPrecisionEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:686: undefined reference to `__imp___ZNK11QDataStream22floatingPointPrecisionEv'
                          .obj/release/qddshandler.o: In function `readRG16F':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:710: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:712: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          .obj/release/qddshandler.o: In function `readPalette4Image':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:853: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:853: undefined reference to `__imp___ZN11QDataStreamrsERa'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:853: undefined reference to `__imp___ZN6QImage8setColorEij'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:862: undefined reference to `__imp___ZN6QImage8setPixelEiij'
                          .obj/release/qddshandler.o: In function `readQ8W8V8U8':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:949: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:953: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:957: undefined reference to `__imp___ZN11QDataStreamrsERa'
                          .obj/release/qddshandler.o: In function `getNormalZ':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:350: undefined reference to `_sqrt'
                          .obj/release/qddshandler.o: In function `readCxV8U8':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:350: undefined reference to `_sqrt'
                          .obj/release/qddshandler.o: In function `QDDSHandler::QDDSHandler()':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1381: undefined reference to `__imp___ZN15QImageIOHandlerC2Ev'
                          .obj/release/qddshandler.o: In function `QDDSHandler::canRead(QIODevice*)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1540: undefined reference to `__imp___ZN9QIODevice4peekEx'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::canRead(QIODevice*)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1533: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::canRead(QIODevice*)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1533: undefined reference to `__imp___ZN6QDebugD1Ev'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o: In function `QDDSHandler::canRead() const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1391: undefined reference to `__imp___ZNK15QImageIOHandler9setFormatERK10QByteArray'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1387: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1595: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:152: undefined reference to `__imp___ZN11QTextStreamlsEj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1589: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:152: undefined reference to `__imp___ZN11QTextStreamlsEj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1607: undefined reference to `__imp___ZN6QDebugD1Ev'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1607: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o: In function `QDDSHandler::verifyHeader(DDSHeader const&) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1601: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:152: undefined reference to `__imp___ZN11QTextStreamlsEj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1553: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1561: undefined reference to `__imp___ZN11QDataStreamC1EP9QIODevice'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1562: undefined reference to `__imp___ZN11QDataStream12setByteOrderENS_9ByteOrderE'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1569: undefined reference to `__imp___ZNK11QDataStream6statusEv'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1561: undefined reference to `__imp___ZN11QDataStreamD1Ev'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1554: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1554: undefined reference to `__imp___ZN6QDebugD1Ev'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o: In function `QDDSHandler::option(QImageIOHandler::ImageOption) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1484: undefined reference to `__imp___ZN8QVariantC1ERK5QSize'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:160: undefined reference to `__imp___ZN9QListData11shared_nullE'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qvariant.h:371: undefined reference to `__imp___ZN8QVariantC1EiPKvj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::option(QImageIOHandler::ImageOption) const':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1486: undefined reference to `__imp___ZN8QVariantC1ERK10QByteArray'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:643: undefined reference to `__imp___ZN9QListData6appendEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o: In function `QDDSHandler::read(QImage*)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1400: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1406: undefined reference to `__imp___ZN11QDataStreamC1EP9QIODevice'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1407: undefined reference to `__imp___ZN11QDataStream12setByteOrderENS_9ByteOrderE'
                          .obj/release/qddshandler.o: In function `readCubeMap':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1330: undefined reference to `__imp___ZN6QImageC1EiiNS_6FormatE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1332: undefined reference to `__imp___ZN6QImage4fillEj'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1332: undefined reference to `__imp___ZN6QImageD1Ev'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1346: undefined reference to `__imp___ZNK6QImage8scanLineEi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1347: undefined reference to `__imp___ZN6QImage8scanLineEi'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1348: undefined reference to `_memcpy'
                          .obj/release/qddshandler.o: In function `readTexture':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1220: undefined reference to `__imp___ZN6QImageD1Ev'
                          .obj/release/qddshandler.o: In function `QDDSHandler::read(QImage*)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1413: undefined reference to `__imp___ZNK11QDataStream6statusEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1406: undefined reference to `__imp___ZN11QDataStreamD1Ev'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1413: undefined reference to `__imp___ZNK6QImage6isNullEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1415: undefined reference to `__imp___ZN6QImageaSERKS_'
                          .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1422: undefined reference to `__imp___ZNK14QMessageLogger7warningEv'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qstring.h:701: undefined reference to `__imp___ZN7QString15fromUtf8_helperEPKci'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:159: undefined reference to `__imp___ZN11QTextStreamlsERK7QString'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:166: undefined reference to `__imp___ZN6QDebug12putByteArrayEPKcjNS_13Latin1ContentE'
                          .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1422: undefined reference to `__imp___ZN6QDebugD1Ev'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qarraydata.h:239: undefined reference to `__imp___ZN10QArrayData10deallocateEPS_jj'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtGui/qimage.h:184: undefined reference to `__imp___ZNK6QImage22convertToFormat_helperENS_6FormatE6QFlagsIN2Qt19ImageConversionFlagEE'
                          .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1428: undefined reference to `__imp___ZNK15QImageIOHandler6deviceEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1428: undefined reference to `__imp___ZN11QDataStreamC1EP9QIODevice'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1429: undefined reference to `__imp___ZN11QDataStream12setByteOrderENS_9ByteOrderE'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1437: undefined reference to `__imp___ZNK6QImage6heightEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1438: undefined reference to `__imp___ZNK6QImage5widthEv'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1463: undefined reference to `__imp___ZNK6QImage5pixelEii'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdatastream.h:399: undefined reference to `__imp___ZN11QDataStreamlsEi'
                          .obj/release/qddshandler.o: In function `QDDSHandler::write(QImage const&)':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1428: undefined reference to `__imp___ZN11QDataStreamD1Ev'
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.cpp:1426: undefined reference to `__imp___ZN6QImageD1Ev'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o:C:/Qt/5.15.0/mingw81_64/include/QtCore/qdebug.h:129: undefined reference to `__imp___ZN11QTextStreamlsEc'
                          .obj/release/qddshandler.o: In function `QDDSHandler::~QDDSHandler()':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.h:51: undefined reference to `__imp___ZN15QImageIOHandlerD2Ev'
                          .obj/release/qddshandler.o:C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.h:51: undefined reference to `__imp___ZN15QImageIOHandlerD2Ev'
                          .obj/release/qddshandler.o: In function `QDDSHandler::~QDDSHandler()':
                          C:\Qt\5.15.0\Src\qtimageformats\src\plugins\imageformats\dds/qddshandler.h:51: undefined reference to `__ZdlPvj'
                          .obj/release/qddshandler.o: In function `QList<QByteArray>::detach_helper_grow(int, int)':
                          C:/Qt/5.15.0/mingw81_64/include/QtCore/qlist.h:803: undefined reference to `__imp___ZN9QListData11detach_growEPii'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTI15QImageIOHandler[__ZTI15QImageIOHandler]+0x0): undefined reference to `__ZTVN10__cxxabiv117__class_type_infoE'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTI11QDDSHandler[__ZTI11QDDSHandler]+0x0): undefined reference to `__ZTVN10__cxxabiv120__si_class_type_infoE'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x10): undefined reference to `__ZNK15QImageIOHandler4nameEv'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x2c): undefined reference to `__ZN15QImageIOHandler15jumpToNextImageEv'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x34): undefined reference to `__ZNK15QImageIOHandler9loopCountEv'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x3c): undefined reference to `__ZNK15QImageIOHandler14nextImageDelayEv'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x40): undefined reference to `__ZNK15QImageIOHandler18currentImageNumberEv'
                          .obj/release/qddshandler.o:qddshandler.cpp:(.rdata$_ZTV11QDDSHandler[__ZTV11QDDSHandler]+0x44): undefined reference to `__ZNK15QImageIOHandler16currentImageRectEv'
                          collect2.exe: error: ld returned 1 exit status
                          mingw32-make[1]: *** [Makefile.Release:75: ../../../../plugins/imageformats/qdds.dll] Error 1
                          mingw32-make[1]: Leaving directory 'C:/Qt/5.15.0/Src/qtimageformats/src/plugins/imageformats/dds'
                          mingw32-make: *** [Makefile:55: release-install] Error 2
                          
                          B Offline
                          B Offline
                          Bonnie
                          wrote on last edited by
                          #12

                          @Matthieuzone Your qmake does not has output because you already run it, so it won't create new stash file, that doesn't matter.
                          But your mingw32-make output only has the link part.
                          Run "mingw32-make clean" first to clean the compiled files, then "mingw32-make install" again.

                          M 1 Reply Last reply
                          4
                          • B Bonnie

                            @Matthieuzone Your qmake does not has output because you already run it, so it won't create new stash file, that doesn't matter.
                            But your mingw32-make output only has the link part.
                            Run "mingw32-make clean" first to clean the compiled files, then "mingw32-make install" again.

                            M Offline
                            M Offline
                            Matthieuzone
                            wrote on last edited by
                            #13

                            @Bonnie
                            Thank you very much, it worked perfectly.

                            1 Reply Last reply
                            1

                            • Login

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