diff --git a/weatherwidget.h b/weatherwidget.h
index bffb368ea9403dbe616ec6d7205df1be13a5a087..7129d57a784e015e4f1d0d493da6335466b52f54 100644 (file)
--- a/weatherwidget.h
+++ b/weatherwidget.h
#ifndef WEATHERWIDGET_H\r
#define WEATHERWIDGET_H\r
\r
+#include <qglobal.h>\r
#include <QtGui>\r
-\r
#include <QtSvg/QSvgWidget>\r
\r
+#if QT_VERSION >= 0x050000\r
+\r
+#include <QStackedWidget>\r
+#include <QLabel>\r
+#include <QHBoxLayout>\r
+#include <QVBoxLayout>\r
+\r
+#endif\r
+\r
class QLabel;\r
class WeatherData;\r
class WeatherDataWidget;\r