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.0 import Felgo 3.0 App { // Set the background of the app to black (for the default iOS modal) color: "#000" NavigationStack { id: navigationStack Page { title: "Main Page" // We add a button for open the modal and to change the platform Column { anchors.centerIn: parent AppButton { text: "Open Modal" onClicked: modal.open() } AppButton { text: "Platform: " + Theme.platform onClicked: { Theme.platform = Theme.platform == "ios" ? "android" : "ios" Theme.colors.statusBarStyle = Theme.platform == "ios" ? Theme.colors.statusBarStyleBlack : Theme.colors.statusBarStyleWhite } } } AppModal { id: modal // Set your main content root item pushBackContent: navigationStack // Add any custom content for the modal NavigationStack { Page { title: "Modal" rightBarItem: TextButtonBarItem { text: "Close" textItem.font.pixelSize: sp(16) onClicked: modal.close() } } } } } } }

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