[KDE/Mac] Review Request 122115: [OS X] source code adaptations to OS X

René J.V. Bertin rjvbertin at gmail.com
Sun Jan 18 16:09:34 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122115/
-----------------------------------------------------------

(Updated Jan. 18, 2015, 4:09 p.m.)


Status
------

This change has been marked as submitted.


Review request for Calligra and KDE Software on Mac OS X.


Repository: calligra


Description
-------

This patch is a companion to the build system adaptations from RR 122114(https://git.reviewboard.kde.org/r/122114/), and includes a number of adaptations to OS X peculiarities.

In order of appearance in the patch file:
- OS X has a so-called `application menu` which has a number of standard `menu items` (actions in Qt speak): About, Preferences and Quit. Qt tries to guess which actions are to be assigned to these menu items, in a 1st come, 1st served fashion and using text-based heuristics on the action text. This works reliably enough for Quit, but not so for the About and Preferences items which both tend to have multiple matches in KDE menus. For this reason it is good practice to `setMenuRole` on the relevant actions when they are created.
- `typedef void* GLsync`: in order not to impose a required dependency on GLEW.
- KDE applications commonly use the `.so` extension for shared modules and plugins, and the build system creates them that way.


Diffs
-----

  flow/part/FlowView.cpp 5ce755f 
  karbon/ui/KarbonView.cpp db71464 
  krita/ui/opengl/kis_opengl_canvas2_p.h 16ba118 
  libs/db/drivers/sqlite/sqliteconnection.cpp 23a6eca 
  libs/kopageapp/KoPAView.cpp fa0e381 
  words/part/KWView.cpp 9f2f230 

Diff: https://git.reviewboard.kde.org/r/122115/diff/


Testing
-------

On OS X 10.9.5 with kdelibs 4.14.4 and Qt 4.8.6, on a mid 2011 13" Macbook Pro (2.7Ghz dual-core i7, Intel HD3000 graphics)


Thanks,

René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-mac/attachments/20150118/d189ed95/attachment.html>


More information about the kde-mac mailing list