This problem was caught by jhbuild, which use 'pkg-config --modversion $(pkg-config --list-all | cut -f 1 -d " ")' to get the version of installed packages: 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 'Qt5Designer', not found Package 'Qt5UiPlugin', required by 'Qt5Designer', not found Package 'Qt5UiPlugin', required by 'Qt5UiTools', not found
There is an upstream fix for another broken pc-file in qttools https://github.com/qt/qttools/commit/29f1668e50d88947200c83287d57bbb47dae07ae I couldn't find one for the qttools/designer one. But the following should clean that up: --- src/designer/src/lib/lib.pro.orig 2016-09-07 10:41:25 UTC +++ src/designer/src/lib/lib.pro @@ -1,7 +1,8 @@ MODULE = designer TARGET = QtDesigner -QT = core-private gui-private widgets-private xml uiplugin +QT = core-private gui-private widgets-private xml +QT_PRIVATE = uiplugin MODULE_PLUGIN_TYPES = designer load(qt_module)
I don't think this is still relevant and could be closed.
(In reply to w.schwarzenfeld from comment #2) It *is* still relevant. Qt5Designer.pc is still broken and having broken .pc files installed on the system greatly increases the start-up time of JHBuild from a few seconds to more than one minute.
A commit references this bug: Author: adridg Date: Sun Apr 8 18:38:09 UTC 2018 New revision: 466825 URL: https://svnweb.freebsd.org/changeset/ports/466825 Log: Fix bad package-config file in Qt5 Designer. The pkg-config file for Qt5Designer refers to a non-existent (other) .pc file. PR: 212216 Submitted by: tcberner Reported by: Ting-Wei Lan Approved by: tcberner (mentor, implicit) Changes: head/devel/qt5-designer/Makefile head/devel/qt5-designer/files/patch-src_designer_src_lib_lib.pro
Qt Tools was since fixed (somewhere on the road to Qt 5.9.4) and I've just committed the change from tcberner in this PR to Qt Designer 5.9.4_2
Reopen as the change to the .pc was reverted in r467015. Fixing the .pc file breaks py-qt5-designer*.
Fixed while not breaking qy-qt5-designer in r467142