In this paper, the extended symmetry of generalized variable-coefficient Kadomtsev–Petviashvili (vcKP) equation is investigated by the extended symmetry group method with symbolic computation. Then on the basis of the extended symmetry, we can establish relation among some different kinds of vcKP equations. Thus the exact solutions of these vcKP equations can be constructed via the simple vcKP equations or constant-coefficient KP equations.