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

QtWinExtras crosscompile build fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.12.6, 5.13.0, 5.13.1, 5.13.2
    • None
    • Linux/Wayland, Linux/X11, Linux/Other display system

    Description

      I am trying to build qt using cross-platform compilers. But I can not build qtWinExtras
      I attached configuration logs to the task.

      build log :

      andrei@xenon:/media/D/own/qt5$ make -j8 | grep extras
      cd qtx11extras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtx11extras/qtx11extras.pro ) && make -f Makefile
      cd qtandroidextras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtandroidextras/qtandroidextras.pro ) && make -f Makefile
      cd qtmacextras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtmacextras/qtmacextras.pro ) && make -f Makefile
      make[1]: Entering directory '/media/D/own/qt5/qtandroidextras'
      cd src/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtandroidextras/src/src.pro ) && make -f Makefile
      make[1]: Entering directory '/media/D/own/qt5/qtmacextras'
      cd src/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtmacextras/src/src.pro ) && make -f Makefile
      make[1]: Entering directory '/media/D/own/qt5/qtx11extras'
      cd src/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtx11extras/src/src.pro ) && make -f Makefile
      make[2]: Entering directory '/media/D/own/qt5/qtandroidextras/src'
      make[3]: Entering directory '/media/D/own/qt5/qtandroidextras/src'
      make[3]: Leaving directory '/media/D/own/qt5/qtandroidextras/src'
      make[2]: Leaving directory '/media/D/own/qt5/qtandroidextras/src'
      make[1]: Leaving directory '/media/D/own/qt5/qtandroidextras'
      make[2]: Entering directory '/media/D/own/qt5/qtmacextras/src'
      make[3]: Entering directory '/media/D/own/qt5/qtmacextras/src'
      make[3]: Leaving directory '/media/D/own/qt5/qtmacextras/src'
      make[2]: Leaving directory '/media/D/own/qt5/qtmacextras/src'
      make[1]: Leaving directory '/media/D/own/qt5/qtmacextras'
      make[2]: Entering directory '/media/D/own/qt5/qtx11extras/src'
      make[2]: Leaving directory '/media/D/own/qt5/qtx11extras/src'
      make[1]: Leaving directory '/media/D/own/qt5/qtx11extras'
      cd extras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtquickcontrols/src/extras/extras.pro ) && make -f Makefile
      cd extras/Styles/ && ( test -e Makefile.styles || /media/D/own/qt5/qtbase/bin/qmake -o Makefile.styles /media/D/own/qt5/qtquickcontrols/src/extras/Styles/styles.pro ) && make -f Makefile.styles
      make[3]: Entering directory '/media/D/own/qt5/qtquickcontrols/src/extras'
      make[4]: Entering directory '/media/D/own/qt5/qtquickcontrols/src/extras'
      make[4]: Leaving directory '/media/D/own/qt5/qtquickcontrols/src/extras'
      make[3]: Leaving directory '/media/D/own/qt5/qtquickcontrols/src/extras'
      make[3]: Entering directory '/media/D/own/qt5/qtquickcontrols/src/extras/Styles'
      cd Flat/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtquickcontrols/src/extras/Styles/Flat/Flat.pro ) && make -f Makefile
      Makefile.Release:4611: warning: overriding recipe for target '../../qml/QtQuick/Controls/qmldir'
      Makefile.Release:4608: warning: ignoring old recipe for target '../../qml/QtQuick/Controls/qmldir'
      make[4]: Entering directory '/media/D/own/qt5/qtquickcontrols/src/extras/Styles/Flat'
      make[5]: Entering directory '/media/D/own/qt5/qtquickcontrols/src/extras/Styles/Flat'
      make[5]: Leaving directory '/media/D/own/qt5/qtquickcontrols/src/extras/Styles/Flat'
      make[4]: Leaving directory '/media/D/own/qt5/qtquickcontrols/src/extras/Styles/Flat'
      make[3]: Leaving directory '/media/D/own/qt5/qtquickcontrols/src/extras/Styles'
      cd qtwinextras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtwinextras/qtwinextras.pro ) && make -f Makefile
      make[1]: Entering directory '/media/D/own/qt5/qtwinextras'
      cd src/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtwinextras/src/src.pro ) && make -f Makefile
      make[2]: Entering directory '/media/D/own/qt5/qtwinextras/src'
      cd winextras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qtwinextras/src/winextras/winextras.pro ) && make -f Makefile
      make[3]: Entering directory '/media/D/own/qt5/qtwinextras/src/winextras'
      make[4]: Entering directory '/media/D/own/qt5/qtwinextras/src/winextras'
      x86_64-w64-mingw32-g++ Wl,-s -shared -Wl,-subsystem,windows -Wl,-out-implib,/media/D/own/qt5/qtwinextras/lib/libQt5WinExtras.a -o ../../lib/Qt5WinExtras.dll .obj/release/qwinfunctions.o .obj/release/qwintaskbarbutton.o .obj/release/qwintaskbarprogress.o .obj/release/windowsguidsdefs.o .obj/release/qwinjumplist.o .obj/release/qwinjumplistcategory.o .obj/release/qwinjumplistitem.o .obj/release/qwineventfilter.o .obj/release/qwinthumbnailtoolbar.o .obj/release/qwinthumbnailtoolbutton.o .obj/release/qwinevent.o .obj/release/qwinmime.o .obj/release/moc_qwintaskbarprogress.o .obj/release/moc_qwinthumbnailtoolbutton.o /media/D/own/qt5/qtbase/lib/libQt5Gui.a /media/D/own/qt5/qtbase/lib/libQt5Core.a .obj/release/Qt5WinExtras_resource_res.o -lole32 -lshlwapi -lshell32 -ldwmapi /usr/x86_64-w64-mingw32/lib/libglu32.a /usr/x86_64-w64-mingw32/lib/libopengl32.a /usr/x86_64-w64-mingw32/lib/libgdi32.a /usr/x86_64-w64-mingw32/lib/libuser32.a
      .obj/release/qwinthumbnailtoolbar.o:qwinthumbnailtoolbar.cpp.text+0x8f4): undefined reference to `DwmInvalidateIconicBitmaps'
      .obj/release/qwinthumbnailtoolbar.o:qwinthumbnailtoolbar.cpp.text+0x1b4d): undefined reference to `DwmSetIconicThumbnail'
      .obj/release/qwinthumbnailtoolbar.o:qwinthumbnailtoolbar.cpp.text+0x1c5f): undefined reference to `DwmSetIconicLivePreviewBitmap'
      collect2: error: ld returned 1 exit status
      make[4]: *** [../../lib/Qt5WinExtras.dll] Error 1
      make[4]: Leaving directory '/media/D/own/qt5/qtwinextras/src/winextras'
      make[3]: *** [release] Error 2
      make[3]: Leaving directory '/media/D/own/qt5/qtwinextras/src/winextras'
      make[2]: *** [sub-winextras-make_first-ordered] Error 2
      Makefile:43: recipe for target 'sub-winextras-make_first-ordered' failed
      make[2]: Leaving directory '/media/D/own/qt5/qtwinextras/src'
      make[1]: *** [sub-src-make_first] Error 2
      make[1]: Leaving directory '/media/D/own/qt5/qtwinextras'
      make: *** [module-qtwinextras-make_first] Error 2
      make: *** Waiting for unfinished jobs....
      Makefile:886: recipe for target 'module-qtwinextras-make_first' failed
      cd extras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qt3d/src/extras/extras.pro ) && make -f Makefile
      make[3]: Entering directory '/media/D/own/qt5/qt3d/src/extras'
      make[4]: Entering directory '/media/D/own/qt5/qt3d/src/extras'
      make[4]: Leaving directory '/media/D/own/qt5/qt3d/src/extras'
      make[3]: Leaving directory '/media/D/own/qt5/qt3d/src/extras'
      cd quick3d/quick3dextras/ && ( test -e Makefile || /media/D/own/qt5/qtbase/bin/qmake -o Makefile /media/D/own/qt5/qt3d/src/quick3d/quick3dextras/quick3dextras.pro ) && make -f Makefile
      make[3]: Entering directory '/media/D/own/qt5/qt3d/src/quick3d/quick3dextras'
      make[4]: Entering directory '/media/D/own/qt5/qt3d/src/quick3d/quick3dextras'
      make[4]: Leaving directory '/media/D/own/qt5/qt3d/src/quick3d/quick3dextras'
      make[3]: Leaving directory '/media/D/own/qt5/qt3d/src/quick3d/quick3dextras'
      cd quick3d/imports/extras/ && ( test -e Makefile.importsextras || /media/D/own/qt5/qtbase/bin/qmake -o Makefile.importsextras /media/D/own/qt5/qt3d/src/quick3d/imports/extras/importsextras.pro ) && make -f Makefile.importsextras
      make[3]: Entering directory '/media/D/own/qt5/qt3d/src/quick3d/imports/extras'
      make -f Makefile.importsextras.Release
      make[4]: Entering directory '/media/D/own/qt5/qt3d/src/quick3d/imports/extras'
      make[4]: Leaving directory '/media/D/own/qt5/qt3d/src/quick3d/imports/extras'
      make[3]: Leaving directory '/media/D/own/qt5/qt3d/src/quick3d/imports/extras'

      Attachments

        1. config.cache
          66 kB
        2. config.log
          59 kB
        3. config.opt
          0.5 kB
        4. config.summary
          9 kB

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              endrii Andrei Yankovich
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes