Skip to content

Commit

Permalink
Gallery App: added init. readme for qml developers
Browse files Browse the repository at this point in the history
  • Loading branch information
Lubos committed Jul 27, 2023
1 parent 3c1cb7b commit be53f6b
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions app/qmlV2/readme.txt
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

1 comment on commit be53f6b

@inputapp-bot
Copy link
Collaborator

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!

Please sign in to comment.