Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
1.9.1
-
None
-
Visual Studio 2017 - 15.3.1
QtCreator (Version: 4.3.1)
Qt (5.9.1 and 5.9.2)
-
b4b1ad197c919416beed1dd6d218d12f6867f58b
Description
What are the requirements for the generators to appear?
I have not used QBS before and I just downloaded the 1.9.1 windows zip from the qt website.
I get the following result:
E:\test>qbs generate Restoring build graph from disk Building for configuration default Build done for configuration default. ERROR: No generator specified. Available generators: E:\test>
Here are the profiles currently set up:
E:\test>qbs config --list defaultProfile: "qt5" profiles.MSVC2017-x64.cpp.compilerVersion: "19.11.25506" profiles.MSVC2017-x64.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX64/x64" profiles.MSVC2017-x64.qbs.architecture: "x86_64" profiles.MSVC2017-x64.qbs.targetOS: "windows" profiles.MSVC2017-x64.qbs.toolchain: "msvc" profiles.MSVC2017-x64_x86.cpp.compilerVersion: "19.11.25506" profiles.MSVC2017-x64_x86.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX64/x86" profiles.MSVC2017-x64_x86.qbs.architecture: "x86" profiles.MSVC2017-x64_x86.qbs.targetOS: "windows" profiles.MSVC2017-x64_x86.qbs.toolchain: "msvc" profiles.MSVC2017-x86.cpp.compilerVersion: "19.11.25506" profiles.MSVC2017-x86.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX86/x86" profiles.MSVC2017-x86.qbs.architecture: "x86" profiles.MSVC2017-x86.qbs.targetOS: "windows" profiles.MSVC2017-x86.qbs.toolchain: "msvc" profiles.MSVC2017-x86_x64.cpp.compilerVersion: "19.11.25506" profiles.MSVC2017-x86_x64.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/VC/Tools/MSVC/14.11.25503/bin/HostX86/x64" profiles.MSVC2017-x86_x64.qbs.architecture: "x86_64" profiles.MSVC2017-x86_x64.qbs.targetOS: "windows" profiles.MSVC2017-x86_x64.qbs.toolchain: "msvc" profiles.qt5.baseProfile: "MSVC2017-x64" profiles.qt5.preferences.qbsSearchPaths: "C:/Users/user/AppData/Roaming/QtProject/qbs/1.9.1/profiles/qt5"
Noticing that QtCreator (Version: 4.3.1) came with QBS (Version 1.8.1), I attempted to run that version instead:
E:\test>D:\Qt\Tools\QtCreator\bin\qbs.exe generate No build graph exists yet for this configuration. Resolving project for configuration default ERROR: Error: Could not start cl.exe (Process failed to start: No such file or directory)
And again once starting in a visual studio x64 native command prompt:
E:\test>D:\Qt\Tools\QtCreator\bin\qbs.exe generate No build graph exists yet for this configuration. Resolving project for configuration default Setting up build graph for configuration default Building for configuration default Build done for configuration default. ERROR: No generator specified. Available generators: clangdb visualstudio2010 visualstudio2012 visualstudio2013 visualstudio2015 E:\test>
Do I have to install the generators for 1.9.1? Or is there something about setting up the visual studio command prompt that enables the generators? (I can't get the same result in 1.9.1).
Not sure if relevant: I have the following Visual C++ redistributables installed:
2008x86/2012x86/2012x64/2013x86/2013x64/2017x86/2017x64 (note- I do not have a 2015 installed on this machine).
Attachments
For Gerrit Dashboard: QBS-1218 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
208358,2 | Add missing dependencies for the qbs archive package | 1.10 | qbs/qbs | Status: MERGED | +2 | 0 |