Opened 6 years ago

Closed 5 years ago

#44527 closed submission (fixed)

QtCurve submission

Reported by: RJVB (René Bertin) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: NicosPavlov, michaelld (Michael Dickens), mkae (Marko Käning)
Port: QtCurve

Description

Attached are a Portfile and an example customised theme for the QtCurve KDE and Qt style. One of the advantages of this style is that it is extremely configurable (even if part of the configurations are irrelevant without a KWin).

The style can be built as Qt-only (+qtonly) variant. Contrary to the Oxygen style from the kde4-workspace port, QtCurve shows no double-heavy frames when used in pure Qt applications.

NB: for Qt to pick up the style in the non-qtonly version, one either has to copy qtcurve.so into the right place or symlink

ln -s ${prefix}/lib/kde4/plugins/styles ${prefix}/share/qt4/plugins

I could get neither the MacPorts ln command to work, nor system "ln -s ..." so I restored to alerting the user to this step via a note.

Attachments (11)

qtc_qtcurve-rjvb.themerc (3.5 KB) - added by RJVB (René Bertin) 6 years ago.
QtCurve-OSX.colors (2.3 KB) - added by RJVB (René Bertin) 6 years ago.
Portfile (2.3 KB) - added by RJVB (René Bertin) 6 years ago.
QtCurveOSX.colors (2.3 KB) - added by RJVB (René Bertin) 6 years ago.
replaces QtCurve-OSX.colors
QtCurveOSX.2.colors (2.3 KB) - added by RJVB (René Bertin) 6 years ago.
qtc_qtcurve-osx.themerc (3.5 KB) - added by RJVB (René Bertin) 6 years ago.
QtCurve-OSX.qtcurve (3.5 KB) - added by RJVB (René Bertin) 6 years ago.
OxygenOSX.colors (2.3 KB) - added by RJVB (René Bertin) 5 years ago.
slightly different colour scheme, the one I'm currently using
OSX-Qt4only-patches.patch (12.9 KB) - added by RJVB (René Bertin) 5 years ago.
OSX-Qt5included-patches.patch (4.1 KB) - added by RJVB (René Bertin) 5 years ago.
Portfile-1.8.18 (3.1 KB) - added by RJVB (René Bertin) 5 years ago.
Portfile for v1.8.18

Download all attachments as: .zip

Change History (19)

Changed 6 years ago by RJVB (René Bertin)

Attachment: qtc_qtcurve-rjvb.themerc added

comment:1 in reply to:  description Changed 6 years ago by ryandesign (Ryan Schmidt)

Replying to rjvbertin@…:

NB: for Qt to pick up the style in the non-qtonly version, one either has to copy qtcurve.so into the right place or symlink

ln -s ${prefix}/lib/kde4/plugins/styles ${prefix}/share/qt4/plugins

I could get neither the MacPorts ln command to work, nor system "ln -s ..." so I restored to alerting the user to this step via a note.

There shouldn't be a problem doing it either of the first two ways, provided you're creating the symlink within the destroot.

Last edited 6 years ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:2 Changed 6 years ago by RJVB (René Bertin)

Thanks for insisting, turned out to be false alarm. Let's just say I'm not yet familiar enough with the install command :-/

Changed 6 years ago by RJVB (René Bertin)

Attachment: QtCurve-OSX.colors added

comment:3 Changed 6 years ago by RJVB (René Bertin)

I've added a theme (and colour set) which IMHO integrates better with OS X.

Changed 6 years ago by RJVB (René Bertin)

Attachment: Portfile added

Changed 6 years ago by RJVB (René Bertin)

Attachment: QtCurveOSX.colors added

replaces QtCurve-OSX.colors

comment:4 in reply to:  3 Changed 6 years ago by RJVB (René Bertin)

Replying to rjvbertin@…:

I've added a theme (and colour set) which IMHO integrates better with OS X.

Retouched, and improved the accompanying colour scheme.

Changed 6 years ago by RJVB (René Bertin)

Attachment: QtCurveOSX.2.colors added

Changed 6 years ago by RJVB (René Bertin)

Attachment: qtc_qtcurve-osx.themerc added

Changed 6 years ago by RJVB (René Bertin)

Attachment: QtCurve-OSX.qtcurve added

comment:5 Changed 5 years ago by RJVB (René Bertin)

QtCurve is currently at 1.8.18, which adds Qt5 and GTK2 themes. Not as straightforward an update as I'd have liked: https://git.reviewboard.kde.org/r/120437/ (has screenshots).

The modified Portfile might need to have a few more dependencies added, testers welcome!

Note that this requires a C++11 compiler that can actually find a number of C++11-specific header files (<utility> among others). On OS X 10.6.8, that seems to require MacPorts-gcc4.8 or later (possibly 4.7). Macports-clang-3.4 does have the files in question but doesn't find them (or gives priority to the ones from Apple's gcc-4.2 which are evidently out of date).

Last edited 5 years ago by RJVB (René Bertin) (previous) (diff)

Changed 5 years ago by RJVB (René Bertin)

Attachment: OxygenOSX.colors added

slightly different colour scheme, the one I'm currently using

Changed 5 years ago by RJVB (René Bertin)

Attachment: OSX-Qt4only-patches.patch added

Changed 5 years ago by RJVB (René Bertin)

comment:6 Changed 5 years ago by RJVB (René Bertin)

I just pushed my patchset to QtCurve's git repo, commit #6b9c0eb7, so the OSX-Qt* patches are obsolete.

Changed 5 years ago by RJVB (René Bertin)

Attachment: Portfile-1.8.18 added

Portfile for v1.8.18

comment:7 Changed 5 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:8 Changed 5 years ago by mkae (Marko Käning)

Resolution: fixed
Status: newclosed

Committed as r126006.

Note: See TracTickets for help on using tickets.