Files
Jellyfin-Freebox/tools/preview.qml
T
2026-11-08 10:38:26 +01:00

24 lines
698 B
QML

import QtQuick 2.5
import QtQuick.Window 2.2
// Aperçu sur PC : charge Jellyfin.qml puis repasse la fenêtre en 1280x720
// (fbx.application.Application force le plein écran au démarrage).
QtObject {
property var app: null
Component.onCompleted: {
var component = Qt.createComponent("../Jellyfin.qml");
if (component.status === Component.Error) {
console.error(component.errorString());
Qt.quit();
return;
}
app = component.createObject(null);
app.visibility = Window.Windowed;
app.width = 1280;
app.height = 720;
app.color = "black";
app.title = "Jellyfin (aperçu)";
}
}