[vlc-commits] [Git][videolan/vlc][master] 25 commits: qml: make the singletons names match their file names

Steve Lhomme (@robUx4) gitlab at videolan.org
Sat Jul 20 16:42:35 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
c6f8633a by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: make the singletons names match their file names

- - - - -
1a490438 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: change qml import path

Qml modules expects that their prefix matches the module name, for instance
a VLC.Widgets module should have /VLC/Widgets as prefix

- - - - -
59239b7d by Pierre Lamot at 2024-07-20T15:57:53+00:00
qt: packages QML files as modules

this notably fixes the qmlcache not being used properly

- - - - -
633899c4 by Pierre Lamot at 2024-07-20T15:57:53+00:00
CI: update gcovr exlude rules to match Qt generated files

- - - - -
22136196 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qt: remove obsolete qmldir and qrc files

- - - - -
cb0cfa74 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qt: add automake rule to generate .moc from .cpp

.moc extension for moc generated from .cpp matches what meson generates and is
common Qt practice

- - - - -
8696e669 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qt: set module search path in qml_test

- - - - -
20bc7e90 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: use module namespace import rather than qressource path

- - - - -
3479ea09 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qt: support --validate-basic-blocks for qmlcachegen with qt 6.7+

- - - - -
4a53e75d by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to VLC.Widgets module

- - - - -
90cabcb0 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.MediaLibrary module

- - - - -
54bbd809 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Network module

- - - - -
0a91a50f by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Playlist module

- - - - -
066505d5 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Player module

- - - - -
00061a3b by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Dialogs module

- - - - -
73e3a05f by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Style module

- - - - -
07b20347 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.PlayerControls module

- - - - -
3f156fa5 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Menus module

- - - - -
7e69cd01 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.Util module

- - - - -
3ecd4da4 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move C++ classes to the VLC.MainInterface module

- - - - -
7d6e9339 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qt: add namespace anotation for IDE completion

IDE such as QtCreator provides code completion qmlRegistered types, as the uri
is a variable the introspection function doesn't know in wich namepace the
classes belongs, adding this kind of annotation fixes the introspection

- - - - -
e5f97993 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: remove org.videolan.vlc namespace

- - - - -
122785b8 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: don't use import "."

These imports were used to avoid name collisions with Qt namespace, we can
do a module self import with `as`

- - - - -
21deab7b by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: move Helpers.js as Helpers.qml

this simplifies imports

- - - - -
18a08937 by Pierre Lamot at 2024-07-20T15:57:53+00:00
qml: use qt/qml as qrc prefix for qml modules

starting from Qt 6.5, this is the default search path for modules in qrc

see https://doc.qt.io/qt-6/qtqml-syntax-imports.html#qml-import-path

- - - - -


30 changed files:

- configure.ac
- extras/ci/gitlab-ci.yml
- modules/gui/qt/Makefile.am
- modules/gui/qt/dialogs/dialogs/qml/CustomDialog.qml
- modules/gui/qt/dialogs/dialogs/qml/Dialogs.qml
- modules/gui/qt/dialogs/dialogs/qml/ModalDialog.qml
- modules/gui/qt/dialogs/dialogs/qml/WindowDialog.qml
- modules/gui/qt/dialogs/toolbar/qml/EditorDNDDelegate.qml
- modules/gui/qt/dialogs/toolbar/qml/EditorDNDView.qml
- modules/gui/qt/dialogs/toolbar/qml/EditorDummyButton.qml
- modules/gui/qt/dialogs/toolbar/qml/EditorTabButton.qml
- modules/gui/qt/dialogs/toolbar/qml/ToolbarEditor.qml
- modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorButtonList.qml
- modules/gui/qt/dialogs/toolbar/qml/ToolbarEditorDialog.qml
- modules/gui/qt/maininterface/mainui.cpp
- modules/gui/qt/maininterface/qml/BannerSources.qml
- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/maininterface/qml/MainGridView.qml
- modules/gui/qt/maininterface/qml/MainInterface.qml
- modules/gui/qt/maininterface/qml/MainTableView.qml
- modules/gui/qt/maininterface/qml/MainViewLoader.qml
- modules/gui/qt/maininterface/qml/NoMedialibHome.qml
- modules/gui/qt/medialibrary/qml/ArtistTopBanner.qml
- modules/gui/qt/medialibrary/qml/AudioGridItem.qml
- modules/gui/qt/medialibrary/qml/MediaGroupDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicAlbums.qml
- modules/gui/qt/medialibrary/qml/MusicAlbumsDisplay.qml
- modules/gui/qt/medialibrary/qml/MusicAlbumsGridExpandDelegate.qml
- modules/gui/qt/medialibrary/qml/MusicAllArtists.qml
- modules/gui/qt/medialibrary/qml/MusicArtist.qml


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f8e9560c1f8c4d5dcca21f8087f15c8969f4e9d0...18a0893793706047dfac75935336fd2c2f16b3e1

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/f8e9560c1f8c4d5dcca21f8087f15c8969f4e9d0...18a0893793706047dfac75935336fd2c2f16b3e1
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list