mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
partial build fix for the case when QT_NO_ERRORMESSAGE is defined
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fb7bf4497f
commit
2d9212f90f
2 changed files with 10 additions and 2 deletions
|
@ -101,6 +101,8 @@
|
|||
// #cmakedefine QT_NO_DEBUG_STREAM
|
||||
// #cmakedefine QT_NO_DIRMODEL
|
||||
// #cmakedefine QT_NO_DOCKWIDGET
|
||||
// #cmakedefine QT_NO_DOM
|
||||
// #cmakedefine QT_NO_ERRORMESSAGE
|
||||
|
||||
// Misc
|
||||
#cmakedefine QT_NO_USING_NAMESPACE
|
||||
|
@ -114,9 +116,7 @@
|
|||
#cmakedefine QT_NO_DEBUG
|
||||
#cmakedefine QT_NO_DIAL
|
||||
#cmakedefine QT_NO_DIALOGBUTTONBOX
|
||||
#cmakedefine QT_NO_DOM
|
||||
#cmakedefine QT_NO_EFFECTS
|
||||
#cmakedefine QT_NO_ERRORMESSAGE
|
||||
#cmakedefine QT_NO_FILEDIALOG
|
||||
#cmakedefine QT_NO_FILEICONPROVIDER
|
||||
#cmakedefine QT_NO_FILESYSTEMITERATOR
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
#include <QDebug>
|
||||
#include <QCheckBox>
|
||||
|
||||
#ifndef QT_NO_ERRORMESSAGE
|
||||
|
||||
class tst_QErrorMessage : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -138,3 +140,9 @@ void tst_QErrorMessage::dontShowCategoryAgain()
|
|||
QTEST_MAIN(tst_QErrorMessage)
|
||||
|
||||
#include "moc_tst_qerrormessage.cpp"
|
||||
|
||||
#else // QT_NO_ERRORMESSAGE
|
||||
|
||||
QTEST_NOOP_MAIN
|
||||
|
||||
#endif // QT_NO_ERRORMESSAGE
|
||||
|
|
Loading…
Add table
Reference in a new issue