Summary: | G'Mic fails to start because could not find Qt platform plugin "xcb" - Krita v3.2.0-beta.2 | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | ocumo <kxk-ocumoatbugskde> |
Component: | G'Mic for Krita | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | halla |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Kubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
ocumo
2017-07-23 18:26:25 UTC
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. Hi, This probably should be reported here: https://github.com/dtschump/gmic-community/issues -- because it's an issue with the gmic-qt "plugin", not krita, and we don't actually create the plugin ourselves. (In reply to Boudewijn Rempt from comment #2) -- Hi Boudewijn, Thank you for having a look and for good suggestion. I'll do. I was not sure to what extent this bug would be better owned by you guys as direct "consumer" and "co-implementers"/partners of the new feature from what I understood in the announcement of 3.2-, since it is an actual button in Krita (and a newly announced, important one) that doesn't work. Obviously I gladly will report (copy) this on the gmic forum as you suggest; I appreciate that no one exactly loves taking ownership of problems that might be a bigger percentage (even all) of responsibility of others. I've done that professionally for long time. But Krita's site says: "We’re still working with them to create binary builds...", which implies partnership, strongly suggesting that somehow this bug does relate to all the good people working hard to produce a nice 3.2 final product (though it doesn't imply that they are necessarily the "causers"). Please don't get me wrong: I'll report this wherever you tell me it's the best place to help devs to get their goals done, for the benefit of everybody. But still it should also exists here. Please just let me observe -with appreciation- that Krita's users should be aware or notified in the first place, that this bug affects Krita, no matter who's technically the final owner. As users of Krita, (exactly as say, our own car) we interact with Krita and when one of its major features is broken, we immediately see a bug in Krita. We (users) don't ought to know who's the one taking care of environmental variables, dependencies, or what not in a plugin partnership. Same with our own car. We don't know who should be inquired about a failing pump, other than the car's manufacturer. That's regardless of whether the issue is caused by the guy who installed it in the car, or a pump manufacturer's mistake, or a supplier of a sub-assembly of that third party (so, a fourth party), etc. But: my car is broken. I'd complain to the car's vendor, period. Who wouldn't? (Disclaimer: this example is for mere illustration, as a metaphor: it's NOT a comparison by any means! you guys are NOT a rich corporation that gets good money for their products!!!! Most people won't give you any money at all for Krita.) It's in that spirit that I decided to report in the first place (but not the last one!) here. That said: Thank you, again, for all you do to provide us with such an incredible and ever improving, formidable software called Krita! I have created the bug report and workaround in the gmic community site, as suggested by Boudewijn. It's been assigned the number 87. Here is the link: https://github.com/dtschump/gmic-community/issues/87 Thanks! I'm still trying to find time to make a universal (appimage) build that the gmic people can distribute... But time is hard to find. |