]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - apps/thermostat-demo.git/blobdiff - settingscreen.h
Update to support both Qt 4 and Qt 5
[apps/thermostat-demo.git] / settingscreen.h
index 4edf175725dc9258a933a3d6982d7dc62a16d811..52b450d2680912597b47b2800c5bf6e523ca7a8a 100644 (file)
@@ -1,8 +1,21 @@
 #ifndef SETTINGSCREEN_H
 #define SETTINGSCREEN_H
 
+#include <qglobal.h>
 #include <QtGui>
 
+#if QT_VERSION >= 0x050000
+
+#include <QComboBox>
+#include <QLabel>
+#include <QPushButton>
+#include <QVBoxLayout>
+#include <QGroupBox>
+#include <QHBoxLayout>
+#include <QFormLayout>
+
+#endif
+
 class GlobalSettings;
 class QKeyboardLineEdit;