widgets: Add a QT_CONFIG(messagebox) guard
for initResources in QApplication Change-Id: Id083edbcba4b348ef78e55c788ea94f85b6f572b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>bb10
parent
0daa14e191
commit
aaace8fbdb
|
|
@ -113,8 +113,10 @@
|
|||
static void initResources()
|
||||
{
|
||||
Q_INIT_RESOURCE(qstyle);
|
||||
Q_INIT_RESOURCE(qmessagebox);
|
||||
|
||||
#if QT_CONFIG(messagebox)
|
||||
Q_INIT_RESOURCE(qmessagebox);
|
||||
#endif
|
||||
}
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
|
|
|||
Loading…
Reference in New Issue