core: add --testqml flag to mobileExecutable

Add flag to subsurface_mobile (only when compiling for desktop)
to allow using qml files from disk instead of resources.

This allows testing qml changes with just restarting subsurface_mobile.

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-11-23 13:02:41 +01:00 committed by Dirk Hohndel
parent b4b4e7872b
commit 624bd9e7ec
2 changed files with 16 additions and 0 deletions

View file

@ -249,6 +249,9 @@ struct dive *unregister_dive(int idx);
extern void delete_single_dive(int idx);
extern int run_survey, quit, force_root;
#ifdef SUBSURFACE_MOBILE_DESKTOP
extern char *testqml;
#endif
extern struct dive_table dive_table;
extern struct dive displayed_dive;