Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 594256 - dev-qt/qt-creator-4.0.3: qbsprojectparser.cpp:90:12: error: ‘class qbs::SetupProjectParameters’ has no member named ‘setBuildVariant’
Summary: dev-qt/qt-creator-4.0.3: qbsprojectparser.cpp:90:12: error: ‘class qbs::Setup...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Davide Pesavento
Depends on:
Reported: 2016-09-18 17:58 UTC by Dmitry Baranov
Modified: 2016-11-21 19:39 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---

emerge --info (info,5.71 KB, text/plain)
2016-09-18 18:00 UTC, Dmitry Baranov
build.log stripped 5mb (build.log3,3.75 KB, text/plain)
2016-09-18 18:07 UTC, Dmitry Baranov

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Baranov 2016-09-18 17:58:39 UTC
*   emake failed
Comment 1 Dmitry Baranov 2016-09-18 18:00:43 UTC
Created attachment 446456 [details]
emerge --info
Comment 2 Dmitry Baranov 2016-09-18 18:07:28 UTC
Created attachment 446458 [details]
build.log stripped 5mb
Comment 3 Davide Pesavento gentoo-dev 2016-09-19 22:08:00 UTC
What version of dev-util/qbs is installed?
Comment 4 Uladzimir Bely 2016-10-11 12:33:01 UTC
This error comes from changes in src/lib/corelib/tools/setupprojectparameters.{h,cpp}
qbs-1.5.2 has "buildVariant" property in SetupProjectParameters class, while
qbs-1.6.0 has "configurationName" instead. So, old setters/getters used in qt-creator sources don't work.
Comment 5 Davide Pesavento gentoo-dev 2016-10-11 13:45:32 UTC
so do you have dev-util/qbs-1.6.0 installed?
we probably need to restrict the dependency to ~dev-util/qbs-1.5.2
Comment 6 Uladzimir Bely 2016-10-13 06:49:14 UTC
One more possible solution is using bundled qbs which comes with qt-creator (which is qbs-1.5.2 in fact).
Currently qt-creator ebuild uses system-wide qbs and removes bundled one.