Hello community, here is the log from the commit of package python-pyotherside for openSUSE:Factory checked in at 2019-05-12 11:46:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyotherside (Old) and /work/SRC/openSUSE:Factory/.python-pyotherside.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyotherside" Sun May 12 11:46:08 2019 rev:4 rq:702390 version:1.5.4.git.1549621936.ebe2845 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyotherside/python-pyotherside.changes 2019-01-08 12:30:27.764142349 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyotherside.new.5148/python-pyotherside.changes 2019-05-12 11:46:21.976152001 +0200 @@ -1,0 +2,8 @@ +Fri May 10 11:47:54 UTC 2019 - t.gru...@katodev.de + +- update to version 1.5.4git (commit ebe2845 on 8 Feb 2019) + * Initialize sys.argv in Python for libraries that depend on it (issue #77) + * Update plugins.qmltypes and cleanup project files (by martyone, PR#95) + * Allow calling signals on QML objects from Python (issue #98) + +------------------------------------------------------------------- Old: ---- pyotherside-1.5.3.git.1535366950.067e3a6.tar.xz New: ---- pyotherside-1.5.4.git.1549621936.ebe2845.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyotherside.spec ++++++ --- /var/tmp/diff_new_pack.DUIejZ/_old 2019-05-12 11:46:24.220158589 +0200 +++ /var/tmp/diff_new_pack.DUIejZ/_new 2019-05-12 11:46:24.252158683 +0200 @@ -20,7 +20,7 @@ %define skip_python2 1 %define srcname pyotherside Name: python-pyotherside -Version: 1.5.3.git.1535366950.067e3a6 +Version: 1.5.4.git.1549621936.ebe2845 Release: 0 Summary: Asynchronous Python 3 Bindings for Qt 5 License: ISC ++++++ _service ++++++ --- /var/tmp/diff_new_pack.DUIejZ/_old 2019-05-12 11:46:24.528159493 +0200 +++ /var/tmp/diff_new_pack.DUIejZ/_new 2019-05-12 11:46:24.540159529 +0200 @@ -2,9 +2,9 @@ <service mode="localonly" name="obs_scm"> <param name="scm">git</param> <param name="url">git://github.com/thp/pyotherside.git</param> - <param name="versionprefix">1.5.3.git</param> + <param name="versionprefix">1.5.4.git</param> <param name="filename">pyotherside</param> - <param name="revision">067e3a6</param> + <param name="revision">ebe2845</param> </service> <service mode="localonly" name="tar" /> <service mode="localonly" name="recompress"> ++++++ pyotherside-1.5.3.git.1535366950.067e3a6.tar.xz -> pyotherside-1.5.4.git.1549621936.ebe2845.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/LICENSE new/pyotherside-1.5.4.git.1549621936.ebe2845/LICENSE --- old/pyotherside-1.5.3.git.1535366950.067e3a6/LICENSE 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/LICENSE 2019-02-08 11:32:16.000000000 +0100 @@ -2,7 +2,7 @@ ISC License -Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> +Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/docs/conf.py new/pyotherside-1.5.4.git.1549621936.ebe2845/docs/conf.py --- old/pyotherside-1.5.3.git.1535366950.067e3a6/docs/conf.py 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/docs/conf.py 2019-02-08 11:32:16.000000000 +0100 @@ -41,7 +41,7 @@ # General information about the project. project = u'PyOtherSide' -copyright = u'2014, 2015, 2016, 2017 Thomas Perl' +copyright = u'2014-2019 Thomas Perl' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -50,7 +50,7 @@ # The short X.Y version. version = '1.5' # The full version, including alpha/beta/rc tags. -release = '1.5.3' +release = '1.5.4' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/docs/index.rst new/pyotherside-1.5.4.git.1549621936.ebe2845/docs/index.rst --- old/pyotherside-1.5.3.git.1535366950.067e3a6/docs/index.rst 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/docs/index.rst 2019-02-08 11:32:16.000000000 +0100 @@ -600,6 +600,15 @@ being deleted, but PyOtherSide tries hard to detect the deletion of objects and give meaningful error messages in case the reference is accessed). +Calling signals of QML objects +------------------------------ + +.. versionadded:: 1.5.4 + +Calling (emitting) signals of QML objects is supported since PyOtherSide 1.5.4. +However, as signals do not have a return value as such, the return value is +either just `true` or `false`, depending on whether the call worked or not. + OpenGL rendering in Python ========================== @@ -1381,6 +1390,13 @@ ChangeLog ========= +Version 1.5.4 (2019-01-27) +-------------------------- + +* Initialize `sys.argv` in Python for libraries that depend on it (issue #77) +* Update `plugins.qmltypes` and cleanup project files (by martyone, PR#95) +* Allow calling signals on QML objects from Python (issue #98) + Version 1.5.3 (2017-10-14) -------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/pyotherside.pri new/pyotherside-1.5.4.git.1549621936.ebe2845/pyotherside.pri --- old/pyotherside-1.5.3.git.1535366950.067e3a6/pyotherside.pri 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/pyotherside.pri 2019-02-08 11:32:16.000000000 +0100 @@ -1,2 +1,2 @@ PROJECTNAME = pyotherside -VERSION = 1.5.3 +VERSION = 1.5.4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/converter.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/converter.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/converter.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/converter.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/global_libpython_loader.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/src/global_libpython_loader.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/global_libpython_loader.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/global_libpython_loader.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -25,6 +25,7 @@ #define _GNU_SOURCE #include <link.h> +#include <dlfcn.h> #include <stdio.h> #include <string.h> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/pyobject_converter.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/pyobject_converter.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/pyobject_converter.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/pyobject_converter.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/pyotherside_plugin.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/src/pyotherside_plugin.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/pyotherside_plugin.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/pyotherside_plugin.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/pyotherside_plugin.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/pyotherside_plugin.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/pyotherside_plugin.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/pyotherside_plugin.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qml_python_bridge.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qml_python_bridge.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qml_python_bridge.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qml_python_bridge.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_imageprovider.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_imageprovider.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_imageprovider.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_imageprovider.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_imageprovider.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_imageprovider.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_imageprovider.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_imageprovider.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_priv.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_priv.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_priv.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_priv.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -390,6 +390,20 @@ QMetaMethod method = metaObject->method(i); if (method.name() == ref->method()) { + if (method.methodType() == QMetaMethod::Signal) { + // Signals can't be called directly, we just return true or + // false depending on whether method.invoke() worked or not + bool result = method.invoke(o, Qt::AutoConnection, + genericArguments.value(0), + genericArguments.value(1), genericArguments.value(2), + genericArguments.value(3), genericArguments.value(4), + genericArguments.value(5), genericArguments.value(6), + genericArguments.value(7), genericArguments.value(8), + genericArguments.value(9)); + + return convertQVariantToPyObject(result); + } + QVariant result; if (method.invoke(o, Qt::DirectConnection, Q_RETURN_ARG(QVariant, result), genericArguments.value(0), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_priv.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_priv.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_priv.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_priv.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_worker.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_worker.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_worker.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_worker.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_worker.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_worker.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qpython_worker.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qpython_worker.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qvariant_converter.h new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qvariant_converter.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/src/qvariant_converter.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/src/qvariant_converter.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, 2014, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/test_call_signal/TestModule.py new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/test_call_signal/TestModule.py --- old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/test_call_signal/TestModule.py 1970-01-01 01:00:00.000000000 +0100 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/test_call_signal/TestModule.py 2019-02-08 11:32:16.000000000 +0100 @@ -0,0 +1,5 @@ +import pyotherside + +def makeCalls(obj): + print(f'result of callFunction: {obj.callFunction()}') + print(f'result of callSignal: {obj.callSignal()}') diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/test_call_signal/test.qml new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/test_call_signal/test.qml --- old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/test_call_signal/test.qml 1970-01-01 01:00:00.000000000 +0100 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/test_call_signal/test.qml 2019-02-08 11:32:16.000000000 +0100 @@ -0,0 +1,31 @@ +import QtQuick 2.9 +import io.thp.pyotherside 1.5 + +Item { +id: obj + + signal callSignal() + + function callFunction() { + print('Function Called') + return 'hoho' + } + + function signalConnection(){ + print('Signal Called') + } + + Component.onCompleted: { + obj.callSignal.connect(signalConnection) + } + + Python { + Component.onCompleted: { + addImportPath(Qt.resolvedUrl('.')); + + importModule('TestModule', function(){ + call('TestModule.makeCalls', [obj]) + }) + } + } +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/tests.cpp new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/tests.cpp --- old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/tests.cpp 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/tests.cpp 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/tests.h new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/tests.h --- old/pyotherside-1.5.3.git.1535366950.067e3a6/tests/tests.h 2018-08-27 12:49:10.000000000 +0200 +++ new/pyotherside-1.5.4.git.1549621936.ebe2845/tests/tests.h 2019-02-08 11:32:16.000000000 +0100 @@ -1,7 +1,7 @@ /** * PyOtherSide: Asynchronous Python 3 Bindings for Qt 5 - * Copyright (c) 2011, 2013, Thomas Perl <m...@thp.io> + * Copyright (c) 2011, 2013-2019, Thomas Perl <m...@thp.io> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above