Qt 6.11 is out! See what's new in the release
blog
[Solved] Difference between #include <Qt/qgroupbox.h> and #include <QGroupBox>
General and Desktop
3
Posts
3
Posters
3.9k
Views
1
Watching
-
You can see into the QT_PATH/inclue folder. There are the Qt/qgroupbox.h header and the QtGui/QGroupBox header inside.
The first file contents:
@#include "../QtGui/qgroupbox.h"@
The second file contents:
@#include "qgroupbox.h"@
So both variants are the same. -
They're both quite the same. #include <QGroupBox> resp. #include <QtGui/QGroupBox> is the recommended variant and more "C++ style".