bitcoin-core.qt --help
there is no option like
-upgradewallet
Since you're using QT (
GUI), just launch Bitcoin Core normally and go to console (
Window->Console).
Select the target wallet in the drop-down menu in the console and enter the command:
upgradewalletBut in case if you're actually asking how to upgrade it into a 'descriptor wallet':
Select the old wallet in the wallet drop-down menu, then use "
File->Migrate Wallet" to update it into a descriptor wallet.