-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gallery App: added init. readme for qml developers
- Loading branch information
Lubos
committed
Jul 27, 2023
1 parent
3c1cb7b
commit be53f6b
Showing
1 changed file
with
27 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Rules for a Qml [new design] developers | ||
- main folder input/app/qmlV2/ | ||
- all components, pages, map items, ... in its subfolder | ||
- all items begins MM, for example MMButton | ||
- using required key before property, if it makes sense | ||
- using property alias, if it makes sense | ||
- using qmlfmt tool for Qml formatting, see qmltool section | ||
- using GalleryApp for creating/updating qml files, see GalleryApp section | ||
|
||
qmltool | ||
- git clone https://github.com/jesperhh/qmlfmt.git | ||
- cd qmlfmt | ||
- git submodule update --init qt-creator | ||
- mkdir build | ||
- cd build | ||
- export Qt6_DIR="/your_path/Qt/6.5.2/macos/lib/cmake/Qt6" | ||
- export Qt6GuiTools_DIR="/your_path/Qt/6.5.2/macos/lib/cmake/Qt6GuiTools" | ||
- export Qt6Test_DIR="/your_path/Qt/6.5.2/macos/lib/cmake/Qt6Test" | ||
- cmake .. | ||
- make | ||
- ./qmlfmt -wi2 path_to_qml_dir | ||
|
||
GalleryApp | ||
- located in input/GalleryApp/ | ||
- uses qml files from input/app/qmlV2/ | ||
- as wrapper for qml files see input/GalleryApp/qml/ | ||
- works hot reload (tested on Mac), if any problem see script in HotReload class |
be53f6b
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
iOS - version 23.07.442211 just submitted!