ryanmelt / qtbindings

An easy to install gem version of the Ruby bindings to Qt
http://github.com/ryanmelt/qtbindings
Other
340 stars 63 forks source link

Update qtbindings to build for Ruby 2.6 #157

Open ghost opened 5 years ago

ghost commented 5 years ago

I'd like to also update the BuildWindowsGem batch file to build from the new rubyinstaller directories which fully contain the msys distribution. Also to build QT from a single source directory (C:\Qt\4.8.6).

ghost commented 4 years ago

The current version of gcc (9.2) included with msys2 and the latest ruby Windows releases does not work with creating the uic.exe tool on Windows (at least).

I worked through most other issues but the uic.exe tool is not parsing the .ui files correctly (it is ignoring the name tags), creating invalid output that doesn’t compile.

For now at least, Ruby 2.5 will be the last supported Ruby version on Windows.

belov-oleg commented 4 years ago

Hi, Ryan! I designed a layer between Ruby and qtbindings, in which UI is defined purely on Ruby without any ui compiler. This layer is successfully used in several internal projects, mainly for device control in testing and experiments. Now we are working on a medical information system, and the system is already in use in our clinic. I hope to push codes of both the layer and MIS to github after substantial re-factoring of API. It is extremely important for us the successful compilation of qtbindings both for Linuxes and Windows 10. Further migration to QT5 is also important, because our solution is extremely comfortable for our goals. To keep your project in live state I'm ready to solve some problems with newest versions of Ruby, but I want to coordinate efforts. I'm open for contacts just by my email obelov@audiology.ru Best wishes. Oleg.

ghost commented 4 years ago

Feel free to submit pull requests. I'm not actively working on this project anymore. Future projects will use web based interfaces (COSMOS 5), or python for qt5 applications.

rubyFeedback commented 2 years ago

Ryan said this several times - someone else has to step up. It works with ruby-gtk3 for instance so there is no principle reason why this would not be possible for qt as well.