{"id":18614020,"url":"https://github.com/enthought/pyside-setup","last_synced_at":"2025-06-28T07:35:19.040Z","repository":{"id":5362469,"uuid":"6548923","full_name":"enthought/pyside-setup","owner":"enthought","description":"Default Repo description from terraform module","archived":false,"fork":false,"pushed_at":"2016-09-09T06:37:11.000Z","size":343,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":22,"default_branch":"master","last_synced_at":"2024-12-27T02:42:56.595Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/enthought.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-11-05T17:52:37.000Z","updated_at":"2021-06-01T16:37:48.000Z","dependencies_parsed_at":"2022-07-06T05:31:22.636Z","dependency_job_id":null,"html_url":"https://github.com/enthought/pyside-setup","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fpyside-setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fpyside-setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fpyside-setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/enthought%2Fpyside-setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/enthought","download_url":"https://codeload.github.com/enthought/pyside-setup/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406446,"owners_count":19633024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-07T03:24:44.247Z","updated_at":"2025-02-18T03:43:40.672Z","avatar_url":"https://github.com/enthought.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"======\nPySide\n======\n\n.. contents:: **Table of Contents** \n\nIntroduction\n============\n\nPySide is the Python Qt bindings project, providing access the complete Qt 4.8 framework\nas well as to generator tools for rapidly generating bindings for any C++ libraries.\n\nThe PySide project is developed in the open, with all facilities you'd expect\nfrom any modern OSS project such as all code in a git repository [1], an open\nBugzilla [2] for reporting bugs, and an open design process [3]. We welcome\nany contribution without requiring a transfer of copyright.\n\nCompatibility\n=============\n\nPySide requires Python 2.6 or later and Qt 4.6 or better.\n\nInstalling PySide from source on a Windows System\n=================================================\n\nInstalling prerequisities\n-------------------------\n\n#. Install `Python 2.7\n   \u003chttp://python.org/download/releases/2.7.3/\u003e`_.\n\n#. Install `Qt 4.8 libraries for Windows (VS 2008)\n   \u003chttp://releases.qt-project.org/qt4/source/qt-win-opensource-4.8.2-vs2008.exe\u003e`_.\n\n#. Install `Cmake 2.8\n   \u003chttp://www.cmake.org/cmake/resources/software.html\u003e`_.\n\n#. Install `MS Visual Studio Express 2008\n   \u003chttp://www.microsoft.com/express/Downloads/\u003e`_.\n\n#. Install `Git 1.7\n   \u003chttp://git-scm.com/download/win\u003e`_.\n\n#. (Optional) Install `OpenSSL\n   \u003chttp://slproweb.com/products/Win32OpenSSL.html\u003e`_.\n\n#. Install latest `distribute` distribution into the Python you\n   installed in the first step: download `distribute_setup.py\n   \u003chttp://python-distribute.org/distribute_setup.py\u003e`_ and run it using\n   the ``python`` interpreter of your Python 2.7 installation using a\n   command prompt:\n\n   ::\n\n      c:\\\u003e c:\\Python27\\python distribute_setup.py\n\n#. Use that Python's `bin/easy_install` to install `virtualenv`:\n\n   ::\n\n      c:\\\u003e c:\\Python27\\Scripts\\easy_install virtualenv\n\n#. Use that Python's virtualenv to make a workspace:\n\n   ::\n\n      c:\\\u003e c:\\Python27\\Scripts\\virtualenv env\n\n#. Open Visual Studio 2008 Command Prompt:\n\n   ::\n\n      c:\\\u003e c:\\ProgramData\\Microsoft\\Windows\\Start Menu\\Programs\\Microsoft Visual Studio 2008\\Visual Studio Tools\\Visual Studio 2008 Command Prompt.lnk\n\n#. Switch to the ``env`` directory:\n\n   ::\n\n      c:\\\u003e cd env\n\nInstalling PySide\n-----------------\n\nUse ``pip`` to get `PySide` installed:\n\n::\n\n   c:\\env\u003e Scripts\\pip install PySide --install-option=\"--qmake=c:\\\\Qt\\\\4.8.2\\\\bin\\\\qmake.exe\"\n\nOptionally you can specify the path to OpenSSL libs:\n\n::\n\n   c:\\env\u003e Scripts\\pip install PySide --install-option=\"--openssl=c:\\\\OpenSSL32bit\\\\bin\" --install-option=\"--qmake=c:\\\\Qt\\\\4.8.2\\\\bin\\\\qmake.exe\"\n\nBuilding PySide installer\n-------------------------\n\n#. Clone ``PySide`` from git repository:\n\n   ::\n\n      c:\\\u003e git clone https://github.com/PySide/pyside-setup.git pyside-setup\n\n#. Switch to the ``pyside-setup`` directory:\n\n   ::\n\n      c:\\\u003e cd pyside-setup\n\n#. Build ``PySide`` windows installer:\n\n   ::\n\n      c:\\\u003e c:\\Python27\\python setup.py bdist_wininst --qmake=c:\\Qt\\4.8.2\\bin\\qmake.exe --openssl=c:\\OpenSSL32bit\\bin\n\nInstalling PySide from source on a UNIX System (Ubuntu 12.04 LTS)\n=================================================================\n\nInstalling prerequisities\n-------------------------\n\n#. Install Python 2.7 header files and a static library:\n    \n   ::\n\n      $ sudo apt-get install python2.7-dev\n   \n#. Install Qt 4.8 libraries:\n    \n   ::\n\n      $ sudo apt-get install qt-sdk\n   \n#. Install cmake:\n    \n   ::\n\n      $ sudo apt-get install cmake\n\n#. Install git:\n    \n   ::\n\n      $ sudo apt-get install git\n   \n#. Install latest `distribute` distribution into the Python you\n   installed in the first step: download `distribute_setup.py\n   \u003chttp://python-distribute.org/distribute_setup.py\u003e`_ and run it using\n   the ``python`` interpreter of your Python 2.7 installation using a\n   command prompt:\n\n   ::\n\n      $ sudo python distribute_setup.py\n\n#. Use that Python's `bin/easy_install` to install `virtualenv`:\n\n   ::\n\n      $ sudo easy_install virtualenv\n\n#. Use that Python's virtualenv to make a workspace:\n\n   ::\n\n      $ virtualenv env\n\nInstalling PySide\n-----------------\n\nUse ``pip`` to get `PySide` installed from PyPI:\n\n::\n\n   $ env/bin/pip install PySide\n\nAlternatively you can install development version of `PySide` from github repository:\n\n::\n\n   $ env/bin/pip install git+https://github.com/PySide/pyside-setup.git\n\nYou can also specify version of `PySide` when installing from github repository:\n\n::\n\n   $ env/bin/pip install git+https://github.com/PySide/pyside-setup.git@1.1.1\n\nBuilding PySide distribution egg\n--------------------------------\n\n#. Clone ``PySide`` from git repository:\n\n   ::\n\n      $ git clone https://github.com/PySide/pyside-setup.git pyside-setup\n\n#. Switch to the ``pyside-setup`` directory:\n\n   ::\n\n      $ cd pyside-setup\n\n#. Build ``PySide`` distribution egg:\n\n   ::\n\n      $ env/bin/python setup.py bdist_egg\n\n#. Optionally you can build standalone version of distribution egg with embedded Qt libs:\n\n   ::\n\n      $ env/bin/python setup.py bdist_egg --standalone\n\nFeedback and getting involved\n=============================\n\n- Mailing list: http://lists.qt-project.org/mailman/listinfo/pyside\n- Issue tracker: https://bugreports.qt-project.org/browse/PYSIDE\n- Code Repository: http://qt.gitorious.org/pyside\n\nChanges\n=======\n\n1.1.2 (2012-08-28)\n------------------\n\nBug fixes\n~~~~~~~~~\n\n- During signal emission don't get return type after callback\n- Invalidate QStandardModel::invisibleRootItem in clear() method\n- QAbstractItemModel has wrong ownership policy for selectionModel()\n- Improved QVector to python conversion\n- Disable docstring generation if tools aren't found.\n- Fixed some issues compiling PySide using VC++\n- Install the shiboken module to site-packages\n- Fix compilation when there is no libxslt installed on the system.\n- Set a default hash function for all ObjectTypes.\n- Fix segfault calling shiboken.dump\n\n1.1.1 (2012-04-19)\n------------------\n\nMajor changes\n~~~~~~~~~~~~~\n\n- Unified toolchain! No more GeneratorRunner and ApiExtractor, now you just need Shiboken to compile PySide.\n\nBug fixes\n~~~~~~~~~\n\n- 1105 Spyder fails with HEAD\n- 1126 Segfault when exception is raised in signalInstanceDisconnect\n- 1135 SIGSEGV when loading custom widget using QUiLoader when overriding createWidget()\n- 1041 QAbstractItemModel has wrong ownership policy for selectionModel()\n- 1086 generatorrunner segfault processing #include\n- 1110 Concurrency error causes GC heap corruption\n- 1113 Instantiating QObject in user-defined QML element's constructor crashes if instantiated from QML\n- 1129 Segmentation fault on close by QStandardItem/QStandardItemModel\n- 1104 QSettings has problems with long integers\n- 1108 tests/QtGui/pyside_reload_test.py fails when bytecode writing is disabled\n- 1138 Subclassing of QUiLoader leads to \"Internal C++ object already deleted\" exception (again)\n- 1124 QPainter.drawPixmapFragments should take a list as first argument\n- 1065 Invalid example in QFileDialog documentation\n- 1092 shiboken names itself a 'generator'\n- 1094 shiboken doesn't complain about invalid options\n- 1044 Incorrect call to parent constructor in example\n- 1139 Crash at exit due to thread state (tstate) being NULL\n- PYSIDE-41 QModelIndex unhashable\n\n1.1.0 (2012-01-02)\n------------------\n\nMajor changes\n~~~~~~~~~~~~~\n\n- New type converter scheme\n\nBug fixes\n~~~~~~~~~\n\n- 1010 Shiboken Cygwin patch\n- 1034 Error compiling PySide with Python 3.2.2 32bit on Windows\n- 1040 pyside-uic overwriting attributes before they are being used\n- 1053 pyside-lupdate used with .pro files can't handle Windows paths that contain spaces\n- 1060 Subclassing of QUiLoader leads to \"Internal C++ object already deleted\" exception\n- 1063 Bug writing to files using \"QTextStream + QFile + QTextEdit\" on Linux\n- 1069 QtCore.QDataStream silently fails on writing Python string\n- 1077 Application exit crash when call QSyntaxHighlighter.document()\n- 1082 OSX binary links are broken\n- 1083 winId returns a PyCObject making it impossible to compare two winIds\n- 1084 Crash (segfault) when writing unicode string on socket\n- 1091 PixmapFragment and drawPixmapFragments are not bound\n- 1095 No examples for shiboken tutorial\n- 1097 QtGui.QShortcut.setKey requires QKeySequence\n- 1101 Report invalid function signatures in typesystem\n- 902 Expose Shiboken functionality through a Python module\n- 969 viewOptions of QAbstractItemView error\n\n1.0.9 (2011-11-29)\n------------------\n\nBug fixes\n~~~~~~~~~\n\n- 1058 Strange code in PySide/QtUiTools/glue/plugins.h\n- 1057 valgrind detected \"Conditional jump or move depends on uninitialised value\"\n- 1052 PySideConfig.cmake contains an infinite loop due to missing default for SHIBOKEN_PYTHON_SUFFIX\n- 1048 QGridLayout.itemAtPosition() crashes when it should return None\n- 1037 shiboken fails to build against python 3.2 (both normal and -dbg) on i386 (and others)\n- 1036 Qt.KeyboardModifiers always evaluates to zero\n- 1033 QDialog.DialogCode instances and return value from \\QDialog.exec_ hash to different values\n- 1031 QState.parentState() or QState.machine() causes python crash at exit\n- 1029 qmlRegisterType Fails to Increase the Ref Count\n- 1028 QWidget winId missing\n- 1016 Calling of Q_INVOKABLE method returning not QVariant is impossible...\n- 1013 connect to QSqlTableModel.primeInsert() causes crash\n- 1012 FTBFS with hardening flags enabled\n- 1011 PySide Cygwin patch\n- 1010 Shiboken Cygwin patch\n- 1009 GeneratorRunner Cygwin patch\n- 1008 ApiExtractor Cygwin patch\n- 891 ApiExtractor doesn't support doxygen as backend to doc generation.\n\n1.0.8 (2011-10-21)\n------------------\n\nMajor changes\n~~~~~~~~~~~~~\n\n- Experimental Python3.2 support\n- Qt4.8 beta support\n\nBug fixes\n~~~~~~~~~\n\n- 1022 RuntimeError: maximum recursion depth exceeded while getting the str of an object\n- 1019 Overriding QWidget.show or QWidget.hide do not work\n- 944 Segfault on QIcon(None).pixmap()\n\n1.0.7 (2011-09-21)\n------------------\n\nBug fixes\n~~~~~~~~~\n\n- 996 Missing dependencies for QtWebKit in buildscripts for Fedora\n- 986 Documentation links\n- 985 Provide versioned pyside-docs zip file to help packagers\n- 981 QSettings docs should empathize the behavior changes of value() on different platforms\n- 902 Expose Shiboken functionality through a Python module\n- 997 QDeclarativePropertyMap doesn't work.\n- 994 QIODevice.readData must use qmemcpy instead of qstrncpy\n- 989 Pickling QColor fails\n- 987 Disconnecting a signal that has not been connected\n- 973 shouldInterruptJavaScript slot override is never called\n- 966 QX11Info.display() missing\n- 959 can't pass QVariant to the QtWebkit bridge\n- 1006 Segfault in QLabel init\n- 1002 Segmentation fault on PySide/Spyder exit\n- 998 Segfault with Spyder after switching to another app\n- 995 QDeclarativeView.itemAt returns faulty reference. (leading to SEGFAULT)\n- 990 Segfault when trying to disconnect a signal that is not connected\n- 975 Possible memory leak\n- 991 The __repr__ of various types is broken\n- 988 The type supplied with currentChanged signal in QTabWidget has changed in 1.0.6\n\n1.0.6 (2011-08-22)\n------------------\n\nMajor changes\n~~~~~~~~~~~~~\n\n- New documentation layout;\n- Fixed some regressions from the last release (1.0.5);\n- Optimizations during anonymous connection;\n\nBug fixes\n~~~~~~~~~\n\n- 972 anchorlayout.py of graphicsview example raised a unwriteable memory exception when exits\n- 953 Segfault when QObject is garbage collected after QTimer.singeShot\n- 951 ComponentComplete not called on QDeclarativeItem subclass\n- 965 Segfault in QtUiTools.QUiLoader.load\n- 958 Segmentation fault with resource files\n- 944 Segfault on QIcon(None).pixmap()\n- 941 Signals with QtCore.Qt types as arguments has invalid signatures\n- 964 QAbstractItemView.moveCursor() method is missing\n- 963 What's This not displaying QTableWidget column header information as in Qt Designer\n- 961 QColor.__repr__/__str__ should be more pythonic\n- 960 QColor.__reduce__ is incorrect for HSL colors\n- 950 implement Q_INVOKABLE\n- 940 setAttributeArray/setUniformValueArray do not take arrays\n- 931 isinstance() fails with Signal instances\n- 928 100's of QGraphicItems with signal connections causes slowdown\n- 930 Documentation mixes signals and functions.\n- 923 Make QScriptValue (or QScriptValueIterator) implement the Python iterator protocol\n- 922 QScriptValue's repr() should give some information about its data\n- 900 QtCore.Property as decorator\n- 895 jQuery version is outdated, distribution code de-duplication breaks documentation search\n- 731 Can't specify more than a single 'since' argument\n- 983 copy.deepcopy raises SystemError with QColor\n- 947 NETWORK_ERR during interaction QtWebKit window with server\n- 873 Deprecated methods could emit DeprecationWarning\n- 831 PySide docs would have a \"Inherited by\" list for each class\n\n1.0.5 (2011-07-22)\n------------------\n\nMajor changes\n~~~~~~~~~~~~~\n\n- Widgets present on \"ui\" files are exported in the root widget, check PySide ML thread for more information[1];\n- pyside-uic generate menubars without parent on MacOS plataform;\n- Signal connection optimizations;\n\nBug fixes\n~~~~~~~~~\n\n- 892 Segfault when destructing QWidget and QApplication has event filter installed\n- 407 Crash while multiple inheriting with QObject and native python class\n- 939 Shiboken::importModule must verify if PyImport_ImportModule succeeds\n- 937 missing pid method in QProcess\n- 927 Segfault on QThread code.\n- 925 Segfault when passing a QScriptValue as QObject or when using .toVariant() on a QScriptValue\n- 905 QtGui.QHBoxLayout.setMargin function call is created by pyside-uic, but this is not available in the pyside bindings\n- 904 Repeatedly opening a QDialog with Qt.WA_DeleteOnClose set crashes PySide\n- 899 Segfault with 'QVariantList' Property.\n- 893 Shiboken leak reference in the parent control\n- 878 Shiboken may generate incompatible modules if a new class is added.\n- 938 QTemporaryFile JPEG problem\n- 934 A __getitem__ of QByteArray behaves strange\n- 929 pkg-config files do not know about Python version tags\n- 926 qmlRegisterType does not work with QObject\n- 924 Allow QScriptValue to be accessed via []\n- 921 Signals not automatically disconnected on object destruction\n- 920 Cannot use same slot for two signals\n- 919 Default arguments on QStyle methods not working\n- 915 QDeclarativeView.scene().addItem(x) make the x object invalid\n- 913 Widgets inside QTabWidget are not exported as members of the containing widget\n- 910 installEventFilter() increments reference count on target object\n- 907 pyside-uic adds MainWindow.setMenuBar(self.menubar) to the generated code under OS X\n- 903 eventFilter in ItemDelegate\n- 897 QObject.property() and QObject.setProperty() methods fails for user-defined properties\n- 896 QObject.staticMetaObject() is missing\n- 916 Missing info about when is possible to use keyword arguments in docs [was: QListWidgetItem's constructor ignores text parameter]\n- 890 Add signal connection example for valueChanged(int) on QSpinBox to the docs\n- 821 Mapping interface for QPixmapCache\n- 909 Deletion of QMainWindow/QApplication leads to segmentation fault\n\nReferences\n==========\n\n- [1] http://qt.gitorious.org/pyside\n- [2] https://bugreports.qt-project.org/browse/PYSIDE\n- [3] http://www.pyside.org/docs/pseps/psep-0001.html\n- [4] http://developer.qt.nokia.com/wiki/PySideDownloads\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fpyside-setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fenthought%2Fpyside-setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fenthought%2Fpyside-setup/lists"}