Qt5: QDir::mkpath() fails for /cygdrive/ paths

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Aug 13 16:39:00 GMT 2015


On Aug 12 22:59, David Stacey wrote:
> On 09/07/2015 20:14, David Stacey wrote:
> >QDir::mkpath() fails when creating paths that start '/cygdrive/'. This
> >problem is only shown with Qt5 (not Qt4), and only with paths that start
> >'/cygdrive/' (so running from my home directory '~' is fine). This is not
> >a permissions problem, as it works fine with Qt4.
> >
> >Sample programme is below. Compile for Qt5 as per the comments. 'cd
> >/cygdrive/X' where X is a local drive where you have permissions to create
> >a directory. Run './create_directory new_dir' and it fails to create the
> >directory. Programme works fine when compiled with Qt4.
> 
> I have updated to libQt5Core5-5.4.2-2, and I'm still getting this problem.
> Is anyone else able to reproduce this, or offer some insight as to why it
> might be failing? For completeness, my example programme is included below.

I guess somebody has to debug this... :}


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20150813/af77d885/attachment.sig>


More information about the Cygwin mailing list