README.doc 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. /*! \mainpage Fresh - A Qt extension library
  2. <h2>Introduction</h2>
  3. <a href="https://github.com/pasnox/fresh/home/">Fresh</a> is a <a href="http://qt.nokia.com/">Qt</a> extension library.
  4. As an extension library it add usefull \ref FreshCore and \ref FreshGui classes to extend the possibilities offered by the excellent Qt.
  5. It runs on any operating system supported by Qt (eg. Windows, UNIX/Linux, MacOS/X).
  6. This documentation describes Fresh for Qt 4.
  7. Fresh also includes language bindings for <a href="http://www.python.org">Python</a>.
  8. These require that <a href="http://www.riverbankcomputing.com/software/pyqt/">PyQt</a> v4 is also installed.
  9. This version of Fresh is based on Qt v4.7.x.
  10. <h2>Licensing</h2>
  11. Fresh is licensed under the <a href="http://www.gnu.org/copyleft/lgpl.html">GNU Lesser General Public License v3</a>.
  12. And allow both closed and open source applications to use it.
  13. See the file "LICENSE" to see what license this copy of Fresh is released under.
  14. <h2>Installation</h2>
  15. As supplied Fresh will be built as a static library and installed in the Qt installation folder.
  16. To build Fresh, run:
  17. <pre>
  18. qmake fresh.pro
  19. make
  20. sudo make install
  21. </pre>
  22. If you have both Qt v3 and v4 installed then make sure you use the correct version of <tt>qmake</tt>.
  23. Depending on the compiler you are using you may need to run <tt>nmake</tt> rather than <tt>make</tt>.
  24. Once installed, use it that way in your project:
  25. <pre>
  26. CONFIG *= fresh_static
  27. </pre>
  28. You can replace fresh_static by fresh_shared if you built Fresh in shared mode.
  29. <h2>Example Application</h2>
  30. The example application provided demonstrate nearly all available classes in Fresh.
  31. To build the example, run:
  32. <pre>
  33. qmake subdirs.pro
  34. make
  35. </pre>
  36. On Windows (and depending on the compiler you are using) you may need to run <tt>nmake</tt> rather than <tt>make</tt>.
  37. <h2>Qt Designer Plugin (not yet available)</h2>
  38. Fresh includes an optional plugin for Qt Designer that allows Fresh widgets to be included in GUI designs just like any other Qt widget.
  39. To build the plugin on all platforms, make sure Fresh is installed and then run (as root or administrator):
  40. <pre>
  41. qmake designer.pro
  42. make
  43. make install
  44. </pre>
  45. On Windows (and depending on the compiler you are using) you may need to run <tt>nmake</tt> rather than <tt>make</tt>.
  46. */