1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef LIBC_H #define LIBC_H #include "libc_export.h" #include "libB.h" #include <QObject> class LIBC_EXPORT LibC : public QObject { Q_OBJECT public: explicit LibC(QObject *parent = 0); int foo(); private: LibB b; }; #endif