Skip to content
LingmoOSPublic

About

Lingmo Desktop: style

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

lingmo-style

Lingmo Desktop - Qt Widgets Style

Build

Lingmo Style provides a QProxyStyle-based Qt Widgets style implementation for the Lingmo Desktop environment. It reads design tokens from lingmo-theme and ensures that Qt Widgets applications share the same visual design as QML applications.

Dependencies

Build-time

  • CMake >= 3.21
  • C++20 compiler (GCC 12+, Clang 16+)
  • Qt 6.5+ (Widgets)
  • lingmo-theme (Lingmo::Theme)

Runtime

  • Qt 6 Widgets
  • lingmo-theme

Building

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build --parallel

Installing

cmake --install build --prefix /usr

Testing

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON
cmake --build build --parallel
ctest --test-dir build --output-on-failure

Usage

Via Qt style plugin (recommended)

QApplication::setStyle("lingmo");

Via programmatic instantiation

#include <LingmoStyle/Style.h>
QApplication::setStyle(new Lingmo::Style);

Contributing

See Contributing Guide.

License

GPL-3.0-or-later

Links

About

Lingmo Desktop: style

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages