[Interest] saving data using QtSql during shutdown
Emmanuel Bourgerie
manu at bourgerie.fr
Mon Nov 11 13:18:28 CET 2013
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is the closeEvent called when the application shuts down? That would
be my first guess.
Emmanuel Bourgerie
Web developer
Dublin, Ireland
(+353) 8 144 5278
http://bourgerie.fr/
Confus avec "BEGIN PGP SIGNED MESSAGE" ? http://weusepgp.info/fr
Confused with "BEGIN PGP SIGNED MESSAGE"? http://weusepgp.info/
On 11/11/2013 12:16, Francisco Ares wrote:
> Hi,
>
> I am finishing an embedded system, using Linux and Qt as the base
> of the application that manages the system, and as a manager to a
> SQLite database for this application. As it will be using a flash
> SATA module, I would not like to do many and frequent write
> operations to it.
>
> So, I would like to know, on a ACPI shutdown request, how to
> safely commit the remaining data to the database.
>
> Thanks Francisco
>
>
> _______________________________________________ Interest mailing
> list Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (Darwin)
iQEcBAEBAgAGBQJSgMsUAAoJEKKGwafy1e1+q8oIAKgtLkVbtCt9TVwv0AJxn/kx
FYauq/uWFRxCrw4CyTh5K6FfLyRe/PWSnXPNWZj+tpThPyrsWstpIcm4RkCYUrlQ
oK7WnvwjkS1KjrybEN+6PDNARye1nX3AEDW++LAr35Vr9xmEryZaWZ3dCamxAc9Z
bK5W8PheE78l7+p86WMSf/hwCzYybREJlrXmMiq0EIR8f/V7RGh2QM8tbcYyVinQ
wYEZOl3ozGnt6Pu+WHSNkKSb/wsnJe+ViwtPk1HNLWFnFcT4KYoIbqm/1YtlvlkC
p6lu0P9PGumeOpTwvBcfUff3CEzSWX2jVmx+F76bn1DJkYgkuDtdRQ+cGZK8cw8=
=R98A
-----END PGP SIGNATURE-----
More information about the Interest
mailing list