Qt Quick based coffee brewing control chart.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

qmlapplicationviewer.pri 5.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. # checksum 0x5b42 version 0x70013
  2. # This file was generated by the Qt Quick Application wizard of Qt Creator.
  3. # The code below adds the QmlApplicationViewer to the project and handles the
  4. # activation of QML debugging.
  5. # It is recommended not to modify this file, since newer versions of Qt Creator
  6. # may offer an updated version of it.
  7. QT += declarative
  8. SOURCES += $$PWD/qmlapplicationviewer.cpp
  9. HEADERS += $$PWD/qmlapplicationviewer.h
  10. INCLUDEPATH += $$PWD
  11. # Include JS debugger library if QMLJSDEBUGGER_PATH is set
  12. !isEmpty(QMLJSDEBUGGER_PATH) {
  13. include($$QMLJSDEBUGGER_PATH/qmljsdebugger-lib.pri)
  14. } else {
  15. DEFINES -= QMLJSDEBUGGER
  16. }
  17. contains(CONFIG,qdeclarative-boostable):contains(MEEGO_EDITION,harmattan) {
  18. DEFINES += HARMATTAN_BOOSTER
  19. }
  20. # This file was generated by an application wizard of Qt Creator.
  21. # The code below handles deployment to Symbian and Maemo, aswell as copying
  22. # of the application data to shadow build directories on desktop.
  23. # It is recommended not to modify this file, since newer versions of Qt Creator
  24. # may offer an updated version of it.
  25. defineTest(qtcAddDeployment) {
  26. for(deploymentfolder, DEPLOYMENTFOLDERS) {
  27. item = item$${deploymentfolder}
  28. itemsources = $${item}.sources
  29. $$itemsources = $$eval($${deploymentfolder}.source)
  30. itempath = $${item}.path
  31. $$itempath= $$eval($${deploymentfolder}.target)
  32. export($$itemsources)
  33. export($$itempath)
  34. DEPLOYMENT += $$item
  35. }
  36. MAINPROFILEPWD = $$PWD
  37. symbian {
  38. isEmpty(ICON):exists($${TARGET}.svg):ICON = $${TARGET}.svg
  39. isEmpty(TARGET.EPOCHEAPSIZE):TARGET.EPOCHEAPSIZE = 0x20000 0x2000000
  40. } else:win32 {
  41. copyCommand =
  42. for(deploymentfolder, DEPLOYMENTFOLDERS) {
  43. source = $$MAINPROFILEPWD/$$eval($${deploymentfolder}.source)
  44. source = $$replace(source, /, \\)
  45. sourcePathSegments = $$split(source, \\)
  46. target = $$OUT_PWD/$$eval($${deploymentfolder}.target)/$$last(sourcePathSegments)
  47. target = $$replace(target, /, \\)
  48. target ~= s,\\\\\\.?\\\\,\\,
  49. !isEqual(source,$$target) {
  50. !isEmpty(copyCommand):copyCommand += &&
  51. isEqual(QMAKE_DIR_SEP, \\) {
  52. copyCommand += $(COPY_DIR) \"$$source\" \"$$target\"
  53. } else {
  54. source = $$replace(source, \\\\, /)
  55. target = $$OUT_PWD/$$eval($${deploymentfolder}.target)
  56. target = $$replace(target, \\\\, /)
  57. copyCommand += test -d \"$$target\" || mkdir -p \"$$target\" && cp -r \"$$source\" \"$$target\"
  58. }
  59. }
  60. }
  61. !isEmpty(copyCommand) {
  62. copyCommand = @echo Copying application data... && $$copyCommand
  63. copydeploymentfolders.commands = $$copyCommand
  64. first.depends = $(first) copydeploymentfolders
  65. export(first.depends)
  66. export(copydeploymentfolders.commands)
  67. QMAKE_EXTRA_TARGETS += first copydeploymentfolders
  68. }
  69. } else:unix {
  70. maemo5 {
  71. desktopfile.files = $${TARGET}.desktop
  72. desktopfile.path = /usr/share/applications/hildon
  73. icon.files = $${TARGET}64.png
  74. icon.path = /usr/share/icons/hicolor/64x64/apps
  75. } else:!isEmpty(MEEGO_VERSION_MAJOR) {
  76. desktopfile.files = $${TARGET}_harmattan.desktop
  77. desktopfile.path = /usr/share/applications
  78. icon.files = $${TARGET}80.png
  79. icon.path = /usr/share/icons/hicolor/80x80/apps
  80. } else { # Assumed to be a Desktop Unix
  81. copyCommand =
  82. for(deploymentfolder, DEPLOYMENTFOLDERS) {
  83. source = $$MAINPROFILEPWD/$$eval($${deploymentfolder}.source)
  84. source = $$replace(source, \\\\, /)
  85. macx {
  86. target = $$OUT_PWD/$${TARGET}.app/Contents/Resources/$$eval($${deploymentfolder}.target)
  87. } else {
  88. target = $$OUT_PWD/$$eval($${deploymentfolder}.target)
  89. }
  90. target = $$replace(target, \\\\, /)
  91. sourcePathSegments = $$split(source, /)
  92. targetFullPath = $$target/$$last(sourcePathSegments)
  93. targetFullPath ~= s,/\\.?/,/,
  94. !isEqual(source,$$targetFullPath) {
  95. !isEmpty(copyCommand):copyCommand += &&
  96. copyCommand += $(MKDIR) \"$$target\"
  97. copyCommand += && $(COPY_DIR) \"$$source\" \"$$target\"
  98. }
  99. }
  100. !isEmpty(copyCommand) {
  101. copyCommand = @echo Copying application data... && $$copyCommand
  102. copydeploymentfolders.commands = $$copyCommand
  103. first.depends = $(first) copydeploymentfolders
  104. export(first.depends)
  105. export(copydeploymentfolders.commands)
  106. QMAKE_EXTRA_TARGETS += first copydeploymentfolders
  107. }
  108. }
  109. installPrefix = /opt/$${TARGET}
  110. for(deploymentfolder, DEPLOYMENTFOLDERS) {
  111. item = item$${deploymentfolder}
  112. itemfiles = $${item}.files
  113. $$itemfiles = $$eval($${deploymentfolder}.source)
  114. itempath = $${item}.path
  115. $$itempath = $${installPrefix}/$$eval($${deploymentfolder}.target)
  116. export($$itemfiles)
  117. export($$itempath)
  118. INSTALLS += $$item
  119. }
  120. !isEmpty(desktopfile.path) {
  121. export(icon.files)
  122. export(icon.path)
  123. export(desktopfile.files)
  124. export(desktopfile.path)
  125. INSTALLS += icon desktopfile
  126. }
  127. target.path = $${installPrefix}/bin
  128. export(target.path)
  129. INSTALLS += target
  130. }
  131. export (ICON)
  132. export (INSTALLS)
  133. export (DEPLOYMENT)
  134. export (TARGET.EPOCHEAPSIZE)
  135. export (TARGET.CAPABILITY)
  136. export (LIBS)
  137. export (QMAKE_EXTRA_TARGETS)
  138. }