https://bugs.kde.org/show_bug.cgi?id=460049

--- Comment #7 from Oliver Kellogg <okell...@users.sourceforge.net> ---
(In reply to Robert Hairgrove from comment #5)
> (In reply to Oliver Kellogg from comment #4)
> > [...]
> > My guess is that your Qt5.15 build somehow did not install the Qt5Network
> > library, otherwise libQt5Network.so.5.15.5 should have been picked up from
> > /usr/local/Qt-5.15.5/lib (picking up 
> > /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.9.5 is wrong).
> 
> Both of those libraries are there under /usr/local/Qt-5.15.5/lib. I use
> QtNetwork in another project which is built on Qt 5.15.5, and this works
> just fine. However, I am using qmake and Qt Creator to build the other
> project.
> 
> I suspect this is somehow compiled into the KDE support libraries somewhere?

Yes, it's a multi level indirection - Umbrello doesn't require Qml itself but
some of the required libs do.

> At any rate, how can I get rid of Umbrello's dependency on Qml? I don't see
> any need for it at all. Does it have anything to do with the KFE online help
> system?

I don't know.
Are you using current git master? If not, it could be worth giving it a try.
I have recently removed dependency on QtWebKit and KDElibs4Support.
Also you might try building without the PHP import and QCH:
    cmake -DBUILD_PHP_IMPORT=0 -DBUILD_QCH=0 [...]

> And if i cannot remove the dependency, why doesn't it build correctly,
> considering that all of the Qt 5.15.5 libraries are installed correctly?

Hm, not sure.
I made a build of the release/22.12 branch using
     make VERBOSE=1 >& make.log
and in the make.log I found the line where the umbrello exe is linked.
That line shows the complete list of Qt shared libs linked in.
I extracted that list and ran the following shellscript:

#!/bin/bash
#

for i in \
  /usr/lib64/libKF5KDELibs4Support.so.5.101.0 \
  /usr/lib64/libKF5UnitConversion.so.5.101.0 \
  /usr/lib64/libKDevPlatformShell.so.5.10.221200 \
  /usr/lib64/libKF5KIOFileWidgets.so.5.101.0 \
  /usr/lib64/libKF5Bookmarks.so.5.101.0 \
  /usr/lib64/libKF5Notifications.so.5.101.0 \
  /usr/lib64/libkdevphpparser.so \
  /usr/lib64/libKDevPlatformLanguage.so.5.10.221200 \
  /usr/lib64/libKF5ThreadWeaver.so.5.101.0 \
  /usr/lib64/libKDevPlatformSerialization.so.5.10.221200 \
  /usr/lib64/libKDevPlatformSublime.so.5.10.221200 \
  /usr/lib64/libKDevPlatformOutputView.so.5.10.221200 \
  /usr/lib64/libKDevPlatformUtil.so.5.10.221200 \
  /usr/lib64/libKDevPlatformInterfaces.so.5.10.221200 \
  /usr/lib64/libKF5TextEditor.so.5.101.0 \
  /usr/lib64/libKF5Parts.so.5.101.0 \
  /usr/lib64/libKF5XmlGui.so.5.101.0 \
  /usr/lib64/libQt5PrintSupport.so.5.15.7 \
  /usr/lib64/libKF5TextWidgets.so.5.101.0 \
  /usr/lib64/libKF5KIOWidgets.so.5.101.0 \
  /usr/lib64/libKF5Completion.so.5.101.0 \
  /usr/lib64/libKF5IconThemes.so.5.101.0 \
  /usr/lib64/libQt5Svg.so.5.15.7 \
  /usr/lib64/libKF5Archive.so.5.101.0 \
  /usr/lib64/libKF5ConfigWidgets.so.5.101.0 \
  /usr/lib64/libKF5Auth.so.5.101.0 \
  /usr/lib64/libKF5Codecs.so.5.101.0 \
  /usr/lib64/libKF5ConfigGui.so.5.101.0 \
  /usr/lib64/libKF5GuiAddons.so.5.101.0 \
  /usr/lib64/libKF5Solid.so.5.101.0 \
  /usr/lib64/libKF5KIOGui.so.5.101.0 \
  /usr/lib64/libKF5KIOCore.so.5.101.0 \
  /usr/lib64/libKF5Crash.so.5.101.0 \
  /usr/lib64/libKF5WindowSystem.so.5.101.0 \
  /usr/lib64/libX11.so \
  /usr/lib64/libQt5Concurrent.so.5.15.7 \
  /usr/lib64/libKF5AuthCore.so.5.101.0 \
  /usr/lib64/libKF5Service.so.5.101.0 \
  /usr/lib64/libQt5Xml.so.5.15.7 \
  /usr/lib64/libKF5I18n.so.5.101.0 \
  /usr/lib64/libKF5ConfigCore.so.5.101.0 \
  /usr/lib64/libKF5JobWidgets.so.5.101.0 \
  /usr/lib64/libKF5CoreAddons.so.5.101.0 \
  /usr/lib64/libKF5WidgetsAddons.so.5.101.0 \
  /usr/lib64/libQt5DBus.so.5.15.7 \
  /usr/lib64/libKF5SyntaxHighlighting.so.5.101.0 \
  /usr/lib64/libQt5Network.so.5.15.7 \
  /usr/lib64/libKF5ItemViews.so.5.101.0 \
  /usr/lib64/libKF5SonnetUi.so.5.101.0 \
  /usr/lib64/libQt5Widgets.so.5.15.7 \
  /usr/lib64/libQt5Gui.so.5.15.7 \
  /usr/lib64/libQt5Core.so.5.15.7
do
  references_qml=$(ldd $i | grep -i qml)
  if [ -n "$references_qml" ]; then
    echo "$i : $references_qml"
  fi
done

On my system, that gives:

/usr/lib64/libKDevPlatformShell.so.5.10.221200 :        libQt5Qml.so.5 =>
/lib64/libQt5Qml.so.5 (0x00007f0c0f000000)
/usr/lib64/libkdevphpparser.so :        libQt5Qml.so.5 => /lib64/libQt5Qml.so.5
(0x00007f11bbe00000)
/usr/lib64/libKDevPlatformLanguage.so.5.10.221200 :     libQt5Qml.so.5 =>
/lib64/libQt5Qml.so.5 (0x00007f0e0ce00000)
/usr/lib64/libKDevPlatformSerialization.so.5.10.221200 :        libQt5Qml.so.5
=> /lib64/libQt5Qml.so.5 (0x00007f37ffa00000)
/usr/lib64/libKDevPlatformOutputView.so.5.10.221200 :   libQt5Qml.so.5 =>
/lib64/libQt5Qml.so.5 (0x00007fde4c000000)
/usr/lib64/libKDevPlatformUtil.so.5.10.221200 :         libQt5Qml.so.5 =>
/lib64/libQt5Qml.so.5 (0x00007f6341200000)
/usr/lib64/libKDevPlatformInterfaces.so.5.10.221200 :   libQt5Qml.so.5 =>
/lib64/libQt5Qml.so.5 (0x00007fda92200000)
/usr/lib64/libKF5TextEditor.so.5.101.0 :        libQt5Qml.so.5 =>
/lib64/libQt5Qml.so.5 (0x00007f1a67800000)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to