View Single Post
Old 01-09-2022, 08:34 AM   #95
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,475
Karma: 8025702
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by davidfor View Post
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.

Last edited by chaley; 03-08-2022 at 11:46 AM.
chaley is offline   Reply With Quote