mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-22 01:05:17 +00:00
Chris Josten
1e80ceb697
I finally got deserializing lists working. Exposing them to QML was not a trivial task either. Note that I didn't do it the clean way. Nested lists are not supported. But it works! Because I got so frustarted at one point trying to implement things the right way, I restructured the project to seperate the Sailfish code from the Qt code and created a new, empty desktop project. The Qt code has been transformed into a happy little library, to which the Sailfish OS application links. Note that QMake doesn't seem to strip the library for some reason.
26 lines
558 B
Prolog
26 lines
558 B
Prolog
TEMPLATE = subdirs
|
|
SUBDIRS = core
|
|
|
|
core.subdir = core
|
|
|
|
defined(OS_SAILFISHOS, var){
|
|
SUBDIRS += sailfish
|
|
sailfish.subdir = sailfish
|
|
sailfish.depends = core
|
|
}
|
|
defined(OS_DESKTOP, var) {
|
|
SUBDIRS += desktop
|
|
desktop.subdir = desktop
|
|
desktop.depends = core
|
|
}
|
|
|
|
message($$SUBDIRS)
|
|
|
|
# German translation is enabled as an example. If you aren't
|
|
# planning to localize your app, remember to comment out the
|
|
# following TRANSLATIONS line. And also do not forget to
|
|
# modify the localized app name in the the .desktop file.
|
|
# TRANSLATIONS += \
|
|
|
|
|