Replace Qt with TQt #18

Open
MicheleC wants to merge 1 commits from replace/qt_tqt into master
Owner

As per title.

As per title.
MicheleC added this to the R14.1.2 release milestone 3 months ago
MicheleC added 1 commit 3 months ago
c3dc36ba24
Replace Qt with TQt
MicheleC requested review from Fat-Zer 3 months ago
MicheleC requested review from Core 3 months ago
MicheleC requested review from Owners 3 months ago
SlavekB reviewed 3 months ago
SlavekB left a comment
Owner

There is one thing for discussion.

There is one thing for discussion.
begin
require "Qt"
require "TQt"
Owner

TQt Ruby module in tdebinginds has been still installed as Qt.rb (qtruby library). We should first change tdebindings?

TQt Ruby module in tdebinginds has been still installed as `Qt.rb` (`qtruby` library). We should first change tdebindings?
Poster
Owner

We can hold this PR until we update tdebindings. Although since ruby's bindings are broken, it won't make much of a difference whether we merge now or later. Just let me know your preference.

We can hold this PR until we update tdebindings. Although since ruby's bindings are broken, it won't make much of a difference whether we merge now or later. Just let me know your preference.
Poster
Owner

I double checked this, the Ruby module is already TQt, see here

I double checked this, the Ruby module is already `TQt`, see [here](https://mirror.git.trinitydesktop.org/gitea/TDE/tdebindings/src/branch/master/qtruby/rubylib/qtruby/lib/Qt/qtruby.rb#L20)
Collaborator

Isn't ruby's require statement operates upon filename (which is still Qt) rather than the package name?

Isn't ruby's `require` statement operates upon filename (which is [still Qt](https://mirror.git.trinitydesktop.org/gitea/TDE/tdebindings/src/commit/faf33629bb6562a6f43f930afafe4b22e9cdb60b/qtruby/rubylib/qtruby/lib)) rather than the package name?
Poster
Owner

I have no idea, I assumed it works on module names. If the file and module name needs to be the same, then we may have to fix that too. I will look into it.

I have no idea, I assumed it works on module names. If the file and module name needs to be the same, then we may have to fix that too. I will look into it.
Collaborator

Ruby's kernel require is "load the file once", and you can omit its extension.
We should rename files from Qt to TQt too, or such files may conflict with "QtRuby".

Ruby's kernel `require` is "`load` the file once", and you can omit its extension. We should rename files from Qt to TQt too, or such files may conflict with "QtRuby".
Poster
Owner

Thanks Obata-san, we will fix this 👍

Thanks Obata-san, we will fix this 👍
MicheleC modified the milestone from R14.1.2 release to R14.1.3 release 1 month ago

Reviewers

Fat-Zer was requested for review 3 months ago
TDE/Core was requested for review 3 months ago
TDE/Owners was requested for review 3 months ago
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
Sign in to join this conversation.
No reviewers
TDE/Core
TDE/Owners
No Milestone
No Assignees
4 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: TDE/soundkonverter#18
Loading…
There is no content yet.