From 6d0211d01269273392c0ce9997987e5d68e4d114 Mon Sep 17 00:00:00 2001 From: Warwick Allison Date: Fri, 18 Sep 2009 12:59:09 +1000 Subject: Fix Windows compile. --- src/declarative/qml/qmlengine.cpp | 6 ++++++ src/declarative/qml/qmlsqldatabase.cpp | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/declarative/qml/qmlengine.cpp b/src/declarative/qml/qmlengine.cpp index a00b175..c6edbe2 100644 --- a/src/declarative/qml/qmlengine.cpp +++ b/src/declarative/qml/qmlengine.cpp @@ -84,6 +84,12 @@ #include #include +#ifdef Q_OS_WIN // for %APPDATA% +#include "qt_windows.h" +#include "qlibrary.h" +#define CSIDL_APPDATA 0x001a // \Application Data +#endif + Q_DECLARE_METATYPE(QmlMetaProperty) Q_DECLARE_METATYPE(QList); diff --git a/src/declarative/qml/qmlsqldatabase.cpp b/src/declarative/qml/qmlsqldatabase.cpp index fda0342..5869a56 100644 --- a/src/declarative/qml/qmlsqldatabase.cpp +++ b/src/declarative/qml/qmlsqldatabase.cpp @@ -59,12 +59,6 @@ #include #include -#ifdef Q_OS_WIN // for %APPDATA% -#include "qt_windows.h" -#include "qlibrary.h" -#define CSIDL_APPDATA 0x001a // \Application Data -#endif - Q_DECLARE_METATYPE(QSqlDatabase) Q_DECLARE_METATYPE(QSqlQuery) -- cgit v0.12