qwtconfig.pri 6.9 KB

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