Wednesday, November 29, 2017

QWidget: Must construct a QApplication before a QWidget

Have you faced such error message? It's specially likely to appear if you are using Qt framework along with 3rd party libraries. The solution?
Don't mix debug and release libraries, both Qt or 3rd party. Check that all the libraries are on the same page, i.e. all libraries in debug mode.

Happy coding!

No comments:

Post a Comment