Files
qt-creator/tests/manual/debugger/qquick1/myplugin/myplugin.pro
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

27 lines
608 B
Prolog

TEMPLATE = lib
TARGET = myplugin
QT += declarative
CONFIG += qt plugin
TARGET = $$qtLibraryTarget($$TARGET)
uri = qquick1
# Input
SOURCES += \
myplugin.cpp \
mytype.cpp
HEADERS += \
myplugin.h \
mytype.h
OTHER_FILES = qmldir
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
copy_qmldir.target = $$OUT_PWD/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
}