Re: [Wireshark-dev] MSVC gives warnings "qt_ui_utils.cpp(208, 25): warning C4996: 'QProcess::startDetached'"

2022-02-11 Thread Roland Knall
Which was used in the past, but that function has other issues (opening the users documents if the trace file path contains spaces) I am looking into it. Empty StringList seems to solve it, but had not been able to test it properly yet Cheers > Am 11.02.2022 um 11:35 schrieb Graham Bloice : >

Re: [Wireshark-dev] MSVC gives warnings "qt_ui_utils.cpp(208, 25): warning C4996: 'QProcess::startDetached'"

2022-02-11 Thread Graham Bloice
>From the online Qt docs : bool QProcess::startDetached(const QString &*command*) This function is obsolete. It is provided to keep

Re: [Wireshark-dev] MSVC gives warnings "qt_ui_utils.cpp(208, 25): warning C4996: 'QProcess::startDetached'"

2022-02-11 Thread Anders Broman via Wireshark-dev
Hi, Latest released one C:\Qt\5.15.2 Regards Anders From: Roland Knall Sent: den 11 februari 2022 11:12 To: Developer support list for Wireshark Cc: Anders Broman Subject: Re: [Wireshark-dev] MSVC gives warnings "qt_ui_utils.cpp(208, 25): warning C4996: 'QProcess::startDetached'"

Re: [Wireshark-dev] MSVC gives warnings "qt_ui_utils.cpp(208, 25): warning C4996: 'QProcess::startDetached'"

2022-02-11 Thread Roland Knall
Which Qt version are you on? Am Fr., 11. Feb. 2022 um 11:06 Uhr schrieb Anders Broman via Wireshark-dev < wireshark-dev@wireshark.org>: > Hi, > > Just built and got the following warning: > > > > ..\ui\qt\utils\qt_ui_utils.cpp(208,25): warning C4996: > 'QProcess::startDetached': Use

[Wireshark-dev] MSVC gives warnings "qt_ui_utils.cpp(208, 25): warning C4996: 'QProcess::startDetached'"

2022-02-11 Thread Anders Broman via Wireshark-dev
Hi, Just built and got the following warning: ..\ui\qt\utils\qt_ui_utils.cpp(208,25): warning C4996: 'QProcess::startDetached': Use QProcess::startDetached(const QString , const QStringList ) instead [C:\Development\wsbuild64\ui\qt\qtui.vcxproj]