• Stars
    star
    804
  • Rank 56,656 (Top 2 %)
  • Language QML
  • License
    Other
  • Created over 8 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

πŸ“– Library for QtQuick apps with Material Design

Fluid

License GitHub release GitHub issues CI

Fluid is a collection of cross-platform QtQuick components for building fluid and dynamic applications, using the Material Design guidelines.

Online documentation is available at docs.liri.io.

We develop using the git flow method this means that the develop branch contains code that is being developed and might break from time to time. If you want to check out a stable version just install one of the releases or clone the master branch that has the latest released version.

Desktop

Dependencies

Qt >= 5.10.0 with at least the following modules is required:

On Linux you also need:

The following modules and their dependencies are required:

The following module must be installed, unless you want to use the copy provided as a submodule:

Build

You can perform a standalone build opening CMakeLists.txt with QtCreator, but make sure cmake is set up correctly.

You can also build from command line:

git submodule update --init
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix ..
make
make install # use sudo if necessary

Replace /path/to/prefix to your installation prefix. Default is /usr/local.

You can also append the following options to the cmake command:

  • -DFLUID_USE_SYSTEM_LCS:BOOL=ON: Use a system-wide copy of LiriCMakeShared.
  • -DFLUID_WITH_DOCUMENTATION:BOOL=OFF: Do not build the documentation.
  • -DFLUID_WITH_DEMO:BOOL=OFF: Do not build the demo application.
  • -DFLUID_WITH_QML_MODULES:BOOL=OFF: Do not build QML modules.
  • -DFLUID_INSTALL_ICONS:BOOL=OFF: Embed icons into resources.

If cmake-shared is not installed and -DFLUID_USE_SYSTEM_LCS:BOOL=ON is passed to cmake, the build will fail without finding LiriSetup.

The cmake arguments above can also be specified when building on QtCreator, as explained in this guide.

Documentation

The HTML documentation is built unless -DFLUID_WITH_DOCUMENTATION:BOOL=OFF is passed to cmake and it's installed into <prefix>/share/doc/fluid/html.

Open <prefix>/share/doc/fluid/html/index.html with a browser to read it.

Installation

You can either install system-wide or per-project installation which is essentially embedding Fluid in your project.

System-wide installations are usually performed by packagers who want to redistribute Fluid in their Linux distro.

Per-project installation is most useful for mobile developers that want to build Fluid alongside their project.

System-wide installation

We assume that your distro installs QtQuick modules in /usr/lib/qt/qml like Arch Linux does, please change the paths for your Linux distro.

The same goes for other operating systems.

From the root of the repository, run:

git submodule update --init --recursive
mkdir build
cmake -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_QMLDIR=lib/qt/qml ..
make
sudo make install

Please note that a system-wide installation is discouraged in most cases because there's a risk to "pollute" your system with libraries not managed by a package manager.

Per-project installation

You can embed Fluid in your project and build it along your app.

We have the following examples: We have examples for qmake, qbs and cmake.

Licensing

Licensed under the terms of the Mozilla Public License version 2.0.

More Repositories

1

lirios

🏠 General issue tracking and wiki for Liri
CMake
234
star
2

shell

🐚 Convergent shell for desktops, phones and tables built with QtQuick, Wayland and Material Design
C++
232
star
3

browser

🌍 Cross-platform Material design web browser
QML
212
star
4

files

πŸš€ File manager
C++
85
star
5

text

πŸš€ Material Design text editor
C++
85
star
6

appcenter

πŸš€ App Center for Liri OS
C++
29
star
7

terminal

πŸš€ Terminal
C++
29
star
8

calculator

πŸš€ More than a simple cross-platform Material Design calculator
QML
28
star
9

wayland-archived

πŸ“– Wayland client and server extensions, additions to QtWayland and eglfs fork
C++
26
star
10

eglfs

πŸš€ EGL fullscreen platform plugin
20
star
11

lirios.github.io

🌏 Web site
HTML
19
star
12

qml-xwayland

XWayland support for QtQuick Wayland compositors like Liri Shell
14
star
13

player

πŸš€ Cross-platform media player
QML
13
star
14

