Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
musterdavid90 opened this issue Oct 25, 2017 · 6 comments
Open

Comments

@musterdavid90
Copy link

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
Copy link
Member

jpnurmi commented Oct 25, 2017

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
Copy link
Author

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
Copy link
Member

jpnurmi commented Oct 25, 2017

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
Copy link
Member

jpnurmi commented Oct 25, 2017

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
Copy link
Author

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
Copy link
Author

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants