public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Stefano Crocco <posta@stefanocrocco.it>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Qtcurve, anyone?
Date: Sun, 31 May 2020 18:28:45 +0200	[thread overview]
Message-ID: <2025128.irdbgypaU6@linux> (raw)
In-Reply-To: <00f8a99b-e034-a9c5-36b4-f1790e985f58@users.sourceforge.net>

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

  reply	other threads:[~2020-05-31 16:27 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2025128.irdbgypaU6@linux \
    --to=posta@stefanocrocco.it \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox