Quote:
Originally Posted by davidfor
At the moment, I have installed the portable version of the beta and put the Qt6 source in its own directory. And I use a batch files that set environment variables and change directories for whichever I want to run.
|
I too use the portable version of the beta binaries.
The issue arises because I use Atlassan Sourcetree as my git manager. It lets me create, delete, and switch between branches with a click or two. It also deals with monitoring source to detect changes, packaging commits, pushing changes to create pull requests, and pulling changes on demand. Its version browser is quite good. It does what I need.
The way Sourcetree works is that changes (pulled changes, branch switching, etc) all happen in the same source tree. This works very well with Eclipse/Pydev, the IDE I use, because changes are instantly shown in the IDE. Of course this is what causes the problem I pointed out: non-managed files such as *_ui.py aren't touched during a switch.
What I do now is search for *_ui.py files and delete them. This works but is a bother because I usually forget to do it and then calibre won't start. There is also a flag in gui.json, "migrated_forms_to_qt6" that if deleted or set to False will force recompilation of the forms, but changing this is more trouble than deleting the files.