How To Install qqc2-desktop-style on CentOS 7

In this tutorial we learn how to install qqc2-desktop-style on CentOS 7. qqc2-desktop-style is QtQuickControls2 style for consistency between QWidget and QML

Introduction

In this tutorial we learn how to install qqc2-desktop-style on CentOS 7.

What is qqc2-desktop-style

This is a style for QtQuickControls 2 that uses QWidget’s QStyle for painting, making possible to achieve an higher degree of consistency between QWidget-based and QML-based apps.

We can use yum or dnf to install qqc2-desktop-style on CentOS 7. In this tutorial we discuss both methods but you only need to choose one of method to install qqc2-desktop-style.

Install qqc2-desktop-style on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install qqc2-desktop-style using yum by running the following command:

sudo yum -y install qqc2-desktop-style

Install qqc2-desktop-style on CentOS 7 Using dnf

If you don’t have dnf installed you can install DNF on CentOS 7 first. Update yum database with dnf using the following command.

sudo dnf makecache

After updating yum database, We can install qqc2-desktop-style using dnf by running the following command:

sudo dnf -y install qqc2-desktop-style

How To Uninstall qqc2-desktop-style on CentOS 7

To uninstall only the qqc2-desktop-style package we can use the following command:

sudo dnf remove qqc2-desktop-style

References

Summary

In this tutorial we learn how to install qqc2-desktop-style on CentOS 7 using yum and dnf.