Google+ ZACARÉS: qmake

Translate

Showing posts with label qmake. Show all posts
Showing posts with label qmake. Show all posts

2013/11/14

[#solved] #Build #Qt5.1.1 #failed again (Makefile.Debug:7091: recipe for target '.obj/debug_shared/qwindowstheme.o' failed)

Find a patch for the file qtbase\src\plugins\platforms\windows\qwindowstheme.cpp.

Need to try again.

#Build #Qt5.1.1 #failed again (Makefile.Debug:7091: recipe for target '.obj/debug_shared/qwindowstheme.o' failed)

Follow the MinGW 64 bit wiki post, I try to build dependent libraries myself before building Qt5.1.1 again.

After applying the patch, I have run into another problem "Makefile.Debug:7091: recipe for target '.obj/debug_shared/qwindowstheme.o' failed".


[#Solved] #Building #Qt5.1.1 static failed (Makefile:350: recipe for target 'qfilesystemengine_win.o' failed)

Finally found a patch on web to solve the issue.

You can download the patch from here.

The file to be patched is <qt-5.1.1-Folder>/qtbase\src/corelib/io/qfilesystemengine_win.cpp

Hope this time the compile can get through.

2013/11/07

Building Qt5.1.1 static failed (Makefile:350: recipe for target 'qfilesystemengine_win.o' failed)


Building Qt5.1.1 failed again. Stopped during creating qmake.
Makefile:350: recipe for target 'qfilesystemengine_win.o' failed
Building qmake failed, return code 2

Building platform:
  • Windows Server 2008 R2
  • DirectX SDK 2010 June
  • MinGW-builds (gcc-4.8.1-dwarf-rev5)
  • ActivePerl-5.16.3.1603-MSWin32-x86-296746
  • python-3.3.2
  • ruby-1.9.3-p448

Building environment:
  • DXSDK_DIR=Z:\QtBuild\tools\msdxsdk
  • INCLUDE=.;Z:\QtBuild\tools\3rdparty\libicu\include;Z:\QtBuild\tools\3rdparty\openssl\include;Z:\QtBuild\tools\3rdparty\libmysql\include;\include;Z:\QtBuild\tools\msdxsdk\include
  • LIB=.;Z:\QtBuild\tools\3rdparty\libicu\lib;Z:\QtBuild\tools\3rdparty\openssl\lib;Z:\QtBuild\tools\3rdparty\libmysql\lib;\lib;Z:\QtBuild\tools\msdxsdk\Lib\x86
  • PATH=;Z:\QtBuild\5.1.1\src\qtbase\bin;Z:\QtBuild\5.1.1\src\qtrepotools\bin;Z:\QtBuild\tools\gnuwin32\bin;Z:\QtBuild\tools\mingw-builds\mingw32\bin;Z:\QtBuild\tools\perl\bin;Z:\QtBuild\tools\ruby\bin;Z:\QtBuild\tools\python\bin;Z:\QtBuild\tools\cmake\bin;Z:\QtBuild\tools\utils;Z:\QtBuild\tools\msdxsdk\Utilities\bin\x86;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem
Modify Z:\QtBuild\5.1.1\src\qtbase\mkspecs\win32-g++\qmake.conf:
  • from
    • QMAKE_LFLAGS            =
    • QMAKE_LFLAGS_DLL        = -shared
  • to
    • QMAKE_LFLAGS            = -static -static-libgcc
    • QMAKE_LFLAGS_DLL        = -static -static-libgcc

Configure option:
  • cd /d Z:\QtBuild\5.1.1\src\
  • Z:\QtBuild\5.1.1\src\configure.bat -confirm-license -opensource -platform win32-g++ -release -static -ltcg -prefix Z:\Qt\5.1.1\mingw481_32s -qt-sql-sqlite -qt-sql-odbc -plugin-sql-sqlite -plugin-sql-odbc -qt-zlib -qt-libpng -qt-libjpeg -opengl desktop -qt-freetype -no-angle -no-qml-debug -nomake tests -nomake examples -skip qtwebkit -icu -openssl-linked -qt-sql-mysql -plugin-sql-mysql -no-vcproj
The error comes out after issuing the configure.bat command. Still searching the solution for this.