首页 文章
  • 1 votes
     answers
     views

    Qt中的多级继承

    我正在尝试为我的Qt页面实现多级继承 . class MyPage1: public QWizardPage { Q_OBJECT ... } and class MyPage2: public MyPage1 { Q_OBJECT ... } moc_MyPage2.cc为空,在链接时我收到错误: 错误LNK2001:未解析的外部符号“public:virtual struc...
  • 13 votes
     answers
     views

    如何从C访问嵌套的QML对象?

    这是一个可重复的例子: main.qml import QtQuick 2.0 Item { id : root width: 360 height: 360 Text { id : t1 text: qsTr("Hello World") property int someNumber: 1...

热门问题