All Projects → therecipe → widgets_playground

therecipe / widgets_playground

Licence: other
Showcase example for https://github.com/therecipe/qt

Programming Languages

go
31211 projects - #10 most used programming language
javascript
184084 projects - #8 most used programming language
HTML
75241 projects
shell
77523 projects

Projects that are alternatives of or similar to widgets playground

Made With Webassembly
A showcase of awesome production applications, side projects, and use cases made with WebAssembly (Wasm). 👷
Stars: ✭ 132 (+164%)
Mutual labels:  example, webassembly, showcase
haxe
Qt binding for Haxe | Showcase example for https://github.com/therecipe/qt
Stars: ✭ 21 (-58%)
Mutual labels:  example, showcase, cross-platform-gui
Opengl cmake skeleton
❤️ A ready to use cmake skeleton using GLFW, Glew and glm. 👍
Stars: ✭ 118 (+136%)
Mutual labels:  example, webassembly
Qt
Qt binding for Go (Golang) with support for Windows / macOS / Linux / FreeBSD / Android / iOS / Sailfish OS / Raspberry Pi / AsteroidOS / Ubuntu Touch / JavaScript / WebAssembly
Stars: ✭ 8,966 (+17832%)
Mutual labels:  webassembly, cross-platform-gui
go-wasm-examples
Some small examples of using Go and WebAssembly
Stars: ✭ 22 (-56%)
Mutual labels:  example, webassembly
Electron Wasm Rust Example
A minimal Electron + WebAssembly (WASM) + 🦀 Rust example.
Stars: ✭ 227 (+354%)
Mutual labels:  example, webassembly
Examples
Store all egg examples in one place
Stars: ✭ 1,668 (+3236%)
Mutual labels:  example, showcase
Webassembly Examples
From Simple To Complex. A complete collection of webassembly examples.
Stars: ✭ 177 (+254%)
Mutual labels:  example, webassembly
Wasm By Example
Wasm By Example is a website with a set of hands-on introduction examples and tutorials for WebAssembly (Wasm)
Stars: ✭ 226 (+352%)
Mutual labels:  example, webassembly
Kotlin Playground
Kotlin practice
Stars: ✭ 111 (+122%)
Mutual labels:  playground, example
imgalign
Webapplication for image stitching and aligning
Stars: ✭ 162 (+224%)
Mutual labels:  webassembly
vmrp
mrp emulator, virtual machine, mrp模拟器
Stars: ✭ 126 (+152%)
Mutual labels:  webassembly
gearoenix
Cross-platform C++ 3D game engine.
Stars: ✭ 33 (-34%)
Mutual labels:  webassembly
example-orbitdb-todomvc
TodoMVC with OrbitDB
Stars: ✭ 17 (-66%)
Mutual labels:  example
cdi-events-playground
Demonstrates the capabilities of Java EE CDI events
Stars: ✭ 23 (-54%)
Mutual labels:  example
covid-19
COVID-19 World is yet another Project to build a Dashboard like app to showcase the data related to the COVID-19(Corona Virus).
Stars: ✭ 28 (-44%)
Mutual labels:  showcase
MultiLamp
Android library to showcase/highlight the multiple views on same overlay
Stars: ✭ 235 (+370%)
Mutual labels:  showcase
playground
Locally hosted Go playground for more advanced functionality.
Stars: ✭ 15 (-70%)
Mutual labels:  playground
mnist-coreml
Simple convolutional neural network to predict handwritten digits using Keras + CoreML for WWDC '18 scholarship [Accepted]
Stars: ✭ 45 (-10%)
Mutual labels:  playground
Uno.Themes
This library is designed to help you use the material design system with the Uno Platform
Stars: ✭ 112 (+124%)
Mutual labels:  webassembly

WEB DEMO


Introduction

This is a showcase example for the "js" and "wasm" targets and also the new JavaScript API of therecipe/qt

Info

For general information about therecipe/qt, checkout: https://github.com/therecipe/qt

The Qt API Docs can be found here: https://doc.qt.io/qt-5/classes.html

If you have questions, join our Slack channel #qt-binding (invite yourself here)

Usage

If you are already familiar with qtdeploy and the docker deployments then just pull the "js" or "wasm" image and deploy with qtdeploy -docker build js or "wasm" as usual.


If you are new and want to build this yourself, then just take the following steps:

  • Install Go: https://golang.org/dl/

  • Install Git: https://git-scm.com/downloads

  • Install tooling: go get -u -v github.com/therecipe/qt/cmd/...

  • Pull the repo: go get -d -v github.com/therecipe/widgets_playground

  • Install Docker: https://store.docker.com/search?offering=community&type=edition

    • On Windows: share the drive containing your GOPATH with docker
    • On Linux: if necessary run docker as root
    • On macOS: share your GOPATH with docker if it isn't located in some subfolder below /Users/, /Volumes/, /private/ or /tmp/
  • Pull the "js" or "wasm" image:

    docker pull therecipe/qt:js
    

    or

    docker pull therecipe/qt:wasm
    
  • Run the deployment: (replace "js" with "wasm" for an full WebAssembly build)

    cd $(go env GOPATH)/src/github.com/therecipe/widgets_playground
    $(go env GOPATH)/bin/qtdeploy -docker build js
    
  • You should find the deployed application in the deploy/js or deploy/wasm subdir

  • Open deploy/{js|wasm}/index.html with your browser


You can most of the time use qtdeploy -docker -fast build js after you made some minor changes, heavier changes like the introduction of new Qt classes or functions, or changes inside the JavaScript files will force you to compile without the "-fast" flag once again.

It's planned to remove these limitations in the future.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].