Opened 7 years ago

Last modified 7 years ago

#53935 new submission

Submission: kf5-osx-integration

Reported by: RJVB (René Bertin) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: mkae (Marko Käning), mojca (Mojca Miklavec), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), RJVB (René Bertin)
Port: kf5-osx-integration

Description

As you know I am still hoping to introduce my own take on the Qt5 port, with one of its main "raisons d'existence" the fact that it allows to build full-featured KF5 applications.

A number of the modifications involved in those adaptations (and 2 upstream fixes) are at the level of Qt's platform (QPA) plugin and its "native" Macintosh widget style plugin. Those components can be extracted and redistributed in patched form (under the LGPLv3 license), which is part of what this port does.

Rather, I have bundled the modified plugins (which depend only on Qt5) with a so-called platform theme plugin, a fork of KDE's Plasma-Integration plugin. This plugin is what allows to give KDE and Qt5 applications a consistent look with user-selectable font and colour palettes as well as the icon theme.

The kf5-osx-integration port will build all 3 plugins by default, but has a variant that will enable only the "pure Qt" plugins.

Main features introduced/modified:

  • Emulate a Menu key: pressing the right Command and Option keys simultaneously will generate a context-menu event
  • support for named menu sections (so that they display their title in addition to a separator line)
  • prevents badly written applications from putting a inappropriate items under the About and Preferences menu items in the Application menu.
  • improved support for less-common font weights like "medium", "book" or "extra-bold".

The current version uses the QPA and widget style sources from Qt 5.8.0 . I don't have the resources to test against a stock Qt 5.7.1 as currently provided by port:qt5 so I'd be very interested in hearing if these plugins build against Qt 5.7 .

Attachments (1)

Portfile (5.6 KB) - added by RJVB (René Bertin) 7 years ago.

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by RJVB (René Bertin)

Attachment: Portfile added

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

I have prepared an alternative implementation which provides the Qt-only plugins through a (conflicting) subport. I don't think that's entirely appropriate though.

Note: See TracTickets for help on using tickets.