mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 10:52:56 +00:00
partial build fix for the case when QT_NO_MESSAGEBOX is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
32ccace532
commit
59a2041f06
2 changed files with 4 additions and 2 deletions
|
@ -123,6 +123,8 @@
|
||||||
// #cmakedefine QT_NO_VECTOR3D
|
// #cmakedefine QT_NO_VECTOR3D
|
||||||
// #cmakedefine QT_NO_MDIAREA
|
// #cmakedefine QT_NO_MDIAREA
|
||||||
// #cmakedefine QT_NO_MENU
|
// #cmakedefine QT_NO_MENU
|
||||||
|
// #cmakedefine QT_NO_MENUBAR
|
||||||
|
// #cmakedefine QT_NO_MESSAGEBOX
|
||||||
|
|
||||||
// Misc
|
// Misc
|
||||||
#cmakedefine QT_NO_USING_NAMESPACE
|
#cmakedefine QT_NO_USING_NAMESPACE
|
||||||
|
@ -152,8 +154,6 @@
|
||||||
#cmakedefine QT_NO_LIBRARY
|
#cmakedefine QT_NO_LIBRARY
|
||||||
#cmakedefine QT_NO_LOCALSERVER
|
#cmakedefine QT_NO_LOCALSERVER
|
||||||
#cmakedefine QT_NO_LOCALSOCKET
|
#cmakedefine QT_NO_LOCALSOCKET
|
||||||
#cmakedefine QT_NO_MENUBAR
|
|
||||||
#cmakedefine QT_NO_MESSAGEBOX
|
|
||||||
#cmakedefine QT_NO_MOVIE
|
#cmakedefine QT_NO_MOVIE
|
||||||
#cmakedefine QT_NO_NETWORKINTERFACE
|
#cmakedefine QT_NO_NETWORKINTERFACE
|
||||||
#cmakedefine QT_NO_PDF
|
#cmakedefine QT_NO_PDF
|
||||||
|
|
|
@ -72,7 +72,9 @@
|
||||||
static void initResources()
|
static void initResources()
|
||||||
{
|
{
|
||||||
Q_INIT_RESOURCE(qstyle);
|
Q_INIT_RESOURCE(qstyle);
|
||||||
|
#ifndef QT_NO_MESSAGEBOX
|
||||||
Q_INIT_RESOURCE(qmessagebox);
|
Q_INIT_RESOURCE(qmessagebox);
|
||||||
|
#endif
|
||||||
#if !defined(QT_NO_PRINTDIALOG)
|
#if !defined(QT_NO_PRINTDIALOG)
|
||||||
Q_INIT_RESOURCE(qprintdialog);
|
Q_INIT_RESOURCE(qprintdialog);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue