You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when i try to run below code using monodevelop on ubuntu 18.04:
RuntimeManager.DiscoverOrDownloadSuitableQtRuntime();
using (var app = new QGuiApplication(args))
{
using (var engine = new QQmlApplicationEngine())
{
// Register our new type to be used in Qml
Qml.Net.Qml.RegisterType<QmlType>("test", 1, 1);
engine.Load("Main.qml");
return app.Exec();
}
}
i get below error on var app = new QGuiApplication(args)
The type initializer for 'Qml.Net.Internal.Interop' threw an exception.
{System.Exception: Unable to find the native Qml.Net library. Try calling "RuntimeManager.DiscoverOrDownloadSuitableQtRuntime();" in Program.Main()
at Qml.Net.Internal.Interop..cctor () [0x00087] in <ad74f26691e644e6b645a13bb721757f>:0 }
Any solution for this problem.
Thanks
The text was updated successfully, but these errors were encountered:
Hi, when i try to run below code using monodevelop on ubuntu 18.04:
i get below error on var app = new QGuiApplication(args)
Any solution for this problem.
Thanks
The text was updated successfully, but these errors were encountered: