D
D
Denis Kotlyarov2015-05-29 11:47:06
Qt
Denis Kotlyarov, 2015-05-29 11:47:06

A program written in c ++, qt does not start, tell me what to do?

When starting the program on Qt, there was such an error, it didn’t happen before, I didn’t make any changes to the program: Starting /home/gravit/build-untitled4-Desktop-Debug/untitled4...
QEventLoop: Cannot be used without QApplication
QDBusConnection: system D-Bus connection created before QCoreApplication. Application may misbehave.
The program has unexpectedly finished.
/home/gravit/build-untitled4-Desktop-Debug/untitled4 crashed The
crash occurs on a line in ui_mainwindow.h centralWidget = new QWidget(MainWindow);
Thanks for the help...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir Martyanov, 2015-05-29
@vilgeforce

And QApplication has already been created for you at the time of calling this code?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question