[Qt-creator] Why Creator's Qbs plugin need to special process for Qt?
Loaden
loaden at gmail.com
Wed Aug 29 05:55:03 CEST 2012
See:
void QbsProject::createBuildProject(const QString &buildProjectName,
QtSupport::BaseQtVersion *qtVersion)
{
if (qtVersion) {
if (qtVersion->defaultBuildConfig() ==
QtSupport::BaseQtVersion::DebugBuild || qtVersion->defaultBuildConfig() ==
QtSupport::BaseQtVersion::BuildAll) {
buildConfiguration["qbs.buildVariant"] = "debug";
} else {
buildConfiguration["qbs.buildVariant"] = "release";
}
buildConfiguration["qt/core.qtPath"] =
qtVersion->sourcePath().toString();
} else {
buildConfiguration["qbs.buildVariant"] = "debug";
}
I don't like the design.
I thought QbsProjectManager should like CMakeProjectManager.
No need Qt depends!
Any comments?
--
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20120829/9d2a4ebf/attachment.html>
More information about the Qt-creator
mailing list