Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. 5.12.4 cross-build with mingw
Qt 6.12 LTS is out! See what's new in the release blog

5.12.4 cross-build with mingw

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 1 Posters 458 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.
  • T Offline
    T Offline
    thesourcehim
    wrote on last edited by
    #1

    I have the following error linking Qt with EGL and GLES libraries:
    x86_64-w64-mingw32-g++ -Wl,-s -shared -Wl,-subsystem,windows -Wl,--out-implib,/mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/libQt5Gui.a -o ../../lib/Qt5Gui.dll @object_script.Qt5Gui.Release -L/mnt/d/distr/mysql-5.7.26-winx64/lib -L/mnt/d/distr/oracle_12c_oci_devel/winx64/lib/msvc /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/liblibEGL.a /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/liblibGLESv2.a -lgdi32 -luser32 /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/libQt5Core.a .obj/release/Qt5Gui_resource_res.o /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/libqtlibpng.a -L/mnt/d/distr/mysql-5.7.26-winx64/lib -L/mnt/d/distr/oracle_12c_oci_devel/winx64/lib/msvc /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/libQt5Core.a /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/libqtharfbuzz.a -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -luser32 -ladvapi32
    x86_64-w64-mingw32-g++: error: /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/liblibEGL.a: No such file or directory
    x86_64-w64-mingw32-g++: error: /mnt/d/distr/qt-everywhere-src-5.12.4/qtbase/lib/liblibGLESv2.a: No such file or directory

    /mnt/d/distr/qt-everywhere-src-5.12.4 is where source code is located, why would build script look for gl libraries there (instead of mingw sysroot) and why with strange names? There was no such problem with 5.12.2.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      thesourcehim
      wrote on last edited by
      #2

      It seems that script tries to link against bundled angle even if it is not enabled.

      1 Reply Last reply
      0

      • Login

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