- 
    Suggestion 
- 
    Resolution: Unresolved
- 
    P4: Low 
- 
    None
- 
    5.0.1
- 
    None
- 
    Qt5 under Linux, the dialog open is Qt dialog (with native dialog it work, but not with Qt dialog). 
Hello, this code:
        if(!source.isReadable() || !source.isExecutable() || !source.exists() || !source.isDir())
	//no error
        QDir tempDir(source.absoluteFilePath());
        if(!tempDir.isReadable() || !tempDir.exists())
        //error
 Bug under linux when under KDE I put: ééé as name for folder. And I can't select as folder. Under Qt it show don't displayable char (the ? char).
This is specific tu problem to convert QFileInfo to QDir/QFile (yes QFile is affected too). If I have this conversion, that's allow Qt to bypass the encoding problem and allow the copy of file with encoding problem.
Keep the wrong char into the QString is a way too.
This bug is only into specific case (see env).
My request: do the creator: QFile(QFileInfo) QDir(QFileInfo), by using file pointer, not QString to prevent problem.
| For Gerrit Dashboard: QTBUG-29848 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V | 
| 62474,1 | WIP: QDir constructor taking a QFileInfo | dev | qt/qtbase | Status: ABANDONED | 0 | 0 | 

