/// <summary> Creates QGuiApp object. </summary> /// <returns> The new QGuiApp object. </returns> public static QGuiApp CreateQGuiApp() { if (_QGuiApplication != null) throw new System.Exception("Only one QGuiApplication class may be created at a time"); var opts = new List<string>(); //opts.Add(""); var ret = new QGuiApp(opts); return ret; }
private static unsafe void Main() { QGuiApp = QGuiApp.CreateQGuiApp(); LoadQml(); // Run the QApplication Process QGuiApplication.Exec(); }
/// <summary> Creates QGuiApp object. </summary> /// <returns> The new QGuiApp object. </returns> public static QGuiApp CreateQGuiApp(List <string> opts) { if (_QGuiApplication != null) { throw new System.Exception("Only one QGuiApplication class may be created at a time"); } var ret = new QGuiApp(opts); return(ret); }