Files
qt-creator/tests/manual/debugger/qquick1/myplugin/myplugin.cpp
Kai Koehne f7c9b4eeb2 Debugger: Add simple app to test mixed QML/CPP debugging (QQuick1)
Change-Id: I7b7983a795c3c72e611bd6531c84cf498fb15c9f
Reviewed-by: hjk <qthjk@ovi.com>
2012-01-20 16:18:01 +01:00

12 lines
231 B
C++

#include "myplugin.h"
#include "mytype.h"
void MyPlugin::registerTypes(const char *uri)
{
// @uri mymodule
// bp here should be hit on startup
qmlRegisterType<MyType>(uri, 1, 0, "MyType");
}
Q_EXPORT_PLUGIN(MyPlugin)