mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-05-05 22:12:42 +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.
33 lines
788 B
Prolog
33 lines
788 B
Prolog
TEMPLATE = lib
|
|
QT += qml multimedia network websockets
|
|
|
|
include(defines.pri)
|
|
include(../harbour-sailfin.pri)
|
|
|
|
SOURCES += \
|
|
src/credentialmanager.cpp \
|
|
src/jellyfin.cpp \
|
|
src/jellyfinapiclient.cpp \
|
|
src/jellyfinapimodel.cpp \
|
|
src/jellyfindeviceprofile.cpp \
|
|
src/jellyfinitem.cpp \
|
|
src/jellyfinplaybackmanager.cpp \
|
|
src/jellyfinwebsocket.cpp \
|
|
src/serverdiscoverymodel.cpp
|
|
|
|
HEADERS += \
|
|
include/credentialmanager.h \
|
|
include/jellyfin.h \
|
|
include/jellyfinapiclient.h \
|
|
include/jellyfinapimodel.h \
|
|
include/jellyfindeviceprofile.h \
|
|
include/jellyfinitem.h \
|
|
include/jellyfinplaybackmanager.h \
|
|
include/jellyfinwebsocket.h \
|
|
include/serverdiscoverymodel.h
|
|
|
|
VERSION = $$SAILFIN_VERSION
|
|
|
|
TARGET = jellyfin-qt
|
|
DESTDIR = lib
|