Skip to content

QApplication

The QApplication class manages the GUI application’s control flow and main settings.

You will never create an instance of it manually. The system runtime does it for you on app start. You can access the initialized QApplication though if needed.

Example

example_application.ts
import { QApplication } from '@vixen-js/core';
const appInstance = QApplication.instance();
appInstance.quit();

More information about QApplication in: https://doc.qt.io/qt-6/qapplication.html