* [gentoo-user] Qtcurve, anyone?
@ 2020-05-31 15:36 Peter Humphrey
2020-05-31 16:06 ` Peter Humphrey
0 siblings, 1 reply; 9+ messages in thread
From: Peter Humphrey @ 2020-05-31 15:36 UTC (permalink / raw
To: gentoo-user
Afternoon all,
Still refining my plasma desktop, and recovering from bits of it having been
deleted upstream, I'm trying to install x11-themes/qtcurve, but I get this:
In file included from /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
style/qtcurve_p.h:28,
from /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
style/prepolish.cpp:25:
/var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style/qtcurve.h: At gl
obal scope:
/var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style/qtcurve.h:103:22: error: field ‘path’ has incomplete type ‘QPainterPath’
103 | QPainterPath path;
| ^~~~
Installing plasma-meta didn't help: I got the same error. BGO has nothing
against qtcurve. Can anyone offer an insight? Perhaps it's time to report a
bug.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 15:36 [gentoo-user] Qtcurve, anyone? Peter Humphrey
@ 2020-05-31 16:06 ` Peter Humphrey
2020-05-31 16:15 ` Ashley Dixon
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Peter Humphrey @ 2020-05-31 16:06 UTC (permalink / raw
To: gentoo-user
On Sunday, 31 May 2020 16:36:13 BST Peter Humphrey wrote:
> Still refining my plasma desktop, and recovering from bits of it having been
> deleted upstream, I'm trying to install x11-themes/qtcurve, but I get this:
>
> In file included from
> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
> style/qtcurve_p.h:28,
> from
> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
> style/prepolish.cpp:25:
> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style/qt
> curve.h: At gl obal scope:
> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style/qt
> curve.h:103:22: error: field ‘path’ has incomplete type ‘QPainterPath’ 103 |
> QPainterPath path;
>
> | ^~~~
>
> Installing plasma-meta didn't help: I got the same error. BGO has nothing
> against qtcurve. Can anyone offer an insight? Perhaps it's time to report a
> bug.
I'm confused. Now I get the same error in app-emulation/virtualbox-5.2.40. It
seems I'm lacking a core component of Qt.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 16:06 ` Peter Humphrey
@ 2020-05-31 16:15 ` Ashley Dixon
2020-05-31 16:16 ` Jack
2020-06-01 9:33 ` Peter Humphrey
2 siblings, 0 replies; 9+ messages in thread
From: Ashley Dixon @ 2020-05-31 16:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]
On Sun, May 31, 2020 at 05:06:55PM +0100, Peter Humphrey wrote:
> On Sunday, 31 May 2020 16:36:13 BST Peter Humphrey wrote:
> > Installing plasma-meta didn't help: I got the same error. BGO has nothing
> > against qtcurve. Can anyone offer an insight? Perhaps it's time to report a
> > bug.
>
> I'm confused. Now I get the same error in app-emulation/virtualbox-5.2.40. It
> seems I'm lacking a core component of Qt.
Which version of qtgui are you using ? qtgui certainly provides the QPainter
class, and qtcurve obviously depends on qtgui.
$ e-file -c never QPainter
[I] dev-qt/qtgui
Available Versions: 4.8.4-r1 4.8.7 4.8.7_rc73 5.7.1 5.7.1-r1 5.11.3
5.12.3-r1 5.12.5 5.13.2 5.14.1-r2 5.14.1-r3 5.14.1-r4 5.14.2
5.15.0
Last Installed Ver: 5.14.2(Fri 22 May 2020 01:11:29 BST)
Description: The GUI module and platform plugins for the Qt5
framework
Matched Files: /usr/include/qt5/QtGui/QPainter;
/usr/include/qt4/QtGui/QPainter;
$ equery -C g qtcurve | grep qtgui
x11-themes/qtcurve-1.9.0-r1:
[...]
[ 1] dev-qt/qtgui-5.14.2
[...]
--
Ashley Dixon
suugaku.co.uk
2A9A 4117
DA96 D18A
8A7B B0D2
A30E BF25
F290 A8AA
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 16:06 ` Peter Humphrey
2020-05-31 16:15 ` Ashley Dixon
@ 2020-05-31 16:16 ` Jack
2020-05-31 16:28 ` Stefano Crocco
2020-06-01 9:33 ` Peter Humphrey
2 siblings, 1 reply; 9+ messages in thread
From: Jack @ 2020-05-31 16:16 UTC (permalink / raw
To: gentoo-user
On 5/31/20 12:06 PM, Peter Humphrey wrote:
> On Sunday, 31 May 2020 16:36:13 BST Peter Humphrey wrote:
>
>> Still refining my plasma desktop, and recovering from bits of it having been
>> deleted upstream, I'm trying to install x11-themes/qtcurve, but I get this:
>>
>> In file included from
>> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
>> style/qtcurve_p.h:28,
>> from
>> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
>> style/prepolish.cpp:25:
>> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style/qt
>> curve.h: At gl obal scope:
>> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style/qt
>> curve.h:103:22: error: field ‘path’ has incomplete type ‘QPainterPath’ 103 |
>> QPainterPath path;
>>
>> | ^~~~
>>
>> Installing plasma-meta didn't help: I got the same error. BGO has nothing
>> against qtcurve. Can anyone offer an insight? Perhaps it's time to report a
>> bug.
> I'm confused. Now I get the same error in app-emulation/virtualbox-5.2.40. It
> seems I'm lacking a core component of Qt.
Or something was added or removed from some Qt component, and something
else didn't account for the change. (I don't know one way or the other
in this case.) Perhaps try to find (by following includes?) where the
definition of QPainterPath is, and check old/new versions of whatever
package provides it.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 16:16 ` Jack
@ 2020-05-31 16:28 ` Stefano Crocco
2020-06-01 0:51 ` Peter Humphrey
2020-06-01 9:23 ` Peter Humphrey
0 siblings, 2 replies; 9+ messages in thread
From: Stefano Crocco @ 2020-05-31 16:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1772 bytes --]
On domenica 31 maggio 2020 18:16:22 CEST Jack wrote:
> On 5/31/20 12:06 PM, Peter Humphrey wrote:
> > On Sunday, 31 May 2020 16:36:13 BST Peter Humphrey wrote:
> >> Still refining my plasma desktop, and recovering from bits of it having
> >> been deleted upstream, I'm trying to install x11-themes/qtcurve, but I
> >> get this:
> >>
> >> In file included from
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
> >> style/qtcurve_p.h:28,
> >>
> >> from
> >>
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/
> >> style/prepolish.cpp:25:
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style
> >> /qt curve.h: At gl obal scope:
> >> /var/tmp/portage/x11-themes/qtcurve-1.9.0-r1/work/qtcurve-1.9.0/qt5/style
> >> /qt curve.h:103:22: error: field ‘path’ has incomplete type
> >> ‘QPainterPath’ 103 |>>
> >> QPainterPath path;
> >>
> >> | ^~~~
> >>
> >> Installing plasma-meta didn't help: I got the same error. BGO has nothing
> >> against qtcurve. Can anyone offer an insight? Perhaps it's time to report
> >> a
> >> bug.
> >
> > I'm confused. Now I get the same error in app-emulation/virtualbox-5.2.40.
> > It seems I'm lacking a core component of Qt.
>
> Or something was added or removed from some Qt component, and something
> else didn't account for the change. (I don't know one way or the other
> in this case.) Perhaps try to find (by following includes?) where the
> definition of QPainterPath is, and check old/new versions of whatever
> package provides it.
I think it's simply a missing include directive. The attached patch made
qtcurve compile for me.
Stefano
[-- Attachment #2: painterpath.patch --]
[-- Type: text/x-patch, Size: 449 bytes --]
diff -ru qtcurve-1.9.0/qt5/style/qtcurve.h qtcurve-1.9.0-new/qt5/style/qtcurve.h
--- qtcurve-1.9.0/qt5/style/qtcurve.h 2018-09-11 13:49:05.000000000 +0200
+++ qtcurve-1.9.0-new/qt5/style/qtcurve.h 2020-05-31 18:25:50.341075461 +0200
@@ -34,6 +34,7 @@
#include <QStyleOption>
#include <QtGlobal>
#include <QCommonStyle>
+#include <QPainterPath>
#ifdef QTC_QT5_ENABLE_KDE
#include <KConfigCore/KSharedConfig>
#include <KConfigCore/KConfigGroup>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 16:28 ` Stefano Crocco
@ 2020-06-01 0:51 ` Peter Humphrey
2020-06-01 7:07 ` Michael
2020-06-01 9:23 ` Peter Humphrey
1 sibling, 1 reply; 9+ messages in thread
From: Peter Humphrey @ 2020-06-01 0:51 UTC (permalink / raw
To: gentoo-user
On Sunday, 31 May 2020 17:28:45 BST Stefano Crocco wrote:
> I think it's simply a missing include directive. The attached patch made
> qtcurve compile for me.
Yes, looks like it. Now I just have to re-read the portage docs to see where
to put it.
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-06-01 0:51 ` Peter Humphrey
@ 2020-06-01 7:07 ` Michael
0 siblings, 0 replies; 9+ messages in thread
From: Michael @ 2020-06-01 7:07 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 393 bytes --]
On Monday, 1 June 2020 01:51:36 BST Peter Humphrey wrote:
> On Sunday, 31 May 2020 17:28:45 BST Stefano Crocco wrote:
> > I think it's simply a missing include directive. The attached patch made
> > qtcurve compile for me.
>
> Yes, looks like it. Now I just have to re-read the portage docs to see where
> to put it.
As this page suggests:
https://wiki.gentoo.org/wiki//etc/portage/patches
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 16:28 ` Stefano Crocco
2020-06-01 0:51 ` Peter Humphrey
@ 2020-06-01 9:23 ` Peter Humphrey
1 sibling, 0 replies; 9+ messages in thread
From: Peter Humphrey @ 2020-06-01 9:23 UTC (permalink / raw
To: gentoo-user
On Sunday, 31 May 2020 17:28:45 BST Stefano Crocco wrote:
> I think it's simply a missing include directive. The attached patch made
> qtcurve compile for me.
Works for me too - thanks. Did you make the patch yourself?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] Qtcurve, anyone?
2020-05-31 16:06 ` Peter Humphrey
2020-05-31 16:15 ` Ashley Dixon
2020-05-31 16:16 ` Jack
@ 2020-06-01 9:33 ` Peter Humphrey
2 siblings, 0 replies; 9+ messages in thread
From: Peter Humphrey @ 2020-06-01 9:33 UTC (permalink / raw
To: gentoo-user
On Sunday, 31 May 2020 17:06:55 BST I wrote:
> I'm confused. Now I get the same error in app-emulation/virtualbox-5.2.40.
> It seems I'm lacking a core component of Qt.
Qtcurve is now installed, thanks to Stefano's patch, but I still have the same
problem in virtualbox. I see 69 .h files, so which one needs a similar patch?
And why is this only affecting me?
--
Regards,
Peter.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2020-06-01 9:33 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-05-31 15:36 [gentoo-user] Qtcurve, anyone? Peter Humphrey
2020-05-31 16:06 ` Peter Humphrey
2020-05-31 16:15 ` Ashley Dixon
2020-05-31 16:16 ` Jack
2020-05-31 16:28 ` Stefano Crocco
2020-06-01 0:51 ` Peter Humphrey
2020-06-01 7:07 ` Michael
2020-06-01 9:23 ` Peter Humphrey
2020-06-01 9:33 ` Peter Humphrey
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox