Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
5.10.0
-
None
-
Host OS: Fedora 27 64bit
MinGW 7.2.0
configure arguments:
-prefix /mnt/d/Qt/5.10.0/mingw32 -xplatform win32-g++ -device-option CROSS_COMPILE=i686-w64-mingw32- -shared -opensource -release -nomake examples -no-direct2d -qt-zlib -qt-pcre -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -sql-mysql -sql-oci -I /mnt/d/distr/mysql-5.7.20-win32/include -L /mnt/d/distr/mysql-5.7.20-win32/lib -I /mnt/d/distr/oracle_12c_oci_devel/win32/include -L /mnt/d/distr/oracle_12c_oci_devel/win32/lib/msvcHost OS: Fedora 27 64bit MinGW 7.2.0 configure arguments: -prefix /mnt/d/Qt/5.10.0/mingw32 -xplatform win32-g++ -device-option CROSS_COMPILE=i686-w64-mingw32- -shared -opensource -release -nomake examples -no-direct2d -qt-zlib -qt-pcre -qt-freetype -qt-harfbuzz -qt-libpng -qt-libjpeg -sql-mysql -sql-oci -I /mnt/d/distr/mysql-5.7.20-win32/include -L /mnt/d/distr/mysql-5.7.20-win32/lib -I /mnt/d/distr/oracle_12c_oci_devel/win32/include -L /mnt/d/distr/oracle_12c_oci_devel/win32/lib/msvc
Description
I'm trying to build Qt 5.10.0 for Windows from Linux using MinGW. I get an error when building pcre (Qt provided) due to this in qtbase/src/3rdparty/pcre2/Makefile.Release:
$(DESTDIR_TARGET): $(OBJECTS) -$(DEL_FILE) $(DESTDIR_TARGET) 2>/dev/null $(OBJECTS)
The last line should be linking the library but it's obviously wrong - it just tries to execute object files (which makes no sense and fails).
Attachments
Issue Links
- duplicates
-
QTBUG-63637 Cross compilation on Linux targeting MinGW is broken
- Closed