Ok it seems to work. I'll summarize what I did:
put on PBS: apt install corosync-qnetd
put in the two nodes: apt install corosync-qdevice
From one of the two nodes I configured qdevice in the following way: pvecm qdevice setup 192.168.5.30
then with pve status I see:
Votequorum information
----------------------
Expected votes: 3
Highest expected: 3
Total votes: 3
Quorum: 2
Flags: Quorate Qdevice
Membership information
----------------------
Nodeid Votes Qdevice Name
0x00000001 1 A,V,NMW 192.168.5.10
0x00000002 1 A,V,NMW 192.168.5.20 (local)
0x00000000 1 Qdevice
root@node2:~#
I did a test by disconnecting the cables of the two network cards of node 2, the system migrated the two virtual machines to node 1. It worked, but it took 2 minutes and 49 seconds.
Is the time it took you right?
Consider that the nodes have active VM replicas