Skip to content

Template/Example of Qt/QML built with CMake/qmake. (include PyQt and PySide2)

License

Notifications You must be signed in to change notification settings

kaka-lin/qt-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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,

Releases

No releases published

Packages

No packages published

Languages