[KDE/Mac] KF5's KBruch on OSX/CI
Marko Käning
mk-lists at email.de
Sun Dec 7 19:43:19 UTC 2014
If I enter the “Learning” option in KBruch I do get into trouble, although I thought
that my run.sh bash script sets the env var correctly:
---
$ ./run.sh kde/kdeedu kbruch
Could not find drkonqi at /opt/kde/install/darwin/mavericks/clang/kf5-qt5/frameworks/kcrash/inst/lib/libexec/drkonqi
Couldn't start kglobalaccel from org.kde.kglobalaccel.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kglobalaccel was not provided by any .service files")
Could not parse stylesheet of object 0x7f8b03413980
QObject::connect: No such slot KXmlGuiWindow::slotPrefs() in /Users/marko/WC/KDECI-builds/kbruch/src/FractionRingWidget.cpp:221
QObject::connect: (sender name: 'options_configure')
Icon theme "hicolor" not found.
kf5.kiconthemes: "Theme tree: (Oxygen)"
You called setXMLFile( "kbruchui.rc" ) and then createGUI or setupGUI, which also calls setXMLFile and will overwrite the file you have previously set.
You should call createGUI( "kbruchui.rc" ) or setupGUI(<options>, "kbruchui.rc" ) instead.
---
But perhaps it is a porting bug?
----
$ cat run.sh
#!/bin/bash
ROOT=/opt/kde/install/darwin/mavericks/clang/kf5-qt5
if [ -z $1 ] || [ -z $2 ] || [ ! -d $ROOT/$1 ]; then
echo "Usage: $0 PATH APP"
echo
echo " Example: $0 kde/kdeedu kbruch"
echo
exit
fi
if [ ! -f $2.env ]; then
./create-env.sh $2 </dev/null
fi
source $2.env
XDG_DATA_DIRS=${XDG_DATA_DIRS}:${ROOT}/$1/$2/inst/share ${ROOT}/$1/$2/inst/Applications/KF5/$2.app/Contents/MacOS/$2
More information about the kde-mac
mailing list