Entry step for renaming PyTQt module libraries from qt* to tqt*. #10

Merged
SlavekB merged 2 commits from feat/rename-pytqt-module-libraries-qt-tqt into master 1 year ago
SlavekB commented 1 year ago
Owner

Although SIP-TQt is built before PyTQt and is not directly dependent on TQt and PyTQt, it contains parts closely related to PyTQt and the resulting python modules that PyTQt builds. Therefore, PyTQt related renames must start in SIP-TQt.

Although SIP-TQt is built before PyTQt and is not directly dependent on TQt and PyTQt, it contains parts closely related to PyTQt and the resulting python modules that PyTQt builds. Therefore, PyTQt related renames must start in SIP-TQt.
SlavekB added 1 commit 1 year ago
78dfb1c3c3
Entry step for renaming PyTQt module libraries from qt* to tqt*.
SlavekB force-pushed feat/rename-pytqt-module-libraries-qt-tqt from 78dfb1c3c3 to dd04b94de8 1 year ago
SlavekB requested review from MicheleC 1 year ago
MicheleC requested changes 1 year ago
MicheleC left a comment
Owner

PR looks good, just a couple of things to adjust.
I have yet to build and do a functionality test of the equivalent pytqt's PR

PR looks good, just a couple of things to adjust. I have yet to build and do a functionality test of the equivalent pytqt's PR
version number anyway.</p>
<p>For example:</p>
<div class="highlight-python"><pre>%Module qt 5</pre>
<div class="highlight-python"><pre>%Module tqt 5</pre>
Owner

There is no TQt 5 :-)

There is no TQt 5 :-)
SlavekB commented 1 year ago
Poster
Owner

The version here is not related to the version of the TQt library as such, but to determine the version of the SIP module. As you can see in TDE/pytqt, for qtmod.sip there is: %Module PyTQt.qt 2. Most modules have version 1, but for example PyTQt.qtxml is version 0 and PyTQt.qtext is version 4.

The version here is not related to the version of the TQt library as such, but to determine the version of the SIP module. As you can see in [TDE/pytqt](../pytqt), for qtmod.sip there is: `%Module PyTQt.qt 2`. Most modules have version 1, but for example PyTQt.qtxml is version 0 and PyTQt.qtext is version 4.
Owner

Ok, then ignore my comment.

Ok, then ignore my comment.
MicheleC marked this conversation as resolved
sipgen/gencode.c Outdated
const char *type_suffix;
type_suffix = (pluginPyQt4(pt) || pluginPyTQt3(pt)) ? ".super" : "";
type_suffix = (pluginPyQt4(pt) || pluginPyTQt(pt)) ? ".super" : "";
Owner

I guess we can get rid of pluginPyQt4 overall.

I guess we can get rid of `pluginPyQt4` overall.
SlavekB commented 1 year ago
Poster
Owner

Yes, sure. The Qt4 related parts have already been removed in #5, but apparently there are some other parts suitable for removal. Thank you for notifying it.

Yes, sure. The Qt4 related parts have already been removed in #5, but apparently there are some other parts suitable for removal. Thank you for notifying it.
MicheleC marked this conversation as resolved
SlavekB added 1 commit 1 year ago
ffc7f9360c
Drop the remaining Qt4 related parts.
SlavekB requested review from MicheleC 1 year ago
MicheleC approved these changes 1 year ago
MicheleC left a comment
Owner

Looks good.

Looks good.
SlavekB force-pushed feat/rename-pytqt-module-libraries-qt-tqt from ffc7f9360c to d768e91379 1 year ago
SlavekB merged commit d768e91379 into master 1 year ago
SlavekB deleted branch feat/rename-pytqt-module-libraries-qt-tqt 1 year ago
SlavekB added this to the R14.1.0 release milestone 1 year ago

Reviewers

MicheleC approved these changes 1 year ago
The pull request has been merged as d768e91379.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Reference: TDE/sip4-tqt#10
Loading…
There is no content yet.