Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-446

qbs-detect-toolchains fails to set qbs.architecture for certain MinGW toolchains

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1.1
    • 1.1.0
    • General
    • None
    • 4cbe7af03f20e45db094cd052181a2422c02192e

    Description

      Had a colleague try to set up qbs today; detect-toolchains failed to set the architecture for his MinGW profile. His configuration:

      baseProfile: qt-5-1-1
      defaultProfile: mingw32
      preferences.qtcreator.kit.qt.511.win32_mingw48.essentials_kit: qtc_Desktop_Qt_5_1_1_MinGW_32bit
      profiles.i686-w64-mingw32.cpp.compilerName: g++.exe
      profiles.i686-w64-mingw32.cpp.toolchainInstallPath: E:/Qt/Tools/mingw48_32/bin
      profiles.i686-w64-mingw32.qbs.targetOS: windows
      profiles.i686-w64-mingw32.qbs.toolchain: mingw,gcc
      profiles.mingw32.cpp.compilerName: g++.exe
      profiles.mingw32.cpp.toolchainInstallPath: C:/MinGW/bin
      profiles.mingw32.qbs.targetOS: windows
      profiles.mingw32.qbs.toolchain: mingw,gcc
      profiles.qt-5-1-1.Qt.core.binPath: E:\Qt\5.1.1\mingw48_32\bin
      profiles.qt-5-1-1.Qt.core.buildVariant: debug,release
      profiles.qt-5-1-1.Qt.core.config: release,shared,rtti,qpa
      profiles.qt-5-1-1.Qt.core.docPath: E:\Qt\5.1.1\mingw48_32\doc
      profiles.qt-5-1-1.Qt.core.incPath: E:\Qt\5.1.1\mingw48_32\include
      profiles.qt-5-1-1.Qt.core.libInfix: 
      profiles.qt-5-1-1.Qt.core.libPath: E:\Qt\5.1.1\mingw48_32\lib
      profiles.qt-5-1-1.Qt.core.mkspecPath: E:\Qt\5.1.1\mingw48_32\mkspecs\win32-g++
      profiles.qt-5-1-1.Qt.core.namespace: 
      profiles.qt-5-1-1.Qt.core.pluginPath: E:\Qt\5.1.1\mingw48_32\plugins
      profiles.qt-5-1-1.Qt.core.qtConfig: debug_and_release,build_all,debug,release,c++11,shared,zlib,icu,png,freetype,build_all,accessibility,opengl,openssl,audio-backend,native-gestures,qpa,iconv,concurrent,minimal-config,small-config,medium-config,large-config,full-config
      profiles.qt-5-1-1.Qt.core.version: 5.1.1
      profiles.qt-5-1-1.cpp.minimumWindowsVersion: 5.0
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.binPath: E:\Qt\5.1.1\mingw48_32\bin
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.buildVariant: debug,release
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.docPath: E:\Qt\5.1.1\mingw48_32\doc
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.incPath: E:\Qt\5.1.1\mingw48_32\include
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.libInfix: 
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.libPath: E:\Qt\5.1.1\mingw48_32\lib
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.mkspecPath: E:\Qt\5.1.1\mingw48_32\mkspecs\win32-g++
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.namespace: 
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.Qt.core.version: 5.1.1
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.cpp.compilerName: gcc.exe
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.cpp.toolchainInstallPath: E:/Qt/Tools/mingw48_32/bin
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.qbs.architecture: x86
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.qbs.endianness: little
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.qbs.targetOS: windows
      profiles.qtc_Desktop_Qt_5_1_1_MinGW_32bit.qbs.toolchain: mingw,gcc
      

      Attachments

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

        Activity

          People

            jbornema Joerg Bornemann
            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes