QSint Installation Instructions
Download
- Sources
- svn checkout https://svn.code.sf.net/p/qsint/code/ qsint-code
Dependencies
- Qt5Widgets
Installation
- Unpack QSint from archive into a directory, i.e. c:/qsint.
- Go into this directory and either open qsint.pro with Qt Creator and build from IDE, or use qmake and make sequence (depending on which compiler you have installed on your system).
- Depending on your local project/compiler settings, library and binaries will be placed into the directory QSINT_BUILD_ROOT (it can be the same as QSINT_ROOT, or different, i.e. c:/qsint-build-desktop etc.)
- After successful build process, you will get the library in the QSINT_BUILD_ROOT/lib subdirectory and examples executables in the QSINT_BUILD_ROOT/examples subdirectories.
Usage
To use QSint in your project:
- Add into your .pro file:
INCLUDEPATH += QSINT_ROOT/include
// for release version
LIBS += -LQSINT_BUILD_ROOT/lib -lqsint
// for debug version
LIBS += -LQSINT_BUILD_ROOT/lib -lqsintd
- In the .h/.cpp files where QSint widgets are used, put the necessary includes:
// for Core module
#include <QSint>
// for Charts module
#include <QSintCharts>
- As all the QSint classes are nested within QSint namespace, you would also like to use this namespace as well.
using namespace QSint;