0

Qt ベースのオープン ソース ライブラリをコンパイルして Qbs を学習しています。Qbs プロジェクトを以下のように設定しました。

import qbs 1.0

Project {
    Product {
        name: "communi"
        type: "dynamiclibrary"

        files: [
            "include/IrcCore/irc.h",
            "include/IrcCore/irccommand.h",
             ... ,
            "src/util/irccommandqueue.cpp",
            "src/util/irccompleter.cpp",
            "src/util/irclagtimer.cpp",
            "src/util/ircpalette.cpp",
            "src/util/irctextformat.cpp",
            "src/util/irctoken.cpp",
            "src/util/ircutil.cpp"
        ]

        Depends { name: "cpp" }
        Depends { name: "Qt.core" }
        Depends { name: "Qt.widgets" }
    }
}

次のように Qbs を呼び出します。

qbs build profile:qt

以下のエラーメッセージが表示されました

ERROR: Profile "qt" has a non-existent base profile "msvc".

私は何を間違っていますか?説明書通りに設定を行いました。Qbs 1.9 と Qt 5.9.1 を使用して、Windows 10 x64 を使用しています。

私のプロファイルのリストは次のとおりです。

>> qbs config --list profiles
profiles.MSVC2017-x64.cpp.compilerVersion: "19.11.25507"
profiles.MSVC2017-x64.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/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.25507"
profiles.MSVC2017-x64_x86.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/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.25507"
profiles.MSVC2017-x86.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/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.25507"
profiles.MSVC2017-x86_x64.cpp.toolchainInstallPath: "C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/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.qt.baseProfile: "msvc"
profiles.qt.preferences.qbsSearchPaths: "C:/Users/tembo/AppData/Roaming/QtProject/qbs/1.9.0/profiles/qt"
profiles.x86_64-w64-mingw32.cpp.toolchainInstallPath: "C:/MinGW/bin"
profiles.x86_64-w64-mingw32.qbs.targetOS: "windows"
profiles.x86_64-w64-mingw32.qbs.toolchain: ["mingw", "gcc"]
4

1 に答える 1