Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-79748

MinGW can't link qminimald.dll (MSYS2 with fontconfig)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P4: Low
    • 5.14.0 RC1, 5.14.1
    • 5.13.2
    • Build System
    • None
    • Windows
    • 5d1af4f0be0815778aa4f9c3e32a432d9989613b (qt/qtbase/5.14)

    Description

       

      g++ -shared -Wl,-subsystem,windows -Wl,--out-implib,C:\Qt\5.13.2-mingw-build\qtbase\plugins\platforms\libqminimald.a -o ..\..\..\..\plugins\platforms\qminimald.dll .obj/debug/main.o .obj/debug/qminimalintegration.o .obj/debug/qminimalbackingstore.o C:\Qt\5.13.2-mingw-build\qtbase\lib\libQt5EventDispatcherSupportd.a C:\Qt\5.13.2-mingw-build\qtbase\lib\libQt5FontDatabaseSupportd.a -lole32 -lgdi32 -luser32 -ladvapi32 -luuid C:\msys64\mingw64\lib\libfreetype.dll.a C:\msys64\mingw64\lib\libz.dll.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libdwrite.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libd2d1.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libglu32.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libopengl32.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libgdi32.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libuser32.a C:\Qt\5.13.2-mingw-build\qtbase\lib\libQt5Guid.a C:\Qt\5.13.2-mingw-build\qtbase\lib\libQt5Cored.a .obj\debug\qminimald_resource_res.o C:\msys64\mingw64\lib\libfreetype.dll.a C:\msys64\mingw64\lib\libz.dll.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libglu32.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libopengl32.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libgdi32.a C:\msys64\mingw64\x86_64-w64-mingw32\lib\libuser32.a
      C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: .obj/debug/qminimalintegration.o:qminimalintegration.cpp:(.rdata$.refptr._ZTV19QFontconfigDatabase[.refptr._ZTV19QFontconfigDatabase]+0x0): undefined reference to `vtable for QFontconfigDatabase'
      collect2.exe: error: ld returned 1 exit status

      Modifying fontdatabases.pro to move the fontconfig block out of the unix block fixes that.

       

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              jbornema Joerg Bornemann
              a.khlyustov a.khlyustov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes