Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想查找 QUrl 类型的值。QUrl 有一个 toString 方法,它返回一个 QString。使用这样的东西应该会产生预期的结果
printq4string urlvar.toString()
如何在 gdb 中打印 QString 的值?
Qt 类型有 GDB 漂亮的打印机:http: //nikosams.blogspot.ru/2009/10/gdb-qt-pretty-printers.html