Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Felgo Live Code Reloading: Web Editor

Run this example on your Android and iOS phone now, with the Felgo Live Scripting mobile app!

import QtQuick 2.12 import QtQuick.Controls 2.0 import Felgo 3.0 ApplicationWindow { title: qsTr("Felgo App") width: 640 height: 480 visible: true GameWindowItem { // licenseKey: "<your-license-key>" } Button { text: "Download / Open" onClicked: { if(pdfResource.available) openPdf() else pdfResource.download() } anchors.centerIn: parent } DownloadableResource { id: pdfResource source: "http://www.orimi.com/pdf-test.pdf" storageLocation: FileUtils.DocumentsLocation storageName: "pdf-test.pdf" extractAsPackage: false // if the download is competed, available will be set to true onAvailableChanged: if(available) openPdf() } function openPdf() { fileUtils.openFile(pdfResource.storagePath) } }

1. Download Felgo Live Scripting app

2. Open the app and add the displayed Dev ID here.

QML Hot Reload on all Platforms

With Felgo Live, you can reload code changes in real-time on any connected device. While this web editor is just for demonstration purposes, you can use hot reloading also for development on your desktop.

Download the Felgo Developer App app to run your code on Android and iOS, from Windows, macOS or Linux.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded