Package Details: pythonqt 3.2-8

Git Clone URL: https://aur.archlinux.org/pythonqt.git (read-only, click to copy)
Package Base: pythonqt
Description: A dynamic Python binding for Qt applications
Upstream URL: http://pythonqt.sourceforge.net/
Keywords: library qt5
Licenses: LGPL2.1
Conflicts: pythonqt-for-screencloud, pythonqt-svn, qt5-python27-git
Replaces: pythonqt-qt5
Submitter: ainola
Maintainer: Nim65s
Last Packager: Nim65s
Votes: 14
Popularity: 0.000000
First Submitted: 2015-08-09 19:29
Last Updated: 2021-10-03 09:58

Latest Comments

1 2 Next › Last »

Nim65s commented on 2021-10-03 09:59

micwoj92: I "fixed" it. Still waiting for a new upstream release though…

micwoj92 commented on 2021-09-28 22:40

Build fails for me with

../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp: In member function ‘void PythonQtWrapper_QMessageLogger::critical(QMessageLogger*, const char*) const’:
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp:4954:31: error: format not a string literal and no format arguments [-Werror=format-security]
 4954 |   ( theWrappedObject->critical(msg));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp: In member function ‘void PythonQtWrapper_QMessageLogger::debug(QMessageLogger*, const char*) const’:
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp:4959:28: error: format not a string literal and no format arguments [-Werror=format-security]
 4959 |   ( theWrappedObject->debug(msg));
      |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp: In member function ‘void PythonQtWrapper_QMessageLogger::fatal(QMessageLogger*, const char*) const’:
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp:4964:28: error: format not a string literal and no format arguments [-Werror=format-security]
 4964 |   ( theWrappedObject->fatal(msg));
      |     ~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp: In member function ‘void PythonQtWrapper_QMessageLogger::info(QMessageLogger*, const char*) const’:
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp:4969:27: error: format not a string literal and no format arguments [-Werror=format-security]
 4969 |   ( theWrappedObject->info(msg));
      |     ~~~~~~~~~~~~~~~~~~~~~~^~~~~
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp: In member function ‘void PythonQtWrapper_QMessageLogger::noDebug(QMessageLogger*, const char*) const’:
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp:4974:30: error: format not a string literal and no format arguments [-Werror=format-security]
 4974 |   ( theWrappedObject->noDebug(arg__1));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp: In member function ‘void PythonQtWrapper_QMessageLogger::warning(QMessageLogger*, const char*) const’:
../../generated_cpp_56/com_trolltech_qt_core/com_trolltech_qt_core1.cpp:4979:30: error: format not a string literal and no format arguments [-Werror=format-security]
 4979 |   ( theWrappedObject->warning(msg));
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~

There is active repo hosted on GitHub, but releases are not available https://github.com/MeVisLab/pythonqt error is maybe fixed on the upstream git but I haven't checked yet.

AlfredoRamos commented on 2017-06-13 18:21

Adding a symlink doesn't seems to be a good idea to me, as I will need to hardcode the source file [0] of the symbolic link.

Instead, I added a patch [1] that generates a pkg-config file [2], so you can use this tool to get the library [3].

pkg-config --libs PythonQt
# -lPythonQt-Qt5-Python3

[0]: libPythonQt-Qt{4,5}-Python{2,2.7,3,3.6,3.6m}
[1]: https://aur.archlinux.org/cgit/aur.git/tree/create_pkgconfig_file.patch?h=pythonqt&id=7d6aea2dc8bbab00d55b24de0e772f8e9ddc8d01
[2]: https://aur.archlinux.org/cgit/aur.git/tree/pkgconfig_file.prf?h=pythonqt&id=7d6aea2dc8bbab00d55b24de0e772f8e9ddc8d01
[3]: https://doc.qt.io/qt-5/qmake-project-files.html#configuration-features

rigon commented on 2017-06-13 10:46

The libraby /usr/lib/libPythonQt.so no longer exists.
Programs compiled against this library cannot link anymore. Can you fix this with a symlink?

lybin commented on 2017-02-01 12:44

@AlfredoRamos, you're right, sorry, it was some problem on my side. Thx

AlfredoRamos commented on 2017-01-31 21:58

@lybin I just built your package with no problem using makepkg and pacaur. Please copy and paste the full output to a pastebin site [1] and post the link.
___
[1]: https://pastebin.osuosl.org/

lybin commented on 2017-01-31 12:34

/usr/include/PythonQt/PythonQtPythonInclude.h:59:20: fatal error: Python.h: No such file or directory

I got error when build aur/screencloud

AlfredoRamos commented on 2017-01-30 16:44

Package updated, now it must build with Qt 5.8

jghodd commented on 2017-01-29 20:27

@AlfredRamos - ok. guess we'll have to wait for the official version from upstream.

meanwhile, i have been able to confirm that removing the 2 enum types (WindowOkButtonHint and WindowCancelButtonHint) do allow the build to continue to completion.

i have a new PythonQt3.1.zip with a new generated_cpp_58 directory (and modified build/common.prf) that i'll be using in the mean time.

AlfredoRamos commented on 2017-01-29 15:28

@jghodd I'm aware it doesn't build with Qt 5.8 but it's not out-dated as there's any patch so far.

- https://sourceforge.net/p/pythonqt/discussion/631393/thread/0bfe7e43/?limit=25#4273

Unflagged and waiting for upstream patches.