Configuration issues in the .pro file when developing CUDA software with QT and an RTX 5080 GPU

IN RTX4060 my code is
CUDA_DIR = “C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.6/” # Path to cuda toolkit install
SYSTEM_NAME = x64 # Depending on your system either ‘Win32’, ‘x64’, or ‘Win64’
SYSTEM_TYPE = 64 # ‘32’ or ‘64’, depending on your system
CUDA_ARCH = compute_86 # Type of CUDA architecture
CUDA_CODE = sm_86
NVCCFLAGS = --use_fast_math

How “CUDA_ARCH” set in RTX5080?

compute_120 for CUDA_ARCH
sm_120 for CUDA_CODE

You can’t do that with CUDA 11.6 however. You would need to install CUDA 12.8 or newer.