문제

The code given below is the code generated by MOC in Qt.

const QMetaObject MainWindow::staticMetaObject = { { &QMainWindow::staticMetaObject, qt_meta_stringdata_MainWindow, qt_meta_data_MainWindow, 0 } };

Why is there two continuous curly braces without anything statement in-between? Also, what does the statement mean? Just comma separated variable means anything?

도움이 되었습니까?

해결책

I think it is initializing a list (external braces) of structure (internal braces.)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top