mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-31 11:35:24 +01:00
6b87318710
This reverts commit 59517f5b4e918d4c2b07bdd3a1bb857f79309305. Update issue 3047 Status: Accepted Breaks the mac build. We should do a proper fix for this.
Qocoa
Qocoa is a collection of Qt wrappers for OSX's Cocoa widgets.
Features
- basic fallback to sensible Qt types on non-OSX platforms
- shared class headers which expose no implementation details
- typical Qt signal/slot-based API
- trivial to import into projects (class header/implementation, single shared global header)
Building
git clone git://github.com/mikemcquaid/Qocoa.git
cd Qocoa
qmake # or cmake .
make
Status
Qocoa classes are currently provided for NSButton, a spinning NSProgressIndicator and NSSearchField. There is a TODO list for classes I hope to implement.
Usage
For each class you want to use copy the qocoa_mac.h
, $CLASS.h
, $CLASS_mac.*
and $CLASS_nonmac.*
files into your source tree and add them to your buildsystem. Examples are provided for CMake and QMake.
Contact
License
Qocoa is licensed under the MIT License. The full license text is available in LICENSE.txt.
The icons are taken from the Oxygen Project and are licensed under the Creative Commons Attribution-ShareAlike 3.0 License.