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...

Re: Error installing Qelectrotec !!!

You compil it ?
You could found latest fix patch for GCC 8.1.1 here for 0.6 version :
https://svnweb.tuxfamily.org/revision.p … p;peg=5450 

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Error installing Qelectrotec !!!

I'll try...

Re: Error installing Qelectrotec !!!

Apply this patch or download latest 0.6 tarball here :
https://download.qelectrotech.org/qet/b … .60.tar.gz 

Post's attachments

Attachment icon r5450-scorpio810.diff 461 b, 331 downloads since 2018-07-24 

"Le jour où tu découvres le Libre, tu sais que tu ne pourras jamais plus revenir en arrière..."

Re: Error installing Qelectrotec !!!

It worked! Tks !!!