美文网首页
note: forward declaration of 'cl

note: forward declaration of 'cl

作者: LFBuildMountain | 来源:发表于2018-05-29 11:31 被阅读0次

QT 4 support forward declaration

orward declaration is not supported as:

//#include <QtGui>
//class QCheckBox;
//class QLabel;
//class QLineEdit;
//class QPushButton;

must be replaced by:

#include <QDialog>
#include <QLabel>
#include <QPushButton>
#include <QLineEdit>
#include <QCheckBox>
#include <QHBoxLayout>

QT4.82 support forward declaration, QT5.3 doesn't.

相关文章

网友评论

      本文标题:note: forward declaration of 'cl

      本文链接:https://www.haomeiwen.com/subject/meiojftx.html