GDB printers: Allow to print Qt6 QString
From Qt6 QString has a ptr member that points to the actual string.
This also fixes the failing test QtPrintersTest::testQString() when building with Qt6
From Qt6 QString has a ptr member that points to the actual string.
This also fixes the failing test QtPrintersTest::testQString() when building with Qt6