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

Cannot build Qt: "qtbase/mkspecs/qconfig.pri:2: Missing closing ' quote"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.6.2, 5.8.0 Beta, 5.8
    • Build System
    • None
    • Windows 10 x64 French

      After running configure, I run nmake and got the following error:

      qt5/qtbase/mkspecs/qconfig.pri:2: Missing closing ' quote

      Looking at qconfig.pri, the 2nd line isn't properly set as it should be "19" (I'm using MSVC2015):

      QT_ARCH = i386
      QT_CL_MAJOR_VERSION = Compilateur d'optimisation Microsoft (R) C/C++ versionĂ¿19
      QT_CL_MINOR_VERSION = 00
      QT_CL_PATCH_VERSION = 24210 pour x86 Copyright (C) Microsoft Corporation
      QT.global.enabled_features = accessibility shared debug_and_release build_all c++11 concurrent
      QT.global.disabled_features = framework rpath pkg-config c++14 c++1z force_asserts separate_debug_info simulator_and_device static
      QT_CONFIG += accessibility no-pkg-config shared audio-backend debug_and_release private_tests release debug build_all c++11 concurrent dbus release_tools stl
      CONFIG += shared debug c++11 no_plugin_manifest rtti
      QT_VERSION = 5.9.0
      QT_MAJOR_VERSION = 5
      QT_MINOR_VERSION = 9
      QT_PATCH_VERSION = 0
      QT_EDITION = OpenSource
      

      It seems the issue comes from the fact that my system is using French as the primary language, making the configure script fail to extract the compiler major version.

      I have tested with qt5 repo on 5.8 and dev branches and with qtbase submodule checked out at the latest commits on 5.8 and dev branches.
      As qt5/5.8 is one commit ahead of 9f921b9cc368e08fb2808d2c44ed02c006e22e41 which was used for 5.8.0 beta packages and the only change is in qtquick1, this means Qt 5.8.0 Beta packages have the same issue.

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

            laknoll Lars Knoll
            bterrier Benjamin Terrier
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes