Hello,
I am trying to display the rtt values from a wireshark pcap file. I am using QProcess as follows:
Qt Code:
  1. QString exec="C:/Progra~1/Wireshark/tshark.exe";
  2. args<< "-r" <<qPrintable(filepath)<<"-Y"<<"tcp.analysis.ack_rtt and tcp.stream eq 0"<<"-e"<<"\"tcp.analysis.ack_rtt\""<<"-T"<<"fields"<<"> C:/it/rtt.txt";
  3. tshark->start(exec, args, QIODevice::ReadWrite);
To copy to clipboard, switch view to plain text mode 

However, I keep getting the following error using
Qt Code:
  1. qDebug()<<tshark->readAllStandardError();
To copy to clipboard, switch view to plain text mode 
tshark: Display filters were specified both with "-d" and with additional command-line arguments.

Please advise on what I may be doing wrong. Running from command line produces no errors and works just fine.