- May 14, 2020
-
-
Florent Lamiraux authored
before find_package(PythonLibs REQUIRED). This enables cmake to detect the correct default version of python.
-
- Dec 11, 2019
-
-
Florent Lamiraux authored
-
- May 18, 2019
-
-
Joseph Mirabel authored
Remove matplotlib backend for Qt4
-
- May 15, 2019
-
-
Joseph Mirabel authored
This reverts commit a88ec036.
-
Joseph Mirabel authored
This reverts commit c1d710b4.
-
Joseph Mirabel authored
This reverts commit fc5dce38.
-
- Mar 26, 2018
-
-
- Feb 21, 2018
-
-
- Feb 16, 2018
-
-
- Feb 07, 2018
-
-
-
* calls to connect function * minor changes
-
-
-
-
- Feb 06, 2018
-
-
- Sep 21, 2017
-
-
Francois Budin authored
Using INSTALL_NAME_DIR target property forces the install name to be an absolute path instead of `@rpath/{target_name}` [1]. This causes problems when one tries to relocate the target once it is installed. This patch removes this target property. If a project needs to keep the absolute path, CMake variables such as INSTALL_NAME_DIR can be set at configuration to do so. [1] https://gitlab.kitware.com/cmake/cmake/issues/16589
-
- Aug 08, 2017
-
-
Jean-Christophe Fillion-Robin authored
-
- Jun 15, 2016
-
-
Marco Nolden authored
added qt 5.6 support by removing dependencies to webkit on versions >…
-
- Jun 01, 2016
-
-
Eric Heim authored
-
- May 30, 2016
-
-
Matthew Woehlke authored
-
Jean-Christophe Fillion-Robin authored
-
- May 23, 2016
-
-
Jean-Christophe Fillion-Robin authored
Based on work from the following individual: * Melven Röhrig-Zöllner (https://sourceforge.net/p/pythonqt/discussion/631392/thread/5f20c176/) * Julien Finet (@finetjul): See #38) * Arnaud Barre (@alzathar):See #15 * Eric Heim (@eric-h):See #36
-
Jean-Christophe Fillion-Robin authored
This will allow to easily add new exceptions when adding support for Qt5..
-
Jean-Christophe Fillion-Robin authored
-
Jean-Christophe Fillion-Robin authored
-
Jean-Christophe Fillion-Robin authored
-
Jean-Christophe Fillion-Robin authored
This commit fixes the following link error: PythonQtTestMain.cpp:(.text+0x1637): undefined reference to `PythonQtTestCleanup::~PythonQtTestCleanup()'
-
Max Smolens authored
This commit fixes a crash during PythonQt::cleanup(). While destroying the PythonQtPrivate instance, any remaining PythonQtSignalReceivers that are kept alive only by their parent object will be destroyed. The crash occurs when PythonQtSignalReceiver's destructor calls back into PythonQtPrivate::removeSignalEmitter() when the PythonQtPrivate instance is mostly destroyed. Includes test case that crashes without the fix.
-
Max Smolens authored
Add tests that check for clean cleanup and finalization in different scenarios. Co-authored-by:
Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com> Co-authored-by:
Pat Marion <james.patrick.marion@gmail.com>
-
Max Smolens authored
This commit changes initialization of the global storage containers to be explicit instead of happening during static initialization. This makes the containers properly initialized if PythonQt is initialized and cleaned up more than once. The motivation for this change is to support testing cleanup and finalization.
-
Max Smolens authored
A sequence of calls like the following would crash in Python when reinitializing the interpreter the second time: PythonQt::init(0); ... Py_Finalize(); PythonQt::init(0); ... Py_Finalize();
-
Max Smolens authored
This commit fixes a link error building PythonQtCppTests on Windows: 1>PythonQtCppTests.obj : error LNK2001: unresolved external symbol "int __cdecl tests_PythonQtTestMain(int,char * * const)" (?tests_PythonQtTestMain@@YAHHQEAPEAD@Z) 1>C:\temp\PythonQt-build\Debug\PythonQtCppTests.exe : fatal error LNK1120: 1 unresolved externals
-
Max Smolens authored
This commit prevents crashes by handling scenarios such as: (a) object destruction after the Python interpreter has been finalized (b) object destruction after cleanup, i.e. the singleton no longer exists Any usage of a Qt enum demonstrates (a). One example that demonstrates (b) is a QTimer object which is created with a QApplication parent. PythonQt::cleanup() is called before the QApplication is completely destroyed, so the code that handles wrapping the QTimer object must handle the case when the PythonQt singleton no longer exists. Co-authored-by:
Jean-Christophe Fillion-Robin <jchris.fillionr@kitware.com>
-
Max Smolens authored
-
- Sep 01, 2015
-
-
Max Smolens authored
Prior to commit https://github.com/commontk/PythonQt/commit/9c2e489d734758cd63bb7cbe4a0ed6ae6c6ce228, the "name" property was offered as an alias for the "objectName" property. Now, the alias is a compile-time option that is disabled by default. This commit enables the "name" property alias to maintain backwards compatibility with earlier versions.
-
- Aug 31, 2015
-
-
Jean-Christophe Fillion-Robin authored
-
Max Smolens authored
In certain situations the dealloc callback PythonQtInstanceWrapper_dealloc is called after PythonQt::cleanup() has been run. This can happen when Python destroys objects during Py_Finalize(). This commit adds a check that PythonQt is still initialized in the dealloc callback.
-
Max Smolens authored
This commit increments the refcount of the built-in PyInt_Type instance when creating an enum wrapper. This is necessary because PyTuple_SET_ITEM steals a reference to that instance. Fixing the refcount prevents a crash when calling Py_Finalize().
-
Max Smolens authored
PyObject_GetAttrString returns a new reference. PyDict_SetItemString does not steal a reference, so Py_DECREF should be called after PyDict_SetItemString.
-