Plugins faillure in MuseScore 2.0
How to fix this ?
MuseScoreQQmlComponent: Component is not ready
creating component failed
line 16: module "QtQuick.Controls" is not installed
line 17: module "QtQuick.Layouts" is not installed
line 16: module "QtQuick.Controls" is not installed
line 17: module "QtQuick.Layouts" is not installed
Segmentation fault (core dumped)
thanks
Comments
By installing Qt. Or maybe by installing MuseScore from the/a (?) PPA?
In reply to By installing Qt. Or maybe by by Jojo-Schmitz
I did both ! Qt 5.4 from the site and MuseScore nightly version and regular one.
No success for now.
In reply to I did both ! Qt 5.4 from the by ngux
What plugin? If your own, show the code please.
I have one plugin (batch_convert ) that uses
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
import QtQuick.Dialogs 1.2
import QtQuick.Window 2.2
import Qt.labs.folderlistmodel 2.1
import Qt.labs.settings 1.0
import QtQml 2.2
import MuseScore 1.0
import FileIO 1.0
In reply to What plugin? If your own, by Jojo-Schmitz
Many plugins do not work including yours. This is the (long) code :
ngux@ngux:~$ mscore
initScoreFonts 0xaa7e638
init Help from: /usr/local/share/mscore-2.1/manual/doc_en.qhc
cannot setup data for help engine: Cannot open collection file: /usr/local/share/mscore-2.1/manual/doc_en.qhc
QQmlComponent: Component is not ready
creating component /usr/local/share/mscore-2.1/plugins/random2.qml failed
line 3: module "QtQuick.Controls" is not installed
line 4: module "QtQuick.Layouts" is not installed
line 3: module "QtQuick.Controls" is not installed
line 4: module "QtQuick.Layouts" is not installed
QQmlComponent: Component is not ready
creating component /usr/local/share/mscore-2.1/plugins/abc_import.qml failed
line 21: module "QtQuick.Dialogs" is not installed
line 22: module "QtQuick.Controls" is not installed
line 21: module "QtQuick.Dialogs" is not installed
line 22: module "QtQuick.Controls" is not installed
qml: hello scorelist
qml: My_First_Score
QQmlComponent: Component is not ready
creating component /home/ngux/Documents/MuseScoreDevelopment/Plugins/lasconic-harmonica_tablature-1beaaa8/harmonica_tablature.qml failed
line 17: module "QtQuick.Layouts" is not installed
line 16: module "QtQuick.Controls" is not installed
line 17: module "QtQuick.Layouts" is not installed
line 16: module "QtQuick.Controls" is not installed
QQmlComponent: Component is not ready
creating component /home/ngux/Documents/MuseScoreDevelopment/Plugins/Jojo-Schmitz-batch_export-b74fa82/batch_convert.qml failed
line 2: module "QtQuick.Controls" is not installed
line 3: module "QtQuick.Layouts" is not installed
line 7: module "Qt.labs.settings" is not installed
line 4: module "QtQuick.Dialogs" is not installed
line 2: module "QtQuick.Controls" is not installed
line 3: module "QtQuick.Layouts" is not installed
line 7: module "Qt.labs.settings" is not installed
line 4: module "QtQuick.Dialogs" is not installed
line 2: module "QtQuick.Controls" is not installed
line 3: module "QtQuick.Layouts" is not installed
line 7: module "Qt.labs.settings" is not installed
line 4: module "QtQuick.Dialogs" is not installed
line 2: module "QtQuick.Controls" is not installed
line 3: module "QtQuick.Layouts" is not installed
line 7: module "Qt.labs.settings" is not installed
line 4: module "QtQuick.Dialogs" is not installed
AlsaDriver::write: snd_pcm_avail_update() (Broken pipe)
AlsaDriver: recover: stat = 00, xrun of at least 443.248 ms
In reply to Many plugins do not work by ngux
I don't see any code, just some error/debug messages. Which plugin(s)? Disable them in the Plugin Manager, get the correct packages installed, report to the package maintainer, (for MuseScore 2.0) and you're on your own with the nightly version (which you are apparently running here).
Or build it yourself and don't forget to run 'make install'
In reply to I don't see any code, just by Jojo-Schmitz
You were speaking of the code of the plugins ? Sorry i'm not so familiar with development Well, like your plugin the code of these plugins begin by
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
import MuseScore 1.0
I've tried many version of the 2.0. This one is the version for developpers 2.1.0, compiled with "make install":
So the problem seem to be more in QT than MuseScore. I've installed the lastest version of QT (5.4) but I've still have the issue...
In reply to I don't see any code, just by Jojo-Schmitz
You speak of the code of the plugins ? The one which don't work have the kind of beginning :
import QtQuick 2.2
import QtQuick.Controls 1.1
import QtQuick.Layouts 1.1
import MuseScore 1.0
I've installed different version of MuseScore : Ubuntu depot, PPA and now the developper's 2.1.0 complided. I didn't forget to run "make install"
The problem must be QT. I've installed the last version 5.4 but I still have the issue.
In reply to You speak of the code of the by ngux
That is part of the code, yes, but which plugin is it? What happens if you simply disable those plugins from the plugin manager?
In reply to That is part of the code, by Jojo-Schmitz
Sevral plugins are not working : the pre installed "ABC imported", "batch_convert" and "harmonica tablature".
The rest of the application works.
In reply to Sevral plugins are not by ngux
The plugins are working fine if you install the proper dependencies. The Ubuntu package doesn't install them. It's a packaging problem on Ubuntu so it's better to report it to Ubuntu.
In reply to The plugins are working fine by [DELETED] 5
The question is witch application should install the dependencies ? MuseScore ? QT ? or Ubuntu ?
What are those dependencies and where can we find them ?
In reply to The question is witch by ngux
The MuseScore package for Ubuntu should know the dependencies (but currently does not, read the next post). Ubuntu should then pull it, if needed.
One missing part is "qml-module-qtquick2"
In reply to You speak of the code of the by ngux
It's a known problem with the ubuntu package. You can find a workaround and add your voice to have it fix here https://bugs.launchpad.net/ubuntu/+source/musescore/+bug/1444318
In reply to It's a known problem with the by [DELETED] 5
Thanx
Is your ubuntu PATH variable correctly set?
Open a terminal and type: echo $PATH. It should read something like: /home/xxxxusernamexxxx/Qt5.4/5.4/gcc_64/bin:/usr/lib.....
If it does not have Qt in it then you need to add it to your PATH.
In reply to Is your ubuntu PATH variable by underquark
Yes, it is like /home/ngux/Qt/5.4/gcc/bin:/usr/local/sbin:/usr/local/bin....