qt 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +19 -4
- data/ext/qt_ruby_bridge/extconf.rb +1 -1
- data/lib/qt/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2b772dc4333d9bfcf419388425980a833e99d5253bbab7d50a506dd886334153
|
|
4
|
+
data.tar.gz: 05133ee6f7bf9ad3a4ba582eb0f7bd214a1886005e7caa32939d5aa88c077f47
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 97f0df292c1559e78a67b4075dbf8bfa35cb3804cb8720f2b0a5ea4a0f645b1b5f89108c076677dce1699a376225174df246d8316fe58466ffb53ab14cd18eb4
|
|
7
|
+
data.tar.gz: 2817088f7103798af9a8b6b71046cf8cf0570f4842265c18be8a4cfb3025c2e921b70e0ab95c1d6953137d7024b041496f4aeb331e0cf05cf2c57b73423c87d8
|
data/README.md
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
# qt
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-

|
|
5
5
|

|
|
6
6
|

|
|
7
7
|
|
|
8
|
-
Ruby-first Qt 6.
|
|
8
|
+
Ruby-first Qt 6.4.2+ bridge.
|
|
9
9
|
|
|
10
10
|
Build real Qt Widgets apps in pure Ruby, mutate them live from IRB, and keep C/C++ surface minimal via generated bridge code from system Qt headers.
|
|
11
11
|
|
|
@@ -58,10 +58,25 @@ gui { window.set_window_title("Changed live") }
|
|
|
58
58
|
|
|
59
59
|
### Requirements
|
|
60
60
|
|
|
61
|
-
- Ruby 3.
|
|
62
|
-
- Qt 6.
|
|
61
|
+
- Ruby 3.2+
|
|
62
|
+
- Qt 6.4.2+ dev packages (`Qt6Core`, `Qt6Gui`, `Qt6Widgets` via `pkg-config`)
|
|
63
63
|
- C++17 compiler
|
|
64
64
|
|
|
65
|
+
### System Requirements
|
|
66
|
+
|
|
67
|
+
Minimum packages for Fedora:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
dnf install @development-tools qt6-qtbase-devel ruby ruby-devel clang
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Minimum packages for Ubuntu/Debian:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
sudo apt update
|
|
77
|
+
sudo apt install -y build-essential pkg-config qt6-base-dev ruby ruby-dev clang
|
|
78
|
+
```
|
|
79
|
+
|
|
65
80
|
Check Qt:
|
|
66
81
|
|
|
67
82
|
```bash
|
|
@@ -5,7 +5,7 @@ require 'fileutils'
|
|
|
5
5
|
|
|
6
6
|
PKG_CONFIG = RbConfig::CONFIG['PKG_CONFIG'] || 'pkg-config'
|
|
7
7
|
QT_PACKAGES = %w[Qt6Core Qt6Gui Qt6Widgets].freeze
|
|
8
|
-
MINIMUM_QT_VERSION = Gem::Version.new('6.
|
|
8
|
+
MINIMUM_QT_VERSION = Gem::Version.new('6.4.2')
|
|
9
9
|
|
|
10
10
|
def pkg_config(*)
|
|
11
11
|
system(PKG_CONFIG, *, out: File::NULL, err: File::NULL)
|
data/lib/qt/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: qt
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Maksim Veynberg
|
|
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
89
89
|
requirements:
|
|
90
90
|
- - ">="
|
|
91
91
|
- !ruby/object:Gem::Version
|
|
92
|
-
version: '3.
|
|
92
|
+
version: '3.2'
|
|
93
93
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
requirements:
|
|
95
95
|
- - ">="
|
|
@@ -98,5 +98,5 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
98
98
|
requirements: []
|
|
99
99
|
rubygems_version: 3.6.7
|
|
100
100
|
specification_version: 4
|
|
101
|
-
summary: Ruby bindings for Qt 6.
|
|
101
|
+
summary: Ruby bindings for Qt 6.4.2+
|
|
102
102
|
test_files: []
|