Launching the tool from the Start menu does nothing.
From the command line, I get the following error when running Qt's MaintenanceTool.exe --verbose
:
"Cannot open file C:/Qt/MaintenanceTool.dat for reading: No such file or directory"
Anyone know how to fix it? I promise I didn't delete that file, though it is correct in saying it doesn't exist. I only have MaintenanceTool.ini
. The installation log file doesn't mention any .dat
files or give any errors at the end.
Edit: Seems to be a bug in Qt. I'd still like to know how to work around it though.
My solution was pretty simple. I renamed MaintenanceTool.exe.new
and MaintenanceTool.dat.new
to MaintenanceTool.exe
and MaintenanceTool.dat
. Problem solved!
This is indeed a bug, like you pointed out, and I just ran into it. Thanks for the bug report link. There's not a good workaround that I'm aware of within Qt; hopefully, they'll patch it soon.
However, on Windows, your machine will probably have a shadow copy of MaintenanceTool.dat
, created when you ran Windows Update. To restore a shadow copy:
C:\Qt
folder (or wherever you installed Qt) and choose Properties.MaintenanceTool.dat
.MaintenanceTool.exe
, where it belongs.The Maintenance Tool will complain about a "corrupt installation," but it seems to operate just fine.
1 stage: rename your QT folder (c:/qt) to any name, for examaple "qt_dump"
2 stage: reinstall qt online installer without any packages, deselect all checks
3 stage: rename your new qt installed folder for example "qt_working", and folder from stage 1 rename to "qt", and replace files from "qt_working" to "qt".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With