That is a project template to simplify the creation of QuickFlux application with unit tests.
It includes:
- qpm.json - Install QuickFlux via qpm
- Template of ActionTypes and AppActions
- Templates of Store / StoreWorker and Adapter
- AppView C++ Class - Initialize QML environment and listen message from AppDispatcher
- Unit Tests with using Testable framework
Usage
- Clone or download this project to local folder
- Extract
- Rename the file according to your needs.
Wizard in Qt Creator
If you want to have a wizard to create a project with using Quick Flux in Qt Creator, you may install this project:
benlau/qpm-qt-creator-project-template: Qt Creator Project Templates with qpm
This template is free and unencumbered software released into the public domain.
File Structure:
.
├── README.md
├── app
│ └── quickfluxapp
│ ├── App
│ │ ├── actions
│ │ │ ├── ActionTypes.qml
│ │ │ ├── AppActions.qml
│ │ │ └── qmldir
│ │ ├── adapters
│ │ │ ├── StoreAdapter.qml
│ │ │ └── qmldir
│ │ ├── constants
│ │ │ ├── Constants.qml
│ │ │ └── qmldir
│ │ ├── stores
│ │ │ ├── MainStore.qml
│ │ │ └── qmldir
│ │ └── storeworkers
│ │ ├── MainStoreWorker.qml
│ │ ├── StoreWorker.qml
│ │ └── qmldir
│ ├── README.md
│ ├── app.qrc
│ ├── appview.cpp
│ ├── appview.h
│ ├── deployment.pri
│ ├── main.cpp
│ ├── main.qml
│ ├── qpm.json
│ ├── quickfluxapp.pri
│ └── quickfluxapp.pro
└── tests
└── quickfluxappunittests
├── main.cpp
├── qmltests
│ └── tst_QmlTests.qml
├── qpm.json
├── quickfluxappunittests.pro
├── tests.cpp
└── tests.h