Skip to content

Latest commit

 

History

History
106 lines (62 loc) · 2.17 KB

README.md

File metadata and controls

106 lines (62 loc) · 2.17 KB

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

  1. Clone this repo

    $ git clone https://github.com/kaka-lin/qt-template.git
  2. Choosing you prefer program language, ex: c++

    $ cp -r c++/qml <Your path>
  3. 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:

$ ./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,