Anonymous
Anonymous

Reputation: 4757

Using Qt with Qt creator and visual studio on Windows 7: How to deploy for Windows 8

I am using using Qt 5.1.1 with Qt creator 2.8.1 and visual studio 2012 on Windows 7. Creating targets (*.exe files) and exchanging these targets between PCs running with Windows 7 is no problem. However, if I try to run these executables under Windows 8 they crash at startup (Eror code 0xc000007b). I think I have to compile my application for windows 8.

Is there any possibility to do this with my current setup? How do I add a target for Windows 8?

Upvotes: 0

Views: 352

Answers (1)

László Papp
László Papp

Reputation: 53195

The problem is probably somewhere else.

For instance, QtCreator is built on Windows 7, and no one has reported any issues on Windows 8 so far.

You would just use the usual spec files that fit your toolchain setup, e.g. win32-msvc2012.

Here you can find a screenshot on my PC where this could be configured.

enter image description here

But really, that is pretty much about it. For solving the real problem, please take a look at the following threads below. It is possible as the first link writes that you have not deployed all the necessary dlls for your application.

How to solve error message "The application was unable to start correctly (0x000007b). Click OK to close the application"

Problem with 0xc000007b Error?

Upvotes: 1

Related Questions