Skip to content

Latest commit

 

History

History
73 lines (61 loc) · 2.36 KB

README.md

File metadata and controls

73 lines (61 loc) · 2.36 KB

QuickFlux Project Template

That is a project template to simplify the creation of QuickFlux application with unit tests.

It includes:

  1. qpm.json - Install QuickFlux via qpm
  2. Template of ActionTypes and AppActions
  3. Templates of Store / StoreWorker and Adapter
  4. AppView C++ Class - Initialize QML environment and listen message from AppDispatcher
  5. Unit Tests with using Testable framework

Usage

  1. Clone or download this project to local folder
  2. Extract
  3. 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