QBS can not find plugins on build

Bug #1456593 reported by Bobs
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qbs (Ubuntu)
Fix Released
Low
Dmitry Shachnev

Bug Description

I'm trying to use packaged qbs build system (1.3.3+dfsg-4 armhf package) to build project directly on host Raspberry Pi 2. The system is Ubuntu MATE 15.04, QBS is correctly configured, toolchains and Qt profile are set up. When starting to build my project, I see the following warning:

$ qbs
WARNING: Plugin path '/usr/lib/qbs/plugins' does not exist.
Restoring build graph from disk
Building for configuration qt54-debug
ERROR: /home/user/.config/QtProject/qbs/profiles/qt54/modules/Qt/core/core.qbs:241:26 Error while calling Rule.outputArtifacts: Error: There are 0 scanners for the file tag cpp. Expected is exactly one.
...

The problem is the plugins are placed in /usr/lib/arm-linux-gnueabihf/qbs/plugins/ in package, not in the /usr/lib/qbs/plugins. The temporary solution is to create a symbolic link from /usr/lib/arm-linux-gnueabihf/qbs to /usr/lib/qbs, but there surely must be the better way to solve the problem.

Tags: armhf vivid

Related branches

tags: added: armhf vivid
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in qbs (Ubuntu):
status: New → Confirmed
Changed in qbs (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Dmitry Shachnev (mitya57)
Revision history for this message
Alberto Salvia Novella (es20490446e) wrote :

Does this bug prevent qbs from building the project?

When answered please set this bug status back to "in progress". Thank you.

Changed in qbs (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

Alberto: please don't change the bug status. I have the fix ready, it will be included in the next upload.

Changed in qbs (Ubuntu):
status: Incomplete → In Progress
Changed in qbs (Ubuntu):
importance: Undecided → Low
Revision history for this message
Dmitry Shachnev (mitya57) wrote :

@Bobs: just to be completely sure my fix is working, can you please tell me which project I can test it with?

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qbs - 1.4.1+dfsg-8

---------------
qbs (1.4.1+dfsg-8) unstable; urgency=medium

  * Tell qmake where to install libraries and plugins, rather than moving
    them after installing (LP: #1456593).
  * Remove lib/ directory in clean target.
  * Update symbols files for GCC 5, fixing a build failure.

 -- Dmitry Shachnev <email address hidden> Wed, 12 Aug 2015 20:55:48 +0300

Changed in qbs (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.