https://github.com/benlau/quickflux-project-template
Project template using QuickFlux with unit tests
https://github.com/benlau/quickflux-project-template
Last synced: 8 months ago
JSON representation
Project template using QuickFlux with unit tests
- Host: GitHub
- URL: https://github.com/benlau/quickflux-project-template
- Owner: benlau
- Created: 2016-07-14T17:18:38.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-28T07:29:18.000Z (about 9 years ago)
- Last Synced: 2025-04-04T20:41:05.912Z (8 months ago)
- Language: C++
- Size: 12.7 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-qt-qml - quickflux-project-template - Project template using QuickFlux with unit tests. (Templates)
README
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](https://github.com/benlau/qpm-qt-creator-project-template)
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
```