Tucker Downs
Tucker Downs

Reputation: 92

QT is failing to build ui_mainwindow.h, error 135 (-1073741515)

My QT5.1.1 project used to build with qt creator but when I came into work today it no longer worked. To my knowledge, nothing has changed since the last time I was on. A co-worker needed to use my workstation earlier this week and says that he did not change anything.

The error shows up as:

[ui_mainwindow.h] Error -1073741515

I did a Google search and tried a few things.

This page said to try a clean build and run qMake then rebuild. This did not work even after trying multiple times.

This page led to the suggestion of adding QT += widgets to the .pro file (although I did not believe this would work I tried anyways)

I also tried closing the project and re-opening it. I deleted the build directory and that didn't work either.

EDIT:

I added error code 135 because according to this answer on stack overflow the two are related. I have not encountered or seen this error code come up. I have downloaded the dependency walker but I am not sure how to use it.

After a clean start up I get the following pop up when opening a project.

Image of error pop up

Upvotes: 0

Views: 2049

Answers (1)

Tucker Downs
Tucker Downs

Reputation: 92

It turns out that a coworker accidentally moved a bunch of DLLs out of my MinGW bin directory. I had to move them back.

Upvotes: 2

Related Questions