François Andriot
5afb6e8ec4
Fix FTBFS with Python 3.13.
...
This solves issue #32 .
Signed-off-by: François Andriot <albator78@libertysurf.fr>
(cherry picked from commit d0ab12dc39
)
2 months ago
ormorph
03a1fe4718
Fix example translations for pytqt
...
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit f8780f8ac8
)
7 months ago
ormorph
3dec37ecf0
Changing string types to bytes for pytquic
...
For python3 you need to explicitly specify the bytes type, it is different from strings
Signed-off-by: ormorph <roma251078@mail.ru>
(cherry picked from commit ba0616ea87
)
7 months ago
Michele Calgaro
88d14d22d6
Replace Q_WS_* defines with TQ_WS_* equivalents
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 23638c89e3
)
9 months ago
Michele Calgaro
244f8405a7
Add support for python 3.12 and raise minimum required version to 3.4.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 15eb6c387b
)
10 months ago
Michele Calgaro
27f46d6031
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7d5aea7e84
)
10 months ago
Michele Calgaro
a131499f33
Replaced various '#define' with actual strings - part 3
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 456d0fb6a2
)
12 months ago
Michele Calgaro
8bb7d792c7
Replace various Q_* and QT_* defines with TQ_* and TQT_*
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit db3abe1860
)
1 year ago
Michele Calgaro
c6acfabe32
Removed unnecessary code
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 8ccbd4fc02
)
1 year ago
François Andriot
f4a39d2fde
This happens en RHEL7 (gcc 4.8.5) but not on later distributions.
...
Signed-off-by: François Andriot <francois.andriot@free.fr>
2 years ago
Slávek Banko
4feca443fb
temporary commit to show changes
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko
16434e5519
Do rename qt=>tqt on source files, directories and libraries.
...
Rename pyuic=>pytquic, pylupdate=>pytqlupdate.
Do rename qt=>tqt on constants and variables.
Do rename QT=>TQT on constants.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro
1c362264d3
Remove/replace old conditional python code.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko
6054548c25
Update module name definitions to match full name.
...
This will enable automatic loading of PyTQt modules
for modules that depend on PyTQt modules.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro
d31a084fc8
Use utf8 instead of latin1/ascii as default. Address pyuic compatibility with python3.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Michele Calgaro
3095466100
Fixed SEGV caused by commit 6be04664
when creating universal slots.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko
7ec95b9522
Rename python extension module from python_tqt to PyTQt.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
ormorph
223af3b47f
Added fix canvas.py for python3
...
Signed-off-by: ormorph <roma251078@mail.ru>
2 years ago
aneejit1
33a0297b35
Remove support for earlier Qt/TQt versions
...
Conditional code in the .sip files linked to specific older versions has
been removed. Since the versions of TQt and python-tqt are running in
parallel, the support for older versions was clutter that would never
actually be used now.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
2 years ago
aneejit1
e602246539
Remove Qt V2 support and example files
...
Build files for pyuic2 have been removed along with the examples for
version 2 of Qt and the build/configure scripts have been amended
accordingly. The "examples3" directory has been renamed to just
"examples".
Signed-off-by: aneejit1 <aneejit1@gmail.com>
2 years ago
Slávek Banko
b34531364d
Changed testing for the presence of optional modules,
...
because simply testing a file with a ".so" extension
does not work on multiarch Python installations.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
aneejit1
6be0466422
Updates to support Python version 3
...
Amendments to the sip source and configuration/build scripts to allow
for support under Python version 3. The examples have been updated
using "2to3" along with some manual changes to sort out intentation
and casting to integer from float.
Signed-off-by: aneejit1 <aneejit1@gmail.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro
63fe0b82b4
Rename ENABLE_QSTYLECONTROLELEMENTDATA_SLOW_COPY in ENABLE_TQSTYLECONTROLELEMENTDATA_SLOW_COPY
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko
f1df318a34
Update for renamed sip_tqt_config.
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro
7670049129
Replaced 'includehints' with 'includes' in *.ui files.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro
34c13c8117
Convert .ui file from dos to unix format.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Slávek Banko
cfaa762ca7
Update after rename QScintilla => TQScintilla.
...
This relates to issue TDE/tqscintilla#2 .
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro
8e8bdb86cb
Additional fix similar to previous commit.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
François Andriot
6d6b6319a8
Fix ftbfs on Fedora 34
...
error: ordered comparison of pointer with integer zero ('PyObject*' {aka '_object*'} and 'in ')
Signed-off-by: François Andriot <francois.andriot@free.fr>
4 years ago
Slávek Banko
a0b020e7d2
pyuic: Delete the current date from the generated files
...
so that their generation can be reproducible.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
4 years ago
Michele Calgaro
af4bcf6b8f
Removed code formatting modelines.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro
989e3c1dc4
Adjusted to latest TQVariant::TQVariant(bool) function.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
ae59056eb2
Removed obsolete CHECK_PTR and replaced CHECK_PTR/Q_CHECK_PTR with TQ_CHECK_PTR.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
cdb2c767da
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
...
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
79113dda15
QT_NO_* -> TQT_NO_* renaming.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2638efc545
qt -> tqt conversion:
...
QT_NO_ASCII_CAST -> TQT_NO_ASCII_CAST
QT_NO_STL -> TQT_NO_STL
QT_NO_COMPAT -> TQT_NO_COMPAT
QT_NO_TRANSLATION -> TQT_NO_TRANSLATION
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
2ead41ab9a
qt -> tqt conversion:
...
QTDIR -> TQTDIR
QTDOC -> TQTDOC
INCDIR_QT -> INCDIR_TQT
LIBDIR_QT -> LIBDIR_TQT
QT_INC -> TQT_INC
QT_LIB -> TQT_LIB
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
0517447cd1
qt -> tqt conversion:
...
qtlib -> tqtlib
libqt -> libtqt
QTLIB -> TQTLIB
LIBQT -> LIBTQT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro
aa7aad9260
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Slávek Banko
893921f038
Conversion QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
6 years ago
Slávek Banko
1638609997
Properly import python_tqt module in scripts generated by pyuic
...
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
e790d08307
Fix examples to properly import python_tqt module
...
This resolves bug 2693
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Slávek Banko
0b2f1c4760
Improve python_tqt module initialization
...
This relates to bug 2693
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
8 years ago
Timothy Pearson
cc2cd44cab
Fix invalid headers in PNG files and optimize for size
8 years ago
Michele Calgaro
51b4af5d81
Fixed FTBFS caused by wrong #define.
...
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
10 years ago
François Andriot
695fdfc196
Fix FTBFS if no "-e" parameter is used
10 years ago
Timothy Pearson
e3a99f6792
Set python library for all modules
...
This relates to Bug 1995
10 years ago
Timothy Pearson
1653baa518
Fix minor text error in prior commit
10 years ago
Timothy Pearson
a23242ac11
Add ability to set libpython library
...
This relates to Bug 1995
10 years ago
Timothy Pearson
5db5a616d8
Add missing methods to SQL database and driver classes
...
This resolves Bug 2121
10 years ago