mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
Make libJellyfinQt a proper qml plugin
This commit is contained in:
parent
96ecd8e7d8
commit
64ad37707c
9 changed files with 1923 additions and 58 deletions
|
@ -33,10 +33,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|||
|
||||
#include <sailfishapp.h>
|
||||
|
||||
#include <JellyfinQt/jellyfin.h>
|
||||
|
||||
static const char *SANDBOX_PROGRAM = "/usr/bin/sailjail";
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
//QQmlDebuggingEnabler enabler;
|
||||
//enabler.startTcpDebugServer(9999);
|
||||
|
@ -60,7 +56,6 @@ int main(int argc, char *argv[]) {
|
|||
cmdParser.addHelpOption();
|
||||
cmdParser.addVersionOption();
|
||||
|
||||
Jellyfin::registerTypes();
|
||||
QQuickView *view = SailfishApp::createView();
|
||||
view->setSource(SailfishApp::pathToMainQml());
|
||||
view->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue