We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello,
Every time I run the example project, or any project, I get a console window appear displaying the following error:
QWindowsContext: OleInitialize() failed: "COM error 0xffffffff80010106 RPC_E_CHANGED_MODE (Unknown error 0x080010106)"
The program continues and seems to work fine... but any idea why is this happening?
Thanks!
The text was updated successfully, but these errors were encountered:
I had the same problem, and solved it by added [STAThread] to Main(string[] args) Here is some example code:
[STAThread]
Main(string[] args)
[STAThread] public static int Main(string[] args) { RuntimeManager.DiscoverOrDownloadSuitableQtRuntime(); using (var app = new QGuiApplication()) using (var engine = new QQmlApplicationEngine()) { var results = QmlRegistry.RegisterType<SomeType>(); engine.Load("main.qml"); return app.Exec(); } }
While not a direct answer to this problem, these stackoverflow answers helped me solve this:
Sorry, something went wrong.
No branches or pull requests
Hello,
Every time I run the example project, or any project, I get a console window appear displaying the following error:
QWindowsContext: OleInitialize() failed: "COM error 0xffffffff80010106 RPC_E_CHANGED_MODE (Unknown error 0x080010106)"
The program continues and seems to work fine... but any idea why is this happening?
Thanks!
The text was updated successfully, but these errors were encountered: