communi / communi-desktop

An IRC client for desktop environments
https://communi.github.io/
BSD 3-Clause "New" or "Revised" License
55 stars 20 forks source link

modul not installed // plugin cannot be loaded for modul "Communi" #131

Open musterdavid90 opened 6 years ago

musterdavid90 commented 6 years ago

qrc:/main.qml:12 plugin cannot be loaded for module "Communi": Die Metadaten des Plugins '/home/david/Qt5/5.9.1/gcc_64/qml/Communi/libcommuniplugin.so' konnten nicht bestimmt werden.

Does anyone know how to fix that? I already tried everything, but nothing worked...

jpnurmi commented 6 years ago

Could you copy and paste the full output of make install for libcommuni and the output of the qmlbot example with QML_IMPORT_TRACE=1 environment variable set?

user@host:path/to/libcommuni$ make install
[...]

user@host:path/to/libcommuni/examples/qmlbot$ QML_IMPORT_TRACE=1 ./qmlbot
[...]
musterdavid90 commented 6 years ago

Hi Thanks for the fast replay, as i can see i posted it on the wrong Issues-Chan, it belongs to "communi":

So my Settings: /usr/lib/x86_64-linux-gnu/qt4 /usr/lib/x86_64-linux-gnu/qt5 /usr/lib/x86_64-linux-gnu/qtcreator

But i have downloaded QT-Web-Installer to install 5.9 /home/david/Qt5/5.9.1/gcc_64/ /home/david/Qt5/Tools/QtCreator/

I want to compile it with 5.9 qmake as you can see: https://pastebin.com/zpHAjaLM

When i try the standard Settings just with prefix qtdir https://pastebin.com/WU10Hr4x

And here the QML_IMPORT_TRACE https://pastebin.com/vDEkmDkd

jpnurmi commented 6 years ago

Avoid mixing builds with two different Qt versions (/usr/lib/x86_64-linux-gnu/qt5 vs. /home/david/Qt5/5.9.1/gcc_64/). Either do out-of-source builds, or throw away the whole build directory and re-extract the archive and restart with a clean tree.

jpnurmi commented 6 years ago

Oh, and btw, since you already have a dirty source tree, you can't switch to out-of-source builds without wiping the intermediate build files from the source tree. So even if you switch to out-of-source builds, delete the build and re-extract the archive is the straight-forward way to restart from clean.

musterdavid90 commented 6 years ago

https://pastebin.com/g3Ght7VU

After deleting the dir and extracting it new it works with the commands i used in my pastebin log Thank you so much for the fast and good support

=) =) =)

musterdavid90 commented 6 years ago

Ah btw. the QML QUICK example is working very well now! As I can see the QML example is a light version from the origin full "desktop"-version So i tried to compile the "desktop"-version after loading the project this message gets displayed:

Project ERROR: The Communi framework is missing. Install libcommuni from http://communi.github.com Cannot read /home/david/Downloads/communi-desktop-master/src/libs/base/shared/shared.pri: No such file or directory Project ERROR: The Communi framework is missing. Install libcommuni from http://communi.github.com Cannot read /home/david/Downloads/communi-desktop-master/src/libs/base/shared/shared.pri: No such file or directory Project ERROR: The Communi framework is missing. Install libcommuni from http://communi.github.com Cannot read /home/david/Downloads/communi-desktop-master/src/libs/base/shared/shared.pri: No such file or directory Project MESSAGE: Building Communi 3.5.0 Project MESSAGE: Using uchardet via pkg-config [Ungenau] Project ERROR: Unknown module(s) in QT: declarative Project ERROR: The Communi framework is missing. Install libcommuni from http://communi.github.com Cannot read /home/david/Downloads/communi-desktop-master/src/libs/base/shared/shared.pri: No such file or directory Project ERROR: The Communi framework is missing. Install libcommuni from http://communi.github.com

I checked the dir, it was empty, so i downloaded the shared library from your git, and copied it into this dir but still same message.

Any idea?