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

Qt Creator generates wrong profiles for Qt on Mac.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 1.1.0
    • 1.0.1
    • Qt Creator Integration
    • None
    • 549ca539f8d8560506e945ebb81bc7e76a44b118

    Description

      When i try to compile project in QtCreator using one of generated (i.e. "qtc_*" profiles), i get following error:

      ERROR: Error while setting up build environment: TypeError: Result of expression 'platformPath' [undefined] is not an object.
      

      Here's generated profile:

      profiles.qtc_master_clang.Qt.core.binPath: /usr/local/Trolltech/qt4-build/bin
      profiles.qtc_master_clang.Qt.core.buildVariant: debug,release
      profiles.qtc_master_clang.Qt.core.docPath: /usr/local/Trolltech/qt4-build/doc
      profiles.qtc_master_clang.Qt.core.frameworkBuild: 
      profiles.qtc_master_clang.Qt.core.incPath: /usr/local/Trolltech/qt4-build/include
      profiles.qtc_master_clang.Qt.core.libInfix: 
      profiles.qtc_master_clang.Qt.core.libPath: /usr/local/Trolltech/qt4-build/lib
      profiles.qtc_master_clang.Qt.core.mkspecPath: /usr/local/Trolltech/qt4-build/mkspecs/macx-g++
      profiles.qtc_master_clang.Qt.core.namespace: 
      profiles.qtc_master_clang.Qt.core.version: 4.8.5
      profiles.qtc_master_clang.cpp.compilerName: clang++
      profiles.qtc_master_clang.cpp.toolchainInstallPath: /usr/bin
      profiles.qtc_master_clang.qbs.architecture: x86_64
      profiles.qtc_master_clang.qbs.endianness: little
      profiles.qtc_master_clang.qbs.targetOS: osx,darwin,unix
      profiles.qtc_master_clang.qbs.toolchain: clang,llvm,gcc
      

      Manually setting cpp.platformPath for this profile does nothing (hm?)

      Attachments

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

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes