글
QWidet을 상속 받은 클래스의 경우에
객체를 직접 사용하지 못하게 QT에서는 막고 있다.
그래서 그대로 사용하게 되면 다음과 같은 애러가 발생하며
해당 내용에 대해서 알기가 어렵다.
애러는 다음과 같이 난다.
C:\Qt\Qt5.4.1\5.4\mingw491_32\include\QtWidgets\qwidget.h:719: error: 'QWidget::QWidget(const QWidget&)' is private
Q_DISABLE_COPY(QWidget)
C:\Users\User\Documents\xxxxxx\trunk\application\mainview\glucosedownloadlist.h:13: error: within this context
class GlucosedownloadList : public QWidget, public UITableViewDelegate
그러므로 해당하는 경우에 객체를 직접 접근하지 말고 referece(포인터)를 이용해서 접근해서 해결한다.
^
^
RECENT COMMENT