settings

πŸš€ Settings application and modules for Liri OS
C++
12
star
15

qtgsettings

πŸ“– Qt wrapper for GSettings
C++
12
star
16

flatpak

πŸ“€ Liri runtime and apps for Flatpak
Shell
10
star
17

aurora-compositor

Framework to write Wayland compositors with Qt
C++
10
star
18

ostree-image-creator

πŸ“€ Tools to create images for OSTree-based operating systems (also known as oic)
Go
10
star
19

qbs-shared

πŸ“– Shared Qbs imports and modules
QML
9
star
20

wayland

πŸ“– Wayland client and server extensions
9
star
21

archbuild

πŸ“€ Arch Linux build kit
Shell
9
star
22

qtudev

πŸ“– Qt-style wrapper around udev
9
star
23

themes

🎨 Themes for a uniform look and feel throughout Liri OS
CMake
9
star
24

screencast

πŸš€ Screencast tool
C++
8
star
25

workspace

πŸš€ Base applications and settings for Liri OS
QML
8
star
26

session

πŸš€ Session manager
C++
8
star
27

cmake-shared

πŸ“– Shared CMake functions and macros
CMake
8
star
28

materialdecoration

🐚 Client-side decoration for all Qt-based Wayland clients
C++
8
star
29

vibe

πŸ“– QtQuick modules for shell and applications
C++
7
star
30

music

πŸš€ The best friend to your music collection
C++
7
star
31

meta-liri

πŸ“€ OS image based on Boot2Qt
BitBake
6
star
32

docker-lirios

πŸ“€ Docker image to test Liri OS
Shell
6
star
33

qtaccountsservice

πŸ“– Qt-style API for freedesktop.org's AccountsService DBus service
C++
6
star
34

networkmanager

πŸš€ NetworkManager support for Liri
C++
5
star
35

qtintegration

🐚 Integration of Qt applications with the Liri desktop environment
C++
5
star
36

rpms

πŸ“¦ RPM packages
Shell
4
star
37

initial-setup

πŸš€ Initial configuration app for Liri OS
C++
4
star
38

repotools

🌟 Administration tools for git repositories
Python
3
star
39

xdg-desktop-portal-liri

πŸš€ A backend implementation of xdg-desktop-portal for Liri
C++
3
star
40

platform-snap

πŸ“€ Snap packaging for the Liri platform libraries
Python
3
star
41

screenshot

πŸš€ Screenshot tool
C++
3
star
42

wallpapers

πŸš€ Wallpapers
CMake
3
star
43

ostree-upload

πŸ“€ Upload missing objects to an OSTree repository
Go
2
star
44

calamares-branding

🌟 Calamares configuration and branding for Liri OS
Python
2
star
45

pulseaudio

πŸš€ PulseAudio support for Liri
C++
2
star
46

media-writer

πŸ“€ Write Liri OS images to portable media
C++
2
star
47

samtal

πŸ“€ Internet Relay Chat with Material Design
C++
2
star
48

libliri

πŸ“– Library for Liri apps
C++
2
star
49

power-manager

πŸš€ Manages power consumption settings
C++
2
star
50

docs-hig

πŸ“š Human Interface Guidelines
1
star
51

snap-packages

πŸ“€ Liri snap packages
1
star
52

ostree-config

πŸ“€ Scripts and configuration to create Liri OS trees
Shell
1
star
53

snapcraft-parts

πŸ“€ Snapcraft cloud parts for snaps using the Liri Platform snap
Shell
1
star
54

aurora-client

Qt-style API to interact with Wayland protocols inside Qt-based graphical applications
C++
1
star
55

website

🌏 Server-side code for the Web site
Go
1
star
56

splash

πŸš€ Splash screen for embedded and mobile devices
1
star
57

docs

πŸ“š Liri developers documentation
1
star
58

meta-odroid

OpenEmbedded layer for Hardkernel ODROID boards
BitBake
1
star
59

snapcraft-plugins

πŸ“€ Snapcraft plugins shared by Liri snap packages
Python
1
star
60

artwork

Logo and promotional stuff
1
star
61

blog

🌏 Blog
HTML
1
star