Plugins faillure in MuseScore 2.0

• Jun 28, 2015 - 11:48

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

In reply to 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 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 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 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 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.

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.

Do you still have an unanswered question? Please log in first to post your question.