Как использовать Qbs для создания приложения Qt с Qt Creator?
Я пытаюсь построить приложение Qt на основе QBS с Qt Creator, и я получаю следующие ошибки:
cannot find -lC:/SDKs/Qt/5.3/mingw482_32/lib/Qt5Cored
cannot find -lC:/SDKs/Qt/5.3/mingw482_32/lib/Qt5Guid
cannot find -lC:/SDKs/Qt/5.3/mingw482_32/lib/Qt5Widgetsd
Это мой проект Qbs:
import qbs
Product {
type: "application" // To suppress bundle generation on Mac
name: "test_ResourceFileManager"
Depends { name: "cpp" }
cpp.cppFlags: "-std=c++11"
Depends {
name: "Qt";
submodules: ["core", "gui", "widgets"]
}
files: [
"src/main.cpp",
"src/forms/mainwindow.h",
"src/forms/mainwindow.cpp",
"src/forms/mainwindow.ui"
]
Group { // Properties for the produced executable
fileTagsFilter: product.type
qbs.install: true
}
}
Я нигде не могу найти рабочий пример того, как написать правильный проект Qbs для приложения Qt.