Topic: Error installing Qelectrotec !!!
I can not finish installing Qelectrotech.
My PC: Linux Manjaro XFCE !
I need help !!! Please
invalid use of incomplete type ‘class QButtonGroup’
QButtonGroup *button_group = new QButtonGroup(this);
^
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
from /usr/include/qt/QtWidgets/QRadioButton:1,
from ./ui_importelementdialog.h:17,
from sources/ui/importelementdialog.cpp:19:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
class QButtonGroup;
^~~~~~~~~~~~
sources/ui/importelementdialog.cpp:45:14: error: invalid use of incomplete type ‘class QButtonGroup’
button_group->addButton(ui->m_use_actual_rd);
^~
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
from /usr/include/qt/QtWidgets/QRadioButton:1,
from ./ui_importelementdialog.h:17,
from sources/ui/importelementdialog.cpp:19:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
class QButtonGroup;
^~~~~~~~~~~~
sources/ui/importelementdialog.cpp:46:14: error: invalid use of incomplete type ‘class QButtonGroup’
button_group->addButton(ui->m_use_drop_rb);
^~
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
from /usr/include/qt/QtWidgets/QRadioButton:1,
from ./ui_importelementdialog.h:17,
from sources/ui/importelementdialog.cpp:19:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
class QButtonGroup;
^~~~~~~~~~~~
sources/ui/importelementdialog.cpp:47:57: error: invalid use of incomplete type ‘class QButtonGroup’
QButtonGroup *button_group_drop = new QButtonGroup(this);
^
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
from /usr/include/qt/QtWidgets/QRadioButton:1,
from ./ui_importelementdialog.h:17,
from sources/ui/importelementdialog.cpp:19:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
class QButtonGroup;
^~~~~~~~~~~~
sources/ui/importelementdialog.cpp:48:19: error: invalid use of incomplete type ‘class QButtonGroup’
button_group_drop->addButton(ui->m_erase_actual_rb);
^~
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
from /usr/include/qt/QtWidgets/QRadioButton:1,
from ./ui_importelementdialog.h:17,
from sources/ui/importelementdialog.cpp:19:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
class QButtonGroup;
^~~~~~~~~~~~
sources/ui/importelementdialog.cpp:49:19: error: invalid use of incomplete type ‘class QButtonGroup’
button_group_drop->addButton(ui->m_use_both_rb);
^~
In file included from /usr/include/qt/QtWidgets/qradiobutton.h:44,
from /usr/include/qt/QtWidgets/QRadioButton:1,
from ./ui_importelementdialog.h:17,
from sources/ui/importelementdialog.cpp:19:
/usr/include/qt/QtWidgets/qabstractbutton.h:53:7: note: forward declaration of ‘class QButtonGroup’
class QButtonGroup;
^~~~~~~~~~~~
make[1]: *** [Makefile.Release:4911: release/importelementdialog.o] Error 1
make[1]: Leaving directory '/tmp/pamac-build-gleissonjjc/qelectrotech/src/qelectrotech-0.6-src'
make: *** [Makefile:40: release] Error 2
==> ERRO: Uma falha ocorreu em build().
Abortando...