Using the quantum hydrodynamic model for quantum magnetoplasmas, the Shukla–Nambu–Salimullah shielding potential and the far-field dynamical wake potential in a quantum dusty plasma with a nonuniform density and ambient static magnetic field have been investigated in detail. The short-range screening potential different from the symmetric Debye–Hückel potential and the long-range oscillatory wake potential are found to be significantly affected by the nonuniformities in the density and the static magnetic field. The far-field oscillatory wake-field potential can explain attraction among the same polarity charges leading to the possible ordered structures or coagulation in the inhomogeneous quantum dusty magnetoplasma.