Linux OS Dependencies

Different Linux variants need different OS dependencies installed. It's impractical to list which packages are needed, due to the combinations of OS versions and Perforce QAC requirements - qacli usage, installed via the .sh installer has much lower requirements than say qagui installed via the Qt based installers.

For qagui usage it is recommended that you start with a ‘desktop image' install of your OS, configured for a 'Developer’.

For Rocky 9.3 the following additional packages will be needed for qagui usage:

dnf install -y dbus-libs fontconfig libICE libSM libXrender libglvnd-egl libglvnd-glx libglvnd-opengl libxkbcommon libxkbcommon-x11 nspr nss nss-util xcb-util-cursor xcb-util-keysyms xcb-util-wm

For Ubuntu 22.04 LTS and 24.04 LTS the following additional packages are required for qagui usage:

sudo apt install -y libgl1 libxcb-xinerama0 libxcb-xinput0 libxcb-image0 libxcb-keysyms1 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0 libfontconfig1 libdbus-1-3 libnss3 libxcomposite1 libxdamage1 libxrender1 libxrandr2 libxtst6 libxcb-shape0 bzip2 libice6 libsm6 libegl1 libopengl0 libgomp1 libxcb-cursor0

If qagui is not running on your distro, check dependencies of common/lib/platforms/libqxcb.so. For example:

ldd ~/QAC-<version>/common/lib/platforms/libqxcb.so

You can then install missing dependencies.

If qagui continues to fail to start then open a command shell and navigate to the common/lib directory under the installation path. Use ldd qagui or start qagui, first setting the environment variable:

export QT_DEBUG_PLUGINS=1
qagui

This will provide additional debug information and show which libraries are needed.

If the installer itself is failing, use the legacy “.run” installer first. This will allow ldd to be used on qagui to resolve missing dependencies. Once the dependencies are installed, the “.sh” installer can be used as it has the same dependencies as qagui.