看板 C_and_CPP 關於我們 聯絡資訊
開發平台(Platform): (Ex: Win10, Linux, ...) vc2010 編譯器(Ex: GCC, clang, VC++...)+目標環境(跟開發平台不同的話需列出) vs2010 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 餵入的資料(Input): http:\\172.16.160.2:80\cam\realmonitor?channel=1&subtype=0&unicast=true&proto=Onvif 預期的正確結果(Expected Output): 我使用QUrl qurl qurl.host()可以得到172.16.160.2 qurl.port()可以得到80 這都沒問題 但是 qurl.path() 卻只有得到\cam\realmonitor ?號之後的得沒有 我查一下還是查不到有啥可以得到全部 \cam\realmonitor?channel=1&subtype=0&unicast=true&proto=On 不好意思 我也是可以自己分析不過還是問一下 錯誤結果(Wrong Output): 程式碼(Code):(請善用置底文網頁, 記得排版) 補充說明(Supplement): -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 60.251.70.82 ※ 文章網址: https://www.ptt.cc/bbs/C_and_CPP/M.1478766673.A.4A0.html
soheadsome: ?後面是parameter 11/10 16:57
shadow0326: queryItems 11/10 17:18
MOONY135: https://goo.gl/h1AS9l 這個? 11/10 17:32