unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31643: Scribus fails to build since Qt upgrade
@ 2018-05-29 14:11 Ricardo Wurmus
  2018-05-30 18:49 ` Clément Lassieur
  0 siblings, 1 reply; 2+ messages in thread
From: Ricardo Wurmus @ 2018-05-29 14:11 UTC (permalink / raw)
  To: 31643

Scribus fails to build, probably because of the Qt upgrade.  There are a
bunch of errors; some of them are reproduced here:

--8<---------------cut here---------------start------------->8---
…
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:58:12: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
  if (option->state & QStyle::State_Selected)
            ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsEllipseItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.h:32,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:58:22: error: incomplete type ‘QStyle’ used in nested name specifier
  if (option->state & QStyle::State_Selected)
                      ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:61:55: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
   painter->setPen(QPen(Qt::red, qMax(0.1, 1.0 / option->levelOfDetail)));
                                                       ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsEllipseItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.h:32,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:66:55: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
   painter->setPen(QPen(Qt::red, qMax(0.2, 2.0 / option->levelOfDetail)));
                                                       ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsEllipseItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.h:32,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/2geomtools/meshdistortion/meshdistortiondialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp: In member function ‘virtual void LensItem::paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*)’:
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:58:46: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
  painter->setPen(QPen(Qt::black, 1.0 / option->levelOfDetail));
                                              ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.h:33,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:66:12: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
  if (option->state & QStyle::State_Selected)
            ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.h:33,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:66:22: error: incomplete type ‘QStyle’ used in nested name specifier
  if (option->state & QStyle::State_Selected)
                      ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:68:19: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
   scaling = option->levelOfDetail;
                   ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.h:33,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:69:28: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
   double siz = 6.0 / option->levelOfDetail;
                            ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.h:33,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
/tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:72:45: error: invalid use of incomplete type ‘const class QStyleOptionGraphicsItem’
   painter->setPen(QPen(Qt::red, 1.0 / option->levelOfDetail, Qt::DotLine));
                                             ^
In file included from /gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/QGraphicsItem:1:0,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.h:33,
                 from /tmp/guix-build-scribus-1.5.3.drv-0/scribus-1.5.3/scribus/plugins/tools/lenseffects/lensdialog.cpp:27:
/gnu/store/xgpwah2hppghgc7c09jp643ddm2lfjj5-qtbase-5.11.0/include/qt5/QtWidgets/qgraphicsitem.h:80:7: note: forward declaration of ‘class QStyleOptionGraphicsItem’
 class QStyleOptionGraphicsItem;
       ^
make[2]: *** [scribus/plugins/tools/2geomtools/meshdistortion/CMakeFiles/meshdistortion.dir/build.make:77: scribus/plugins/tools/2geomtools/meshdistortion/CMakeFiles/meshdistortion.dir/meshdistortiondialog.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
…
--8<---------------cut here---------------end--------------->8---

--
Ricardo

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#31643: Scribus fails to build since Qt upgrade
  2018-05-29 14:11 bug#31643: Scribus fails to build since Qt upgrade Ricardo Wurmus
@ 2018-05-30 18:49 ` Clément Lassieur
  0 siblings, 0 replies; 2+ messages in thread
From: Clément Lassieur @ 2018-05-30 18:49 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: 31643-done

Ricardo Wurmus <rekado@elephly.net> writes:

> Scribus fails to build, probably because of the Qt upgrade.  There are a
> bunch of errors; some of them are reproduced here:

Fixed by 6f8f98df7f90fd18795f832c32e8d84557a24c0b.  Thanks for reporting
it!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-05-30 18:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-29 14:11 bug#31643: Scribus fails to build since Qt upgrade Ricardo Wurmus
2018-05-30 18:49 ` Clément Lassieur

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).