Hello,

I have a problem using Qt 4.8.4 on VS2012. I manage to compile the code but when I run it, it says:

Qt: Could not initialize OLE <error 80010106>

on the console but since it has reached the end of the program where it says 'press any key to continue' and upon pressing any key, the button displays what it was meant to display.

I am using the simple code:

include <QtGui/QApplication>
#include <QtGui/QPushButton>

using namespace std;

int main (int argc, char *argv[]) {

    QApplication app(argc , argv);
    QPushButton button("hello world");
    button.show();

    return app.exec();
}

I have searched on the internet as well as the forum here but couldn't find anything on it. Please advice, thank you.

It looks like an IDE or compiler side problem to me. Try re-downloading and installing QT. Post again if you have any further questions.