[問題] Qt如何開啟超連結?

看板C_and_CPP (C/C++)作者 (修行)時間16年前 (2009/03/20 12:49), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串1/1
請問在Qt中要如何用使用者預設的瀏灠器(IE、FireFox) 來開啟某個超連結? 有沒有Qt libraries提供此功能? -- 西方三聖:http://p8.p.pixnet.net/albums/userpics/8/3/553683/1193661731.jpg
《佛說阿彌陀經》http://web.cc.ncu.edu.tw/~93501025/amtf.doc 十一面觀音咒:http://file.buda.idv.tw/music/DBZFY04.mp3 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.115.73.148

03/20 12:53, , 1F
bool QDesktopServices::openUrl ( const QUrl & url )
03/20 12:53, 1F

03/20 18:32, , 2F
謝謝,成功了。
03/20 18:32, 2F
※ 編輯: zxvc 來自: 122.126.136.211 (03/20 18:48)
文章代碼(AID): #19mo19uH (C_and_CPP)
文章代碼(AID): #19mo19uH (C_and_CPP)