From 66a3c0d7a18008920ae112abf8640b2dcef04d9f Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Tue, 6 Dec 2011 13:43:06 +0100 Subject: Fix linking of QtQuick.dll on Windows. Put class QDeclarativeComponentAttached into a separate header. When declared as Q_AUTOTEST_EXPORT in declarative/qml/qdeclarativecomponent_p.h which is included by quick/qquickloader.cpp, the Q_AUTOTEST_EXPORT is seen as __declspec(dllexport) and linking fails. Change-Id: I835197e3af6993cfd9325a432f33c636b9bfd3e6 Reviewed-by: Alan Alpert --- src/declarative/qml/qml.pri | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/declarative/qml/qml.pri') diff --git a/src/declarative/qml/qml.pri b/src/declarative/qml/qml.pri index 890eadf2e1..d5f57e7cfe 100644 --- a/src/declarative/qml/qml.pri +++ b/src/declarative/qml/qml.pri @@ -117,7 +117,8 @@ HEADERS += \ $$PWD/qdeclarativenullablevalue_p_p.h \ $$PWD/qdeclarativescriptstring_p.h \ $$PWD/qdeclarativelocale_p.h \ - $$PWD/qlistmodelinterface_p.h + $$PWD/qlistmodelinterface_p.h \ + $$PWD/qdeclarativecomponentattached_p.h QT += sql include(parser/parser.pri) -- cgit v1.2.3