[pkg-xtuple-maintainers] Bug#906661: openrpt: FTBFS in buster/sid (no type named 'Object' in 'struct QtPrivate::FunctionPointer<const char*>')

Juhani Numminen juhaninumminen0 at gmail.com
Sun Aug 26 17:59:10 BST 2018


Control: retitle -1 openrpt: FTBFS in buster/sid (invalid use of incomplete type 'class QButtonGroup')
Control: tags -1 fixed-upstream
Control: forwarded -1 https://github.com/xtuple/openrpt/pull/96

Hello,
In the build log at reproducible builds, these are first errors to appear:

reportparameter.cpp: In constructor 'ReportParameter::ReportParameter(QWidget*, Qt::WindowFlags)':
reportparameter.cpp:32:55: error: invalid use of incomplete type 'class QButtonGroup'
     QButtonGroup * buttonGroup = new QButtonGroup(this);
                                                       ^
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from tmp/ui_reportparameter.h:34,
                 from reportparameter.h:26,
                 from reportparameter.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
reportparameter.cpp:33:16: error: invalid use of incomplete type 'class QButtonGroup'
     buttonGroup->addButton(_staticList, 0);
                ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from tmp/ui_reportparameter.h:34,
                 from reportparameter.h:26,
                 from reportparameter.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~
reportparameter.cpp:34:16: error: invalid use of incomplete type 'class QButtonGroup'
     buttonGroup->addButton(_dynamicList, 1);
                ^~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/qcheckbox.h:44,
                 from /usr/include/x86_64-linux-gnu/qt5/QtWidgets/QCheckBox:1,
                 from tmp/ui_reportparameter.h:34,
                 from reportparameter.h:26,
                 from reportparameter.cpp:21:
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of 'class QButtonGroup'
 class QButtonGroup;
       ^~~~~~~~~~~~


Cheers,
Juhani



More information about the pkg-xtuple-maintainers mailing list