Hello Alik,
Version 1.5 is neat :) I saw you created a .pro file in order to build QtRPT as a lib, but you forgot to insert the compiler directives to export symbols. Without doing no one can use QtRPT classes and functions.
You can check the default directives that QtCreator inserts in a header file of a dll lib.
it would be something like this (qtrpt_global.h or something like that):
#ifndef QTRPT_GLOBAL_H
#define QTRPT_GLOBAL_H
#include <QtCore/qglobal.h>
#if defined(QTRPT_LIBRARY)
# define QTRPTSHARED_EXPORT Q_DECL_EXPORT
#else
# define QTRPTSHARED_EXPORT Q_DECL_IMPORT
#endif
#endif // QTRPT_GLOBAL_H
and in pro file you must include:
DEFINES += QTRPT_LIBRARY
And in all classes you want to export symbols you must do like this for instance:
class QTRPTSHARED_EXPORT QtRPT : public QWidget {
...
Best Regards
Yes you are right, but all of above only for using as dll. To make universally, needed male a little additional changes into qtrpt.h
Hello. Now you may use QtRPT as a shared library, the updated files you can found at SVN