Thank you very much for that suggestion. It looks like resolving the problem truly was as easy as uninstalling Qt completely and then reinstalling it again. During the installation process, I selected the default option instead of custom installation and everything went fine. Additionally, the problem with Kits was also resolved.
@fsfarimani no I have not checked each and every package. Also, not every package starting with qt has something to do with that framework. For example qtfaststart is a video related package.
If you want more information about the packages provided by brew, you should contact their maintainers. The Qt Project does not handle them.
Hi koahning,
I've had a similar problem. Maybe my bugreport helps:
https://bugreports.qt.io/browse/QTIFW-1003
After installing notepad++ and assigning ".vbs" extension to it, windows wasn't able to execute ".vbs" scripts anymore. Resetting the assignment in the regedit (HKEY_CLASSES_ROOT.vbs to "VBSFile") solves this issue.
Maybe this solves your issue, too.
Regards
Jazzco
Thanks for the input. On WIndows, when you run the Maintenance Tool you check off which compiler you want to use. The Maintenance Tool downloads that compiler. At the point this error happens I have seen the Maintenance Tool download the correct compiler to the Qt directory.
@aha_1980
well its not an easy tool to use.
I'm currently fighting with it as well, my antivirus pushes it into quarantine because it may be a potential virus.
Only happens with my own created tools not the QtCreator one.
I'm still trying to figure that one out...
Glad you found out and thanks for sharing !
Can you also share which antivirus it is ? That might give clue for other people experiencing the same situation.
For new comers:
I think you will have to build it from source in order to disable that option
Go to the function void PackageManagerCore::writeMaintenanceTool() and and the function void PackageManagerCorePrivate::writeMaintenanceToolBinary() and just add a return in the beginning of the function to disable it and the maintenance tool won't be included.
Worked for me, but it didn't reduce the size of the resulting installer as I was expecting though.
I stumbled upon this answer and added those links found in this this xml file:
http://download.qt-project.org/online/qtsdkrepository/linux_x64/desktop/tools_maintenance
http://download.qt-project.org/online/qtsdkrepository/linux_x64/root/qt
Now I have repositories configured and everything is fine.
You can use "UNDOEXECUTE". For example: component.addOperation("Execute", "msiexec", "/i", "xxx.msi", "/quiet", "UNDOEXECUTE", "msiexec", "/x", "xxx.msi");
@JKSH I tried a few things and it seems it's an access violation error. Normally it should crash but I think it is an unhandled try-catch block. Probably I am going to do the same on this machine too that is, Delete Qt folder manually and install 5.5, and hope that this issue is fixed in the new version :)
@sassanh said in Maintenance Tool reports corrupted installation:
@Asperamanca
How did you edit MaintenanceTool.dat file? It's a binary file containing xml data and some binary characters between tags. When I remove a single character in it running MaintenanceTool shows errors like this:
Cannot seek to -15118 to read the operation data.
I don't remember exactly. I changed only XML parts, and it worked for me. But that was before the major update to the Maintenance tool that came recently. Maybe they added a CRC check on the file, or something like this.