Skip to content
therecipe edited this page Apr 19, 2018 · 26 revisions

Please make sure that you have successfully installed the binding first.

You can find the instructions to install the binding here.

Basic Examples

The basic examples are the ones you want to look at if you are just getting started. They show you the bare minimum of code and file structure needed to get the different technologies of Qt working.

To test them run:

  • go get -d -v github.com/therecipe/basic-examples
  • cd $GOPATH/src/github.com/therecipe/basic-examples
  • qtdeploy test desktop ./widgets docs for Widgets
  • qtdeploy test desktop ./quick docs for QML/Quick
  • qtdeploy test desktop ./qml docs for QML

Advanced Examples

Demo Examples

Showcase Examples

Misc Examples

The misc examples are a collection of variouse different examples, that got collected throughout the years. Some of them are ports of official Qt examples, others are created during development of the binding to test new technologies and some of them got submitted by contributors. The code quality varies strongly, and most of them will have to be rewriten at some point to show best pratice usage. You can find the full list here.

To test them run something like:

  • cd $GOPATH/src/github.com/therecipe/qt/internal/examples
  • qtdeploy test desktop ./widgets/line_edits
  • qtdeploy test desktop ./qml/gallery
  • qtdeploy test desktop ./quick/photoviewer

3rd Party Examples/Demos/Applications

This is a list of 3rd Party applications that make use of this binding. Some of the are more complex than others, some of them might be (partially)broken and some of them are still in active development.

Feel free to add your on repo (in alphabetical order)

Clone this wiki locally