#include "cameraconfig.h"
#include "qtcamconfig.h"
+#if defined(QT4)
#include <QDeclarativeInfo>
+#elif defined(QT5)
+#include <QQmlInfo>
+#endif
+
+// TODO: share that with qtcamera. We now have 2 instances of QtCamConfig
CameraConfig::CameraConfig(QObject *parent) :
QObject(parent),