Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 594256

Summary: dev-qt/qt-creator-4.0.3: qbsprojectparser.cpp:90:12: error: ‘class qbs::SetupProjectParameters’ has no member named ‘setBuildVariant’
Product: Gentoo Linux Reporter: Dmitry Baranov <reagentoo>
Component: Current packagesAssignee: Davide Pesavento <pesa>
Status: RESOLVED FIXED    
Severity: normal CC: capsel, qt, wiselord1983
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log stripped 5mb

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.