summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/calwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/calwidget.cpp')
-rw-r--r--Tests/QtAutogen/calwidget.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/QtAutogen/calwidget.cpp b/Tests/QtAutogen/calwidget.cpp
index defde20..5f59994 100644
--- a/Tests/QtAutogen/calwidget.cpp
+++ b/Tests/QtAutogen/calwidget.cpp
@@ -50,6 +50,9 @@
#include "calwidget.h"
#include "ui_calwidget.h"
+ #ifdef UI_CALWIDGET_H
+ #error Definition of UI_CALWIDGET_H should be disabled by file option.
+ #endif
Window::Window()
: ui(new Ui::Window)