Advertisement
Guest User

Untitled

a guest
Aug 31st, 2015
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.07 KB | None | 0 0
  1. ################################################################
  2. # Qwt Widget Library
  3. # Copyright (C) 1997 Josef Wilgen
  4. # Copyright (C) 2002 Uwe Rathmann
  5. #
  6. # This library is free software; you can redistribute it and/or
  7. # modify it under the terms of the Qwt License, Version 1.0
  8. ################################################################
  9.  
  10. QWT_VER_MAJ = 6
  11. QWT_VER_MIN = 1
  12. QWT_VER_PAT = 2
  13. QWT_VERSION = $${QWT_VER_MAJ}.$${QWT_VER_MIN}.$${QWT_VER_PAT}
  14.  
  15. ######################################################################
  16. # Install paths
  17. ######################################################################
  18.  
  19. QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
  20.  
  21. unix {
  22. QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION
  23. # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION
  24. }
  25.  
  26. win32 {
  27. QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION
  28. # QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION-qt-$$QT_VERSION
  29. }
  30.  
  31. QWT_INSTALL_DOCS = $${QWT_INSTALL_PREFIX}/doc
  32. QWT_INSTALL_HEADERS = $${QWT_INSTALL_PREFIX}/include
  33. QWT_INSTALL_LIBS = $${QWT_INSTALL_PREFIX}/lib
  34.  
  35. ######################################################################
  36. # Designer plugin
  37. # creator/designer load designer plugins from certain default
  38. # directories ( f.e the path below QT_INSTALL_PREFIX ) and the
  39. # directories listed in the QT_PLUGIN_PATH environment variable.
  40. # When using the path below QWT_INSTALL_PREFIX you need to
  41. # add $${QWT_INSTALL_PREFIX}/plugins to QT_PLUGIN_PATH in the
  42. # runtime environment of designer/creator.
  43. ######################################################################
  44.  
  45. QWT_INSTALL_PLUGINS = $${QWT_INSTALL_PREFIX}/plugins/designer
  46.  
  47. # linux distributors often organize the Qt installation
  48. # their way and QT_INSTALL_PREFIX doesn't offer a good
  49. # path. Also QT_INSTALL_PREFIX is only one of the default
  50. # search paths of the designer - not the Qt creator
  51.  
  52. #QWT_INSTALL_PLUGINS = $$[QT_INSTALL_PREFIX]/plugins/designer
  53.  
  54. ######################################################################
  55. # Features
  56. # When building a Qwt application with qmake you might want to load
  57. # the compiler/linker flags, that are required to build a Qwt application
  58. # from qwt.prf. Therefore all you need to do is to add "CONFIG += qwt"
  59. # to your project file and take care, that qwt.prf can be found by qmake.
  60. # ( see http://doc.trolltech.com/4.7/qmake-advanced-usage.html#adding-new-configuration-features )
  61. # I recommend not to install the Qwt features together with the
  62. # Qt features, because you will have to reinstall the Qwt features,
  63. # with every Qt upgrade.
  64. ######################################################################
  65.  
  66. QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
  67. # QWT_INSTALL_FEATURES = $$[QT_INSTALL_PREFIX]/features
  68.  
  69. ######################################################################
  70. # Build the static/shared libraries.
  71. # If QwtDll is enabled, a shared library is built, otherwise
  72. # it will be a static library.
  73. ######################################################################
  74.  
  75. QWT_CONFIG += QwtDll
  76.  
  77. ######################################################################
  78. # QwtPlot enables all classes, that are needed to use the QwtPlot
  79. # widget.
  80. ######################################################################
  81.  
  82. QWT_CONFIG += QwtPlot
  83.  
  84. ######################################################################
  85. # QwtWidgets enables all classes, that are needed to use the all other
  86. # widgets (sliders, dials, ...), beside QwtPlot.
  87. ######################################################################
  88.  
  89. QWT_CONFIG += QwtWidgets
  90.  
  91. ######################################################################
  92. # If you want to display svg images on the plot canvas, or
  93. # export a plot to a SVG document
  94. ######################################################################
  95.  
  96. QWT_CONFIG += QwtSvg
  97.  
  98. ######################################################################
  99. # If you want to use a OpenGL plot canvas
  100. ######################################################################
  101.  
  102. QWT_CONFIG += QwtOpenGL
  103.  
  104. ######################################################################
  105. # You can use the MathML renderer of the Qt solutions package to
  106. # enable MathML support in Qwt. Because of license implications
  107. # the ( modified ) code of the MML Widget solution is included and
  108. # linked together with the QwtMathMLTextEngine into an own library.
  109. # To use it you will have to add "CONFIG += qwtmathml"
  110. # to your qmake project file.
  111. ######################################################################
  112.  
  113. QWT_CONFIG += QwtMathML
  114.  
  115. ######################################################################
  116. # If you want to build the Qwt designer plugin,
  117. # enable the line below.
  118. # Otherwise you have to build it from the designer directory.
  119. ######################################################################
  120.  
  121. #QWT_CONFIG += QwtDesigner
  122.  
  123. ######################################################################
  124. # Compile all Qwt classes into the designer plugin instead
  125. # of linking it against the shared Qwt library. Has no effect
  126. # when QwtDesigner or QwtDll are not both enabled.
  127. #
  128. # On systems where rpath is supported ( all Unixoids ) the
  129. # location of the installed Qwt library is compiled into the plugin,
  130. # but on Windows it might be easier to have a self contained
  131. # plugin to avoid any hassle with configuring the runtime
  132. # environment of the designer/creator.
  133. ######################################################################
  134.  
  135. win32 {
  136. QWT_CONFIG += QwtDesignerSelfContained
  137. }
  138.  
  139. ######################################################################
  140. # If you want to auto build the examples, enable the line below
  141. # Otherwise you have to build them from the examples directory.
  142. ######################################################################
  143.  
  144. QWT_CONFIG += QwtExamples
  145.  
  146. ######################################################################
  147. # The playground is primarily intended for the Qwt development
  148. # to explore and test new features. Nevertheless you might find
  149. # ideas or code snippets that help for application development
  150. # If you want to auto build the applications in playground, enable
  151. # the line below.
  152. # Otherwise you have to build them from the playground directory.
  153. ######################################################################
  154.  
  155. #QWT_CONFIG += QwtPlayground
  156.  
  157. ######################################################################
  158. # When Qt has been built as framework qmake wants
  159. # to link frameworks instead of regular libs
  160. ######################################################################
  161.  
  162. macx:!static:CONFIG(qt_framework, qt_framework|qt_no_framework) {
  163.  
  164. QWT_CONFIG += QwtFramework
  165. }
  166.  
  167. ######################################################################
  168. # Create and install pc files for pkg-config
  169. # See http://www.freedesktop.org/wiki/Software/pkg-config/
  170. ######################################################################
  171.  
  172. unix {
  173.  
  174. #QWT_CONFIG += QwtPkgConfig
  175. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement