qdbuscpp2xml command not found

In this troubleshooting guide we learn how to fix qdbuscpp2xml command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

qdbuscpp2xml: command not found

or when using sudo you get the following error message

sudo: qdbuscpp2xml: command not found

Solutions to qdbuscpp2xml: command not found

How To Fix qdbuscpp2xml: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu qdbuscpp2xml is provided by qtchooser package.

qtchooser is:

Qt is a cross-platform C++ application framework. Qt’s primary feature is its rich set of widgets that provide standard GUI functionality.

The Qt Chooser provides a wrapper to switch between versions of Qt development binaries when multiple versions like 4 and 5 are installed or local Qt builds are to be used.

To fix this problem, we can install more using the command below.

sudo apt-get -y install qtchooser

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install qtchooser.

sudo apt -y install qtchooser

Or if you have aptitude installed you can use the following command.

sudo aptitude install qtchooser

Summary

In this tutorial we learn how to fix qdbuscpp2xml command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.