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

error while building Qt5 with static library on windows 8 using jom and mingw32

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P2: Important
    • None
    • 5.1.1
    • XML: QtXmlPatterns
    • None
    • Windows 8, 32 bit, mingw32 compiler

    Description

      I'm trying to build Qt5.1.1 with static libraries on windows 8, with jom and mingw32. I'm following the steps given below:

      http://qt-project.org/wiki/Building_Qt_Desktop_for_Windows_with_MinGW

      Also, there was an error that it was unable to find "intrin.h" in the file %QTDIR%\qtbase\src\3rdparty\angle\src\libGLESv2\precompiled.h
      so I changed it to x86intrin.h and it worked. But after that, after hours of processing, jom gives the error messages given below:
      main.cpp: In member function 'virtual QVariant PatternistApplicationParser::defa
      ultValue(const QApplicationArgument&) const':
      main.cpp:196:36: error: '_fileno' was not declared in this scope
      jom: C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-src-5.1.1\qtxmlpatter
      ns\tools\xmlpatterns\Makefile.Release [.obj\release_shared\main.o] Error 1
      jom: Leaving directory 'C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-sr
      c-5.1.1\qtxmlpatterns\tools\xmlpatterns'
      jom: C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-src-5.1.1\qtxmlpatter
      ns\tools\xmlpatterns\Makefile [release] Error 2
      jom: Leaving directory 'C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-sr
      c-5.1.1\qtxmlpatterns\tools\xmlpatterns'
      jom: C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-src-5.1.1\qtxmlpatter
      ns\tools\Makefile [sub-xmlpatterns-make_first] Error 2
      jom: Leaving directory 'C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-sr
      c-5.1.1\qtxmlpatterns\tools'
      jom: C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-src-5.1.1\qtxmlpatter
      ns\Makefile [sub-tools-make_first] Error 2
      jom: Leaving directory 'C:\Qt\QT_Static\Source_5.1.1\qt-everywhere-opensource-sr

      -----------------------------------------------
      my configuration parameters are:

      configure -platform win32-g++ -opensource -debug -debug-and-release -nomake examples -no-vcproj -no-cetest -qt-sql-odbc -qt-sql-sqlite -plugin-sql-odbc -plugin-sql-sqlite -no-opengl -no-openvg -no-incredibuild-xge

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              kay_jpr kartik somani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes