Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523218 - dev-util/qbs-1.3.0[qt5] - ambiguous qmake invocation
Summary: dev-util/qbs-1.3.0[qt5] - ambiguous qmake invocation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-09-19 10:54 UTC by Alexander Akulich
Modified: 2014-09-19 13:22 UTC (History)
0 users

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


Attachments
ebuild fix (qbs-fix,343 bytes, patch)
2014-09-19 10:54 UTC, Alexander Akulich
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Akulich 2014-09-19 10:54:59 UTC
Created attachment 385104 [details, diff]
ebuild fix

Looks like qmake can't find pro file. It works fine if directory name will be changed from e.g. "qbs-1.3.0" to "qbs". Tested with qt-5.3.9999 and qt-5.4.9999.

Adding "qbs.pro" to qmake arguments list fixes build for qt5 and works well for qt4. Patch attached.
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2014-09-19 13:22:19 UTC
eqmake5 doesn't have the additional logic of eqmake4 to disambiguate between multiple .pro files in the working directory. In this case there are qbs.pro and static.pro so qt5's qmake doesn't know what to do if called without specifying the .pro file on the command line.

Fixed in cvs, thanks for reporting.

  19 Sep 2014; Davide Pesavento <pesa@gentoo.org> qbs-1.3.0.ebuild:
  Fix build with USE=qt5. Patch by Alexander Akulich in bug 523218.