Subject: bug#31640: closed (Re: bug#31640: Librecad fails to build with Qt 5.11)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 29 May 2018 13:30:03 +0000

Your bug report

#31640: Librecad fails to build with Qt 5.11

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31640: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31640
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#31640: Librecad fails to build with Qt 5.11
From: Clément Lassieur <[email-masked]>
To: Ricardo Wurmus <[email-masked]>
Cc: [email-masked]
Date: Tue, 29 May 2018 15:29:07 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Ricardo Wurmus <[email-masked]> writes:

> Librecad fails to build since the upgrade to Qt 5.11 in commit
> 1f52eb7be7e166b477b7635ff71936fc05425a6e.

Fixed by 6cedd611774f91056c70d8d3a175d514b9b9fc76.  Thank you for
reporting it.

Clément

Subject: Librecad fails to build with Qt 5.11
From: Ricardo Wurmus <[email-masked]>
To: [email-masked]
Date: Tue, 29 May 2018 14:43:09 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Librecad fails to build since the upgrade to Qt 5.11 in commit
1f52eb7be7e166b477b7635ff71936fc05425a6e.

--8<---------------cut here---------------start------------->8---
ui/generic/widgetcreator.cpp: In constructor ‘WidgetCreator::WidgetCreator(QWidget*, QMap<QString, QAction*>&, QMap<QString, QActionGroup*>, bool)’:
ui/generic/widgetcreator.cpp:59:44: error: invalid use of incomplete type ‘class QActionGroup’
         ui->categories_combobox->addItem(ag->objectName());
                                            ^
In file included from ui/generic/widgetcreator.cpp:27:0:
ui/generic/widgetcreator.h:9:7: note: forward declaration of ‘class QActionGroup’
 class QActionGroup;
       ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtGui/qtguiglobal.h:43:0,
                 from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qtwidgetsglobal.h:43,
                 from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qframe.h:43,
                 from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QFrame:1,
                 from ui/generic/widgetcreator.h:4,
                 from ui/generic/widgetcreator.cpp:27:
ui/generic/widgetcreator.cpp: In member function ‘void WidgetCreator::setCategory(QString)’:
ui/generic/widgetcreator.cpp:233:39: error: invalid use of incomplete type ‘class QActionGroup’
     foreach (auto action, action_group->actions())
                                       ^
In file included from ui/generic/widgetcreator.cpp:27:0:
ui/generic/widgetcreator.h:9:7: note: forward declaration of ‘class QActionGroup’
 class QActionGroup;
       ^
make[2]: *** [Makefile:12199: ../../generated/librecad/obj/widgetcreator.o] Error 1
make[2]: *** Waiting for unfinished jobs....
main/qc_applicationwindow.cpp:3199:48: warning: unused parameter ‘event’ [-Wunused-parameter]
 void QC_ApplicationWindow::changeEvent(QEvent* event)
                                                ^
make[2]: Leaving directory '/tmp/guix-build-librecad-2.1.3.drv-0/LibreCAD-2.1.3/librecad/src'
make[1]: *** [Makefile:45: sub-src-make_first] Error 2
make[1]: Leaving directory '/tmp/guix-build-librecad-2.1.3.drv-0/LibreCAD-2.1.3/librecad'
make: *** [Makefile:91: sub-librecad-make_first-ordered] Error 2
phase `build' failed after 221.3 seconds
builder for `/gnu/store/r9hw8kh3z69hs1wnj5gc44dg8ri5ijkg-librecad-2.1.3.drv' failed with exit code 1
guix package: error: build failed: build of `/gnu/store/r9hw8kh3z69hs1wnj5gc44dg8ri5ijkg-librecad-2.1.3.drv' failed
--8<---------------cut here---------------end--------------->8---

--
Ricardo