MantisBT - Doomseeker
View Issue Details
0003897Doomseeker[All Projects] Cleanuppublic2021-08-08 22:022021-08-16 19:42
Blzut3 
Blzut3 
noneminorhave not tried
assignedsuspended 
1.3.2 
1.4 
0003897: QDirModel cannot be used to build with Qt 6 (needs to be replaced with QFileSystemModel)
QDirModel is marked obsolete in Qt 5 and removed in Qt 6. QFileSystemModel was introduced in Qt 4.4 as its replacement.
No tags attached.
child of 0003895needs testing Blzut3 Add support for Qt 6.2+ 
Issue History
2021-08-08 22:02Blzut3New Issue
2021-08-08 22:02Blzut3Relationship addedchild of 0003895
2021-08-09 20:48Blzut3Assigned To => Blzut3
2021-08-09 20:48Blzut3Statusnew => assigned
2021-08-10 17:49Blzut3Note Added: 0021719
2021-08-11 04:09WubTheCaptainStatusassigned => resolved
2021-08-11 04:09WubTheCaptainResolutionopen => suspended
2021-08-16 18:51WubTheCaptainProduct Version1.4 => 1.3.2
2021-08-16 18:51WubTheCaptainSummaryReplace use of QDirModel with QFileSystemModel => QDirModel cannot be used to build with Qt6 (needs to be replaced with QFileSystemModel)
2021-08-16 19:37WubTheCaptainPrioritynormal => none
2021-08-16 19:37WubTheCaptainStatusresolved => assigned
2021-08-16 19:42WubTheCaptainSummaryQDirModel cannot be used to build with Qt6 (needs to be replaced with QFileSystemModel) => QDirModel cannot be used to build with Qt 6 (needs to be replaced with QFileSystemModel)

Notes
(0021719)
Blzut3   
2021-08-10 17:49   
Made a temporary version of this for Qt 6 effort:https://bitbucket.org/Doomseeker/doomseeker/commits/849f63742459c141edd9f91521e57062f9dfabe9 [^]

It seems like despite Qt claiming its a full replacement, the interaction between QCompleter and QFileSystemModel isn't great. Although I haven't done an exhaustive search it seems that other people are having the same issue, for example Kitware is seeing this with CMake's GUI:https://gitlab.kitware.com/cmake/cmake/-/issues/21609 [^]

Specifically the issue is that even when set up seemingly correctly, suggestions are only given if you start from the root directory. Modifying what's already there doesn't work.

We can sit on this issue for awhile longer, so may be worth waiting to see how the problem gets solved by others.