widgets: Add a QT_CONFIG(messagebox) guard
for initResources in QApplication Change-Id: Id083edbcba4b348ef78e55c788ea94f85b6f572b Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
This commit is contained in:
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…
x
Reference in New Issue
Block a user