CompatibilityPreferences.qtRenderingInterface Property

Parent Object: CompatibilityPreferences
Defined in namespace "adsk::core" and the header file is <Core/Application/CompatibilityPreferences.h>

Description

Gets and sets the graphics system to use when rendering Qt. Not all of the drivers defined in the enum can be used. Use the Preferences command to check for the current valid options. The options can be different on Windows and Mac.

Syntax

"compatibilityPreferences_var" is a variable referencing a CompatibilityPreferences object.

# Get the value of the property.
propertyValue = compatibilityPreferences_var.qtRenderingInterface

# Set the value of the property.
compatibilityPreferences_var.qtRenderingInterface = propertyValue
"compatibilityPreferences_var" is a variable referencing a CompatibilityPreferences object.
#include <Core/Application/CompatibilityPreferences.h>

// Get the value of the property.
GraphicsDrivers propertyValue = compatibilityPreferences_var->qtRenderingInterface();

// Set the value of the property, where value_var is a GraphicsDrivers.
bool returnValue = compatibilityPreferences_var->qtRenderingInterface(value_var);

Property Value

This is a read/write property whose value is a GraphicsDrivers.

Version

Introduced in version April 2026