Commit Graph

49 Commits (d768e91379d44b22260cddb3559c1e2243c3b1f5)
 

Author SHA1 Message Date
Slávek Banko d768e91379
Drop the remaining Qt4 related parts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Slávek Banko 0f630aff5c
Entry step for renaming PyTQt module libraries from qt* to tqt*.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
Michele Calgaro 3e5815bce6
Remove old conditional python code.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
2 years ago
Slávek Banko 1d30924b9d
Automatically add build definition Py_DEBUG, when building module for debug build of Python.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
2 years ago
aneejit1 b92a3b0a4e Make sip_api_get_address a public API function
The sipGetAddress function has been renamed as sip_api_get_address
and made available as part of the public API.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 b9448655a2 Ensure module initialisation is exported globally
The generated module initialisation function fails to export because of
the "-fvisibility-hidden" resulting in an import failure on missing
symbol. Alter the visibility of the initialisation function to "default"
to ensure that it winds up as "global" in the module binary.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 c9762bd162 Improve the "underlying C/C++ object has been deleted" message
python-tqt is reporting "underlying C/C++ object has been deleted". This
is rather unhelpful. A little code has been backported from the equivalent
source files in sip 4.19.23 to make it a little clearer about what is
going wrong (original author Riverbank Computing Limited
<info@riverbankcomputing.com>, licensed under GPL version 2 or 3).

Signed-off-by: aneejit1 <aneejit1@gmail.com>
3 years ago
aneejit1 5b12d262dc
Updates for Python 3 Support
The following changes have been made to support Python 3:

- in sip-tqt.h, remove the cast in the "sipConvertFromSliceObject"
  macro in versions 3.2+ as the API changed causing a compile error;
- in voidptr.h, alter the precompile conditions to remove the
  PyCObject API cals for version 3.2+ (causes runtime symbol
  resolution error) and amend the flags for "asstring";
- alter module import process in siplib.c to avoid re-loading an
  already loaded module.

Signed-off-by: aneejit1 <aneejit1@gmail.com>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 299bacc2dd
Fixed several other occurrences for renaming sip into sip-tqt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 5f4dfdf2ed
Drop Qt4 related parts.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
gregory guy 976b20e043
Rename sip into sip-tqt in order to be conflict free with upstream.
This relates to bug 2699.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko c1d6f4a527
Fix the mismatch of tokens TK_TQOBJECT × TK_QOBJECT and
TK_TQCHAR × TK_QCHAR between lexer and parser.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Slávek Banko 123b20b747
Add an explicit rule to generate parser.
Delete generated files from source code.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
3 years ago
Michele Calgaro 32d72527ff
Fix FTBFS for build outside the source code.
This resolves issue #3.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
3 years ago
Michele Calgaro 65411c74aa
Replaced PyList_SET_ITEM as done in python-tqt.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
4 years ago
Michele Calgaro 7ba42131b7
Adjusted after dropping obsolete Qt2's QList class.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro dda6304c50
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
5 years ago
Michele Calgaro af6c501c07
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 9103b635cc
QT_NO_* -> TQT_NO_* renaming.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
6 years ago
Michele Calgaro e450292ca3
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 044b539daf
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 e684d18c0d
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 c444c63319
QT_THREAD_SUPPORT -> TQT_THREAD_SUPPORT conversion to align to updated admin module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Michele Calgaro f12979141f
Removed unnecessary executable flag. This relates to bug 2153.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
7 years ago
Slávek Banko 0747f550f7 Force cast in sipEnumMemberDef
This resolves FTBFS due to a narrowing conversions using
C++11 dialect (GCC6) in python-tqt and python-trinity

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
9 years ago
Timothy Pearson 916b7d8e62 Fix invalid headers in PNG files and optimize for size 9 years ago
Timothy Pearson 80c7008c01 Add ability to set libpython library
This relates to Bug 1995
11 years ago
Slávek Banko c022b80b9c Cleanup 11 years ago
Slávek Banko 8cb6671163 Install as module by default 11 years ago
Slávek Banko e1f1a8aaaf Revert pyqt4TQtSignal to pyqt4QtSignal 12 years ago
Slávek Banko 9b74ae4899 Revert pyqt3TQtSignal to pyqt3QtSignal
It allows to retain compatibility with the original SIP4
12 years ago
Timothy Pearson 58f18d64ee Fix unintended rename 12 years ago
Timothy Pearson bf66696108 Rename many classes and header files to avoid conflicts with KDE4 12 years ago
Darrell Anderson d554f8fec0 Fix inadvertent tqt changes. 13 years ago
Timothy Pearson 29caa6b308 Fix FTBFS 13 years ago
Timothy Pearson 0cc2bc2041 Rename additional members for tqt3 13 years ago
Timothy Pearson 6f00524aad Rename obsolete tq methods to standard names 13 years ago
Timothy Pearson cb279d73d3 Remove additional unneeded tq method conversions 13 years ago
Timothy Pearson 9677d9d5bb Rename old tq methods that no longer need a unique name 13 years ago
Timothy Pearson dacb50c634 Revert "Rename a number of old tq methods that are no longer tq specific"
This reverts commit f39e1b1760.
13 years ago
Timothy Pearson f39e1b1760 Rename a number of old tq methods that are no longer tq specific 13 years ago
Timothy Pearson d3430de2c2 Part 1 of 2 rename pykde to pytde 13 years ago
Timothy Pearson f75eec563e Update lexer file 13 years ago
Timothy Pearson acd46151c0 Fix later FTBFS in python-tqt 13 years ago
Timothy Pearson 7204ed83ef Update modification times of generated sip4 files 13 years ago
Timothy Pearson e832e9f2ab Fix accidental rename of strings to tqunicode 13 years ago
Timothy Pearson 71cbc66f6c Fix FTBFS 13 years ago
Timothy Pearson 7d27356baf Initial TQt conversion 13 years ago
Timothy Pearson 6c4cc3653e Initial import of SIP4 for Qt3 13 years ago