{
registerBaseTypes("QtQuick", 2, 0);
qmlRegisterType<QDeclarativeBinding>();
+ qmlRegisterUncreatableType<QDeclarativeApplication>("QtQuick",2,0,"Application", QDeclarativeApplication::tr("Application is an abstract class"));
qmlRegisterUncreatableType<QDeclarativeLocale>("QtQuick",2,0,"Locale",QDeclarativeEngine::tr("Locale cannot be instantiated. Use Qt.locale()"));
}
SOURCES += \
+ $$PWD/qdeclarativeapplication.cpp \
$$PWD/qdeclarativeinstruction.cpp \
$$PWD/qdeclarativevmemetaobject.cpp \
$$PWD/qdeclarativeengine.cpp \
$$PWD/qdeclarativeinstruction_p.h \
$$PWD/qdeclarativevmemetaobject_p.h \
$$PWD/qdeclarative.h \
+ $$PWD/qdeclarativeapplication_p.h \
$$PWD/qdeclarativebinding_p.h \
$$PWD/qdeclarativebinding_p_p.h \
$$PWD/qdeclarativeproperty.h \
#include "qdeclarativesystempalette_p.h"
#include "qdeclarativetimer_p.h"
#include "qdeclarativetransition_p.h"
-#include "qdeclarativeapplication_p.h"
#include <qdeclarativeinfo.h>
#include <private/qdeclarativetypenotavailable_p.h>
#ifndef QT_NO_XMLPATTERNS
void QDeclarativeUtilModule::defineModule()
{
- qmlRegisterUncreatableType<QDeclarativeApplication>("QtQuick",2,0,"Application", QDeclarativeApplication::tr("Application is an abstract class"));
qmlRegisterUncreatableType<QInputPanel>("QtQuick",2,0,"InputPanel", QInputPanel::tr("InputPanel is an abstract class"));
qmlRegisterUncreatableType<QDeclarativeAbstractAnimation>("QtQuick",2,0,"Animation",QDeclarativeAbstractAnimation::tr("Animation is an abstract class"));
SOURCES += \
- $$PWD/qdeclarativeapplication.cpp \
$$PWD/qdeclarativeutilmodule.cpp\
$$PWD/qdeclarativeconnections.cpp \
$$PWD/qdeclarativepackage.cpp \
$$PWD/qdeclarativesvgparser.cpp
HEADERS += \
- $$PWD/qdeclarativeapplication_p.h \
$$PWD/qdeclarativeutilmodule_p.h\
$$PWD/qdeclarativeconnections_p.h \
$$PWD/qdeclarativepackage_p.h \