qt-template
qt-template copied to clipboard
Template/Example of Qt/QML built with CMake/qmake. (include PyQt and PySide2)
Qt Template/Example
This is template/example that can rapid to build Qt/QML application.
You can just copy you prefer program language's folder and start to code and build and run.
Applications that build with this Qt Template: Examples
Usage
-
Clone this repo
$ git clone https://github.com/kaka-lin/qt-template.git -
Choosing you prefer program language, ex:
c++$ cp -r c++/qml <Your path> -
Buinding application
Follow the steps of each folder's
README
Running and showing the Templates
1. Run with Docker (Recommend)
You can use the docker image that we already build, as below
$ docker pull kakalin/qt:5.12.0
Or you can build it from scratch, please check the document in the docker folder.
And then running with docker:
$ ./run.sh
2. Run with local Qt
Please install Qt/QML on your local machine.
3. Run the template
Chose the version that you want to use.
QML
$ cd python/pyqt5/qml
$ python3 qml_template.py

QT
$ cd python/pyqt5/qt
$ python3 main.py

Examples
Applications that build with Qt, you can reference projects as below,
-
Qt5/QML
-
PyQt5
-
UART and ModBus
-
Handwriting recognition
-
Embedding
Matplotlibin Qt -
Embedding
Matplotlibin Qt
-
-
PyQt5/QML
-
Can see the result of unittest on GUI immediately.
-
Can dump canbus information
-