Using the attached example, pass a network share path as arguments:
whereas in Qt 4:
" is changed to "\" in the debug output of QCoreApplication::arguments(). It seems to perform some backslash-escaping which it clearly shouldn't. Quoting in double-quotes does not help (note it is possible for example to start
, so, the Windows shell clearly does not do backslash-escaping). This is pretty serious as you cannot pass cmd line arguments of that type to any application.
|For Gerrit Dashboard: QTBUG-35432|
|74113,4||Windows: Use WinAPI CommandLineToArgvW() to create argv from command line.||stable||qt/qtbase||Status: ABANDONED||-1||0|
|84345,1||Windows: Use WinAPI CommandLineToArgvW() to create argv from command line.||dev||qt/qtbase||Status: MERGED||+2||0|