Skip to content

A helper library which provides macOS specific features to a Qt based application

Notifications You must be signed in to change notification settings

nedrysoft/MacHelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nedrysoft MacHelper Library

The MacHelper library provides classess for interactive with cocoa via Qt objects. It provides:

  • A NSToolbar based implementation that supports the "preferences" style in Big Sur or later.
  • A NSStatusbar based implementation for creating menu bar icons.
  • A NSPopover based implementation for creating standard macOS popover windows.
  • A NSAlert based implementation for creating native looking message boxes, particularly useful because the style is very different under Big Sur to what the QMessageBox implementation provides.
  • Functions for converting images to and from NSImage.
  • Functions for retrieving system fonts.
  • Functions for retrieving standard OS icons.

Requirements

  • Qt5 or Qt6
  • CMake

Building

To build the library, invoke CMake or open the CMakeLists.txt file in your preferred IDE.

Setting the following CMake variables allows the customisation of the build.

NEDRYSOFT_MACHELPER_LIBRARY_DIR=<dir>

Sets the output folder for the dynamic library; if omitted, you can find the binaries in the default location.

License

This project is open source and released under the GPLv3 licence.

Distributed as-is; no warranty is given.

About

A helper library which provides macOS specific features to a Qt based application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published