A
A
Anton2015-12-27 22:56:00
Qt
Anton, 2015-12-27 22:56:00

How to solve "QWidget: Cannot create a QWidget without QApplication" problem?

Hello!
The error occurs as soon as it comes to:
QMessageBox msgBox;
QMessageBox is not digested at all.
As I understand it, this is directly related to the fact that the QML project.
How to fix? Or how notifications are displayed in this case?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
J
Jacob E, 2015-12-27
@hummingbird

Create QApplication? What is there in main.cpp in general?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question