Hi all,
I'm implementing a non-GUI library that links only against QtCore. As a design flaw, there is a method that has a QWidget* as a parameter. I'm wondering why that code compiles fine without a #include <QWidget> or a class forward declaration.
Furthermore, why is this code linking fine by using just QtCore ?
I noticed that the same qwidget.h file is present in /usr/local/include/qt4/Qt and /usr/local/include/qt4/QtCore. Why this duplicated file ?
TIA,
Sandro
Bookmarks