[QBS] Error compile with

Alexey Obukhov obukhov at cyberplat.com
Fri Aug 2 12:54:53 CEST 2013


First I remove %USERPROFILE%\AppData\Roaming\QtProject\qbs.ini
And run
> qbs-setup-qt.exe --detect
Creating profile 'qt-5-1-0'.
Creating profile 'qt-4-8-4'.

> qbs detect-toolchains
Detecting MSVC toolchains...
  Windows SDK detected:
    version v6.0A
    installed in C:\Program Files\Microsoft SDKs\Windows\v6.0A
    This is the default SDK on this machine.
  Windows SDK detected:
    version 7.0.30319
    installed in C:\Program Files\Microsoft SDKs\Windows\v7.0A
  Windows SDK detected:
    version 7.1.7600.0.30514
    installed in C:\Program Files\Microsoft SDKs\Windows\v7.1
  MSVC detected:
    version 2010
    installed in c:\Program Files\Microsoft Visual Studio 10.0\VC\bin
Setting up profile 'MSVC2010'.
Making profile 'MSVC2010' the default.

> qbs config defaultProfile qt-5-1-0

> qbs config --list profiles
profiles.MSVC2010.cpp.toolchainInstallPath: c:\Program Files\Microsoft Visual Studio 10.0\VC\bin
profiles.MSVC2010.cpp.windowsSDKPath: C:\Program Files\Microsoft SDKs\Windows\v6.0A
profiles.MSVC2010.qbs.targetOS: windows
profiles.MSVC2010.qbs.toolchain: msvc
profiles.qt-4-8-4.Qt.core.binPath: C:\Qt\4.8.4\bin
profiles.qt-4-8-4.Qt.core.buildVariant: debug
profiles.qt-4-8-4.Qt.core.docPath: C:\Qt\4.8.4\doc
profiles.qt-4-8-4.Qt.core.incPath: C:\Qt\4.8.4\include
profiles.qt-4-8-4.Qt.core.libInfix:
profiles.qt-4-8-4.Qt.core.libPath: C:\Qt\4.8.4\lib
profiles.qt-4-8-4.Qt.core.mkspecPath: C:\Qt\4.8.4\mkspecs\win32-msvc2010
profiles.qt-4-8-4.Qt.core.namespace:
profiles.qt-4-8-4.Qt.core.pluginPath: C:\Qt\4.8.4\plugins
profiles.qt-4-8-4.Qt.core.qtConfig: release,debug,zlib,png,accessibility,opengl,openssl,ipv6,script,scripttools,xmlpatterns,phonon,phonon-backend,multimedia,audio-backend,declarative,native-gestures,svg,concurrent,minimal-config,small-config,medium-config,large-config,full-config
profiles.qt-4-8-4.Qt.core.staticBuild: true
profiles.qt-4-8-4.Qt.core.version: 4.8.4
profiles.qt-4-8-4.cpp.minimumWindowsVersion: 5.0
profiles.qt-5-1-0.Qt.core.binPath: C:\Qt\5.1.0\\5.1.0\msvc2010\bin
profiles.qt-5-1-0.Qt.core.buildVariant: debug,release
profiles.qt-5-1-0.Qt.core.docPath: C:\Qt\5.1.0\\5.1.0\msvc2010\doc
profiles.qt-5-1-0.Qt.core.incPath: C:\Qt\5.1.0\\5.1.0\msvc2010\include
profiles.qt-5-1-0.Qt.core.libInfix:
profiles.qt-5-1-0.Qt.core.libPath: C:\Qt\5.1.0\\5.1.0\msvc2010\lib
profiles.qt-5-1-0.Qt.core.mkspecPath: C:\Qt\5.1.0\\5.1.0\msvc2010\mkspecs\win32-msvc2010
profiles.qt-5-1-0.Qt.core.namespace:
profiles.qt-5-1-0.Qt.core.pluginPath: C:\Qt\5.1.0\\5.1.0\msvc2010\plugins
profiles.qt-5-1-0.Qt.core.qtConfig: debug_and_release,build_all,debug,release,shared,zlib,icu,angle,png,freetype,build_all,accessibility,opengl,opengles2,egl,openssl,audio-backend,native-gestures,qpa,concurrent,minimal-config,small-config,medium-config,large-config,full-config
profiles.qt-5-1-0.Qt.core.version: 5.1.0
profiles.qt-5-1-0.cpp.minimumWindowsVersion: 5.0

But receive same error:

> qbs debug toolchain:msvc
No build graph exists yet for this configuration.
Resolving project for configuration qt-5-1-0-debug
Setting up build graph for configuration qt-5-1-0-debug
ERROR: Error while setting up build environment: TypeError: Result of expression 'toolchainInstallPath' [undefined] is not an object.

What am I doing wrong?

Best regards,
Alexey Obukhov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qbs/attachments/20130802/a28bafb3/attachment.html>


More information about the Qbs mailing list