mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-15 07:30:06 +00:00
Qt: Add missing #include after 2f8bd18296
In file included from src/citra_qt/citra-qt_autogen/mocs_compilation.cpp:14: In file included from src/citra_qt/citra-qt_autogen/EWIEGA46WW/moc_game_list_p.cpp:9: src/citra_qt/game_list_p.h:160:17: error: use of undeclared identifier 'QCoreApplication'; did you mean 'QApplication'? setText(QCoreApplication::translate("GameList", status.text)); ^~~~~~~~~~~~~~~~ QApplication /usr/local/include/qt5/QtGui/qwindowdefs.h:81:7: note: 'QApplication' declared here class QApplication; ^ In file included from src/citra_qt/citra-qt_autogen/mocs_compilation.cpp:14: In file included from src/citra_qt/citra-qt_autogen/EWIEGA46WW/moc_game_list_p.cpp:9: src/citra_qt/game_list_p.h:160:17: error: incomplete type 'QApplication' named in nested name specifier setText(QCoreApplication::translate("GameList", status.text)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/qt5/QtCore/qobject.h:446:18: note: forward declaration of 'QApplication' friend class QApplication; ^ In file included from src/citra_qt/citra-qt_autogen/mocs_compilation.cpp:14: In file included from src/citra_qt/citra-qt_autogen/EWIEGA46WW/moc_game_list_p.cpp:9: src/citra_qt/game_list_p.h:161:20: error: use of undeclared identifier 'QCoreApplication'; did you mean 'QApplication'? setToolTip(QCoreApplication::translate("GameList", status.tooltip)); ^~~~~~~~~~~~~~~~ QApplication /usr/local/include/qt5/QtGui/qwindowdefs.h:81:7: note: 'QApplication' declared here class QApplication; ^ In file included from src/citra_qt/citra-qt_autogen/mocs_compilation.cpp:14: In file included from src/citra_qt/citra-qt_autogen/EWIEGA46WW/moc_game_list_p.cpp:9: src/citra_qt/game_list_p.h:161:20: error: incomplete type 'QApplication' named in nested name specifier setToolTip(QCoreApplication::translate("GameList", status.tooltip)); ^~~~~~~~~~~~~~~~~~ /usr/local/include/qt5/QtCore/qobject.h:446:18: note: forward declaration of 'QApplication' friend class QApplication; ^
This commit is contained in:
parent
048b0fc0d3
commit
394638e9c9
@ -7,6 +7,7 @@
|
||||
#include <atomic>
|
||||
#include <map>
|
||||
#include <unordered_map>
|
||||
#include <QCoreApplication>
|
||||
#include <QImage>
|
||||
#include <QObject>
|
||||
#include <QPainter>
|
||||
|
Loading…
Reference in New Issue
Block a user