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

--- Comment #1 from ocumo <kxk-ocumoatbugs...@lugosys.com> ---
WORKAROUND

I have been able to create a WORKAROUND until this bug is fixed.

As stated in the error message, the gmic_krita_qt program fails to find some
library, most likely due to an issue with environment path. Follow these steps:

1. Locate the libqxcb.so file in your system. In an Kubuntu installation, this
file is in your qt5 installation directory, i.e. in:
/usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so

(If wouldn't have that file, then you have more problems, this workaround
wouldn't apply.)

2. Change directory to the directory where you put your gmic_krita_qt file.
Once there, create a directory 'plugins' and then inside that directory, create
a 'platforms' directory, with this command: (you have to be already in the
gmic_krita_qt's directory):

mkdir -p plugins/platforms

3. Copy the libqxcb.so file into the platforms directory, like so:

cp /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
plugins/platforms/

(again: you are issuing this command from the directory where gmic_krita_qt is)

4. In the same directory as gmic_krita_qt, create a text file named 'qt.conf'
with this content (two lines):

[Paths]
Plugins = plugins

5. After saving the qt.conf file, you can now restart Krita. Open an image file
and run the G'Mic filter. It should work now. DONE.


Summary:
You need to have this directory structure where you have the gmic_krita_qt
file:

$ tree
.
├── gmic_krita_qt
├── plugins
│   └── platforms
│       └── libqxcb.so
├── qt.conf
└── README

...where:
a) 'gmic_krita_qt' and 'README' were extracted from the downloaded GMic zip
b) the 'qt.conf' file contains the above mentioned lines, and
c) you have created the 'plugins/platforms' directories and copied the
libqxcb.so file in the 'platforms' directory.

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

Reply via email to