How To Install qt-mobility on CentOS 7

In this tutorial we learn how to install qt-mobility on CentOS 7. qt-mobility is Qt Mobility Framework

Introduction

In this tutorial we learn how to install qt-mobility on CentOS 7.

What is qt-mobility

Qt Mobility Project delivers a set of new APIs to Qt with features that are well known from the mobile device world, in particular phones. However, these APIs allow the developer to use these features with ease from one framework and apply them to phones, netbooks and non-mobile personal computers. The framework not only improves many aspects of a mobile experience, because it improves the use of these technologies, but has applicability beyond the mobile device arena.

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

Install qt-mobility on CentOS 7 Using yum

Update yum database with yum using the following command.

sudo yum makecache

After updating yum database, We can install qt-mobility using yum by running the following command:

sudo yum -y install qt-mobility

Install qt-mobility 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 qt-mobility using dnf by running the following command:

sudo dnf -y install qt-mobility

How To Uninstall qt-mobility on CentOS 7

To uninstall only the qt-mobility package we can use the following command:

sudo dnf remove qt-mobility

References

Summary

In this tutorial we learn how to install qt-mobility on CentOS 7 using yum and dnf.