brewtarget-devs team mailing list archive
-
brewtarget-devs team
-
Mailing list archive
-
Message #00050
Over-writing databases
I'm slowly working on getting the Windows upgrades working the way I
expected them to work. I actually have the v1.2.x databases being properly
upgraded.
The v2.0.x databases are proving to be more challenging, for all that the
operations are theoretically easier. In short, I cannot figure out how to
copy the old database into place. For a lot of reasons (most of them
involving prompts, file browsers, etc.), I cannot do this until the
MainWindow is instantiated and qApp->exec() is called. It seems mucking
with the database file after MainWindow has been instantiated causes a core
dump.
Does anybody have a clever idea on how to do this?
Mik
--
In a world of ninja v. pirate, I pilot a Gundam
Follow ups