12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- TEMPLATE = lib
- TARGET = bookitemlist
- QT += declarative
- CONFIG += qt plugin
- TARGET = $$qtLibraryTarget($$TARGET)
- uri = com.juhanapaavola.qmlcomponents
- DEFINES+=QUAZIP_STATIC
- INCLUDEPATH+=quazip-0.4.3/quazip
- include(quazip-0.4.3/quazip/quazip.pri)
- # Input
- SOURCES += \
- bookitemlist_plugin.cpp \
- bookitemlist.cpp \
- bookunzipper.cpp \
- book.cpp \
- bookpage.cpp \
- bookunrar.cpp \
- bookunrarqueuethread.cpp
- HEADERS += \
- bookitemlist_plugin.h \
- bookitemlist.h \
- bookunzipper.h \
- book.h \
- bookpage.h \
- bookunrar.h \
- bookunrarqueuethread.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
- }
- qmldir.files = qmldir
- symbian {
- TARGET.EPOCALLOWDLLDATA = 1
- } else:unix {
- maemo5 | !isEmpty(MEEGO_VERSION_MAJOR) {
- installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
- } else {
- installPath = $$[QT_INSTALL_IMPORTS]/$$replace(uri, \\., /)
- }
- installPath = /opt/meecomicui/bin/$$replace(uri, \\., /)
- qmldir.path = $$installPath
- target.path = $$installPath
- INSTALLS += target qmldir
- }
|