QT module import
I am just getting started with plugin development with MuseScore 2.0.3 on Windows 10, 64 bit. I am trying to import QT modules such as QT Core. The Help - About QT... menu item reports that it uses QT 5.4.2 and I have read that QT is bundle with the Windows version MuseScore. From the dll's in the bin directory it appears that all the Qt modules are there. However, if I try to import modules other than QtQuick (e.g. "import QtCore 5.4") I get the error " module "QtCore" is not installed". Am I doing something wrong or is there a path that needs to be set somewhere?
Comments
I am new to plugin development too, so my answer may not be 100% correct as I don't totally understand how it is all structured, but in the absence of any other replies I'll give it a shot.
From what I understand of QT / QML, the parts of the QtCore that are required to run QML are already included within the QtQuick module. Modules I have successfully imported are:
QtQuick 2.3, QtQuick.Controls 1.2, QtQuick.Dialogs 1.2, QtQuick.Layouts 1.1, QtQuick.Controls.Styles 1.3, FileIO 1.0, QtQuick.Window 2.2, MuseScore 1.0
Hope it helps