Skip to content
New issue

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

Qt: Could not initialize OLE (error 80010106) #3

Open
GoogleCodeExporter opened this issue Jun 9, 2015 · 4 comments
Open

Qt: Could not initialize OLE (error 80010106) #3

GoogleCodeExporter opened this issue Jun 9, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

1. I am using .NET 4.0 on windows 7 in Visual Studio 2010
2. I tried the Hello world program, it builds all ok and when I run it the 
window is shown ok, but it throws an  exception: 
     "Qt: Could not initialize OLE (error 80010106)"
Have you any idea, how to solve this problem? 
Thank you very much.


code:

using com.trolltech.qt.gui;

namespace HelloWorld
{
    class Program
    {
        static void Main(string[] args)
        {
            QApplication.initialize(args);

            QPushButton pushButton = new QPushButton("Hello World!");
            pushButton.show();

            QApplication.exec();
        }
    }
}

Original issue reported on code.google.com by Smolikov...@gmail.com on 23 Oct 2010 at 6:04

@GoogleCodeExporter
Copy link
Author

I'm experiencing the same issue, using "output type: console application".  I'm 
not sure that's the cause of the problem or just a way to point out the problem.

Original comment by geens.t...@gmail.com on 9 Nov 2010 at 11:16

@GoogleCodeExporter
Copy link
Author

Me too.                    I'm experiencing the same issue.

Original comment by buhuiXi...@gmail.com on 4 Dec 2010 at 7:59

@GoogleCodeExporter
Copy link
Author

I have the same problem, maybe it's linked to the fact we're in a console 
application.

Original comment by Louhike on 13 Mar 2012 at 3:13

@GoogleCodeExporter
Copy link
Author

I am also having the same problem, but with the TestQT1 example which is sent 
with the qt4dotnetlib.zip. I am also using visual studio 2010 & .net framework 
4.0

Original comment by prakhar....@gmail.com on 18 Sep 2012 at 6:01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant