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

Can't create build for MSVC 2015 and MinGW

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.9.3
    • 5.9.2
    • Build System
    • None
    • MSVC 2015

      MinGW
    • accessibility: dcc8aa8f4e664283bf7b900bbd07d6b570797eac (5.9, 20.10.2017, 5.9.3)

    Description

      I'm trying to build Qt 5.9.2 from the source code (http://download.qt.io/official_releases/qt/5.9/5.9.2/single/qt-everywhere-opensource-src-5.9.2.zip) with the following method (wich I used before for build Qt 5.7.0 and it worked):
      For MSVC 2015 x85 build:

      1. Run "VS2015 x86 Native Tools Command Prompt"
      2. Go to Qt 5.9.2 source folder.
      3. configure.bat -prefix %CD%\qtbase -opensource -debug-and-release -skip qtwebengine -skip qtquickcontrols -no-icu -no-accessibility -nomake examples -nomake tests -opengl desktop
      4. nmake

      But after some build time I get the error:

      error: unable to read PCH file .pch\debug\Qt5Cored_pch.pch: 'no such file or directory' fatal error: PCH file '.pch\debug\Qt5Cored_pch.pch' not found: module file not found

      If add -no-pch option to configuration,  build go ahead but then again fails with:

      Project ERROR: Unknown module(s) in QT: accessibility_support-private

       

      For the MinGW buidl I even can't configure it:

      1. Run mingw-w64.bat
      2. Go to Qt 5.9.2 source code
      3. configure.bat -prefix %CD%\qtbase -opensource -debug-and-release -skip qtwebengine -skip qtquickcontrols -no-icu -no-accessibility -nomake examples -nomake tests -opengl desktop

      And get ther error:

      v:\Qt\qt592gcc32>configure.bat -prefix %CD%\qtbase -opensource -debug-and-release -skip qtwebengine -skip qtquickcontrols -no-icu -no-accessibility -nomake examples -nomake tests -opengl desktop
      + cd qtbase
      + v:\Qt\qt592gcc32\qtbase\configure.bat -top-level -prefix v:\Qt\qt592gcc32\qtbase -opensource -debug-and-release -skip qtwebengine -skip qtquickcontrols -no-icu -no-accessibility -nomake examples -nomake tests -opengl desktop
      Bootstrapping qmake ...
      'nmake' is not recognized as an internal or external command, operable program or batch file.
      

      Attachments

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

        Activity

          People

            kleint Friedemann Kleint
            nen777w Ruslan Teliuk
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes