mirror of https://code.videolan.org/videolan/vlc
qt: import all used qml modules in MainInterface.qml
Although Qt interface fails gracefully if MainInterface.qml does not load properly, The said file does not import all necessary QML modules that are used throughout the interface. Once QML engine encounters an unknown module, the whole interface becomes no longer usable as it asserts all required modules to be present.
This commit is contained in:
parent
b6cab182c9
commit
2a58b2bf92
|
@ -16,8 +16,13 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
||||
*****************************************************************************/
|
||||
|
||||
// NOTE: All imports used throughout the interface
|
||||
// must be imported here as well:
|
||||
import QtQml
|
||||
import QtQml.Models
|
||||
import QtQuick
|
||||
import QtQuick.Layouts
|
||||
import QtQuick.Templates
|
||||
import QtQuick.Controls
|
||||
import QtQuick.Window
|
||||
import Qt5Compat.GraphicalEffects
|
||||
|
|
Loading…
Reference in New Issue