Qt5UiTools.pc Requires: non-existent Qt5UiPlugin

Bug #1739955 reported by Yann Dirson on 2017-12-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qttools-opensource-src (Ubuntu)
Undecided
Unassigned
Xenial
Medium
Simon Quigley

Bug Description

[Impact]

Without this fix, users are unable to use tools which depend on Qt5UiPlugin.pc to exist. This is a regression in functionality in comparison to previous releases and future releases.

[Test case]

See the original description for what shouldn't happen. `pkg-config --print-errors Qt5UiTools` should successfully print after this patch is applied.

[Regression Potential]

Little to none, as this change has been applied on every other release.

Where something *could* go wrong is if a tool was specifically designed to ensure that Qt5UiPlugin.pc is not found, or conflicts with that in some way, which again, is unlikely given that this bug does not exist on all other releases.

[Original Description]

On xenial:

$ pkg-config --print-errors Qt5UiTools
Package Qt5UiPlugin was not found in the pkg-config search path.
Perhaps you should add the directory containing `Qt5UiPlugin.pc' to the PKG_CONFIG_PATH environment variable
Package 'Qt5UiPlugin', required by 'Qt5UiTools', not found

No package appears to provide Qt5UiPlugin.pc

Yann Dirson (yann132) on 2017-12-24
description: updated
Simon Quigley (tsimonq2) wrote :

Have you tried installing qttools5-dev?

Changed in qttools-opensource-src (Ubuntu):
status: New → Incomplete
Yann Dirson (yann132) wrote :

qttools5-dev is the one shipping the faulty Qt5UiTools.pc, so yes it is installed :)

Dmitry Shachnev (mitya57) wrote :

This was fixed upstream in Qt 5.6. For Xenial’s 5.5, this commit may be backported:

https://code.qt.io/cgit/qt/qttools.git/commit/?id=29f1668e50d88947

Changed in qttools-opensource-src (Ubuntu):
status: Incomplete → Fix Released
Changed in qttools-opensource-src (Ubuntu Xenial):
status: New → Triaged
Simon Quigley (tsimonq2) on 2017-12-27
Changed in qttools-opensource-src (Ubuntu Xenial):
status: Triaged → In Progress
assignee: nobody → Simon Quigley (tsimonq2)
importance: Undecided → Medium
Simon Quigley (tsimonq2) on 2018-01-29
description: updated

Hello Yann, or anyone else affected,

Accepted qttools-opensource-src into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/qttools-opensource-src/5.5.1-3ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed.Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in qttools-opensource-src (Ubuntu Xenial):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-xenial
Yann Dirson (yann132) wrote :

I confirm the fix does its job, thanks much!

Simon Quigley (tsimonq2) wrote :

I'll mark it as such then.

Thanks for confirming!

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qttools-opensource-src - 5.5.1-3ubuntu0.1

---------------
qttools-opensource-src (5.5.1-3ubuntu0.1) xenial; urgency=medium

  * QtUiTools: don't publicly depend on QtUiPlugin (LP: #1739955).
    - dont-publicly-depend-on-qtuiplugin.patch

 -- Simon Quigley <email address hidden> Sun, 28 Jan 2018 23:50:26 -0600

Changed in qttools-opensource-src (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for qttools-opensource-src has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers