bookitemlist.pro 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. TEMPLATE = lib
  2. TARGET = bookitemlist
  3. QT += declarative
  4. CONFIG += qt plugin
  5. TARGET = $$qtLibraryTarget($$TARGET)
  6. uri = com.juhanapaavola.qmlcomponents
  7. DEFINES+=QUAZIP_STATIC
  8. INCLUDEPATH+=quazip-0.4.3/quazip
  9. include(quazip-0.4.3/quazip/quazip.pri)
  10. # Input
  11. SOURCES += \
  12. bookitemlist_plugin.cpp \
  13. bookitemlist.cpp \
  14. bookunzipper.cpp \
  15. book.cpp \
  16. bookpage.cpp \
  17. bookunrar.cpp \
  18. bookunrarqueuethread.cpp
  19. HEADERS += \
  20. bookitemlist_plugin.h \
  21. bookitemlist.h \
  22. bookunzipper.h \
  23. book.h \
  24. bookpage.h \
  25. bookunrar.h \
  26. bookunrarqueuethread.h
  27. OTHER_FILES = qmldir
  28. !equals(_PRO_FILE_PWD_, $$OUT_PWD) {
  29. copy_qmldir.target = $$OUT_PWD/qmldir
  30. copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
  31. copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
  32. QMAKE_EXTRA_TARGETS += copy_qmldir
  33. PRE_TARGETDEPS += $$copy_qmldir.target
  34. }
  35. qmldir.files = qmldir
  36. symbian {
  37. TARGET.EPOCALLOWDLLDATA = 1
  38. } else:unix {
  39. maemo5 | !isEmpty(MEEGO_VERSION_MAJOR) {
  40. installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
  41. } else {
  42. installPath = $$[QT_INSTALL_IMPORTS]/$$replace(uri, \\., /)
  43. }
  44. installPath = /opt/meecomicui/bin/$$replace(uri, \\., /)
  45. qmldir.path = $$installPath
  46. target.path = $$installPath
  47. INSTALLS += target qmldir
  48. }