qtbindings 4.8.5.2 → 4.8.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.txt +41 -20
- data/Rakefile +10 -0
- data/bin/rbrcc +1 -5
- data/bin/rbuic4 +1 -5
- data/bin/smokeapi +1 -5
- data/bin/smokedeptool +1 -5
- data/examples/threading/main_thread.rb +19 -0
- data/ext/CMakeLists.txt +3 -0
- data/ext/cmake/modules/FindQt4.cmake +4 -1
- data/ext/cmake/modules/FindRuby.cmake +23 -5
- data/ext/ruby/qtruby/src/CMakeLists.txt +2 -2
- data/ext/ruby/qtruby/src/qtruby.cpp +505 -437
- data/ext/smoke/CMakeLists.txt +3 -1
- data/extconf.rb +21 -67
- data/lib/Qt/qtruby4.rb +2 -1
- data/lib/Qt4.rb +20 -13
- data/lib/qtbindings_version.rb +2 -2
- data/lib/qtdeclarative/qtdeclarative.rb +17 -0
- metadata +49 -53
- data/CMakeLists.txt +0 -22
- data/examples/base/kicons.rb +0 -54
- data/examples/base/rui.rb +0 -21
- data/examples/textedit/textedit.rb +0 -150
- data/qtbindings-qt.gemspec +0 -17
- data/qtbindingsnative.gemspec +0 -19
data/ext/smoke/CMakeLists.txt
CHANGED
@@ -8,7 +8,9 @@ add_subdirectory(deptool)
|
|
8
8
|
add_subdirectory(smokeapi)
|
9
9
|
|
10
10
|
macro_optional_add_bindings(QT_QTNETWORK_FOUND "QtNetwork" qtnetwork)
|
11
|
-
|
11
|
+
if (NOT WIN32)
|
12
|
+
macro_optional_add_bindings(QT_QTDBUS_FOUND "QtDBus" qtdbus)
|
13
|
+
endif (NOT WIN32)
|
12
14
|
macro_optional_add_bindings(QT_QTDECLARATIVE_FOUND "QtDeclarative" qtdeclarative)
|
13
15
|
macro_optional_add_bindings(QT_QTGUI_FOUND "QtGui" qtgui)
|
14
16
|
macro_optional_add_bindings(QT_QTSVG_FOUND "QtSvg" qtsvg)
|
data/extconf.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Generates a Makefile that:
|
2
2
|
# 1. Cleans up the build directory
|
3
|
-
# 2. Runs cmake to build
|
3
|
+
# 2. Runs cmake to build qtbindings
|
4
4
|
# 3. Copies the built .so files into the correct places
|
5
5
|
|
6
6
|
windows = false
|
@@ -9,21 +9,16 @@ processor, platform, *rest = RUBY_PLATFORM.split("-")
|
|
9
9
|
windows = true if platform =~ /mswin32/ or platform =~ /mingw32/
|
10
10
|
macosx = true if platform =~ /darwin/
|
11
11
|
|
12
|
-
|
13
|
-
if
|
14
|
-
|
15
|
-
|
16
|
-
puts "Ruby 1.8.x is no longer supported. Install qtbindings 4.8.3.0. gem install qtbindings -v 4.8.3.0"
|
17
|
-
exit
|
18
|
-
end
|
19
|
-
else
|
20
|
-
ruby_version = '2.0'
|
12
|
+
ruby_version = RUBY_VERSION.split('.')[0..1].join('.')
|
13
|
+
if ruby_version == "1.8"
|
14
|
+
puts "Ruby 1.8.x is no longer supported. Install qtbindings 4.8.3.0. gem install qtbindings -v 4.8.3.0"
|
15
|
+
exit
|
21
16
|
end
|
22
17
|
|
23
18
|
if windows
|
24
19
|
# README! - Modify this path if you have QT installed somewhere else
|
25
20
|
# or if you have a different version of QT you want to link to.
|
26
|
-
qt_sdk_path = "C:\\Qt\\4.8.
|
21
|
+
qt_sdk_path = "C:\\Qt\\4.8.6"
|
27
22
|
begin
|
28
23
|
File::Stat.new(qt_sdk_path)
|
29
24
|
rescue
|
@@ -38,8 +33,7 @@ File.open('Makefile', 'w') do |file|
|
|
38
33
|
file.puts ""
|
39
34
|
file.puts "makedirs:"
|
40
35
|
file.puts "\t-mkdir ext\\build"
|
41
|
-
file.puts "\t-mkdir bin
|
42
|
-
file.puts "\t-mkdir bin\\2.0"
|
36
|
+
file.puts "\t-mkdir bin\\#{ruby_version}"
|
43
37
|
file.puts "\t-mkdir qtbin\\plugins"
|
44
38
|
file.puts "\t-mkdir qtbin\\plugins\\accessible"
|
45
39
|
file.puts "\t-mkdir qtbin\\plugins\\bearer"
|
@@ -51,8 +45,7 @@ File.open('Makefile', 'w') do |file|
|
|
51
45
|
file.puts "\t-mkdir qtbin\\plugins\\phonon_backend"
|
52
46
|
file.puts "\t-mkdir qtbin\\plugins\\qmltooling"
|
53
47
|
file.puts "\t-mkdir qtbin\\plugins\\sqldrivers"
|
54
|
-
file.puts "\t-mkdir lib
|
55
|
-
file.puts "\t-mkdir lib\\2.0"
|
48
|
+
file.puts "\t-mkdir lib\\#{ruby_version}"
|
56
49
|
file.puts ""
|
57
50
|
file.puts "clean: makedirs"
|
58
51
|
file.puts "\t-cd ext\\build && rmdir /S /Q CMakeFiles"
|
@@ -77,10 +70,8 @@ File.open('Makefile', 'w') do |file|
|
|
77
70
|
file.puts "\t-cd qtbin\\plugins\\phonon_backend && del /F /Q *"
|
78
71
|
file.puts "\t-cd qtbin\\plugins\\qmltooling && del /F /Q *"
|
79
72
|
file.puts "\t-cd qtbin\\plugins\\sqldrivers && del /F /Q *"
|
80
|
-
file.puts "\t-cd bin
|
81
|
-
file.puts "\t-cd
|
82
|
-
file.puts "\t-cd lib\\1.9 && del /F /Q *"
|
83
|
-
file.puts "\t-cd lib\\2.0 && del /F /Q *"
|
73
|
+
file.puts "\t-cd bin\\#{ruby_version} && del /F /Q *"
|
74
|
+
file.puts "\t-cd lib\\#{ruby_version} && del /F /Q *"
|
84
75
|
file.puts "\t-del /F /Q Makefile"
|
85
76
|
file.puts "\t-del /F /Q qtbindings-*.gem"
|
86
77
|
file.puts ""
|
@@ -95,32 +86,14 @@ File.open('Makefile', 'w') do |file|
|
|
95
86
|
end
|
96
87
|
file.puts "-DCMAKE_MAKE_PROGRAM=mingw32-make.exe \\"
|
97
88
|
file.puts "-Wno-dev \\"
|
98
|
-
file.puts "-
|
99
|
-
file.puts "-DENABLE_QTCORE_SMOKE=on \\"
|
100
|
-
file.puts "-DENABLE_QTNETWORK_SMOKE=on \\"
|
101
|
-
file.puts "-DENABLE_QTDBUS_SMOKE=off \\"
|
102
|
-
file.puts "-DENABLE_QTGUI_SMOKE=on \\"
|
103
|
-
file.puts "-DENABLE_QTSVG_SMOKE=on \\"
|
104
|
-
file.puts "-DENABLE_QTSQL_SMOKE=on \\"
|
105
|
-
file.puts "-DENABLE_QTXML_SMOKE=on \\"
|
106
|
-
file.puts "-DENABLE_QTXMLPATTERNS_SMOKE=on \\"
|
107
|
-
file.puts "-DENABLE_QTOPENGL_SMOKE=on \\"
|
108
|
-
file.puts "-DENABLE_QTWEBKIT_SMOKE=on \\"
|
109
|
-
file.puts "-DENABLE_QTSCRIPT_SMOKE=on \\"
|
110
|
-
file.puts "-DENABLE_QTUITOOLS_SMOKE=on \\"
|
111
|
-
file.puts "-DENABLE_QTTEST_SMOKE=on \\"
|
112
|
-
file.puts "-DENABLE_QTMULTIMEDIA_SMOKE=on \\"
|
113
|
-
file.puts "-DENABLE_QTRUBY=on \\"
|
114
|
-
file.puts "-DENABLE_QTWEBKIT_RUBY=on \\"
|
115
|
-
file.puts "-DENABLE_QTUITOOLS_RUBY=on \\"
|
116
|
-
file.puts "-DENABLE_QTSCRIPT=on \\"
|
117
|
-
file.puts "-DENABLE_QTTEST=on \\"
|
89
|
+
file.puts "-DRUBY_EXECUTABLE=#{File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['RUBY_INSTALL_NAME'])} \\"
|
118
90
|
file.puts ".."
|
119
91
|
file.puts "\tcd ext\\build && mingw32-make"
|
120
92
|
file.puts ""
|
121
93
|
file.puts "install: makedirs"
|
122
94
|
file.puts "\t-copy ext\\build\\smoke\\deptool\\smokedeptool.exe bin\\#{ruby_version}"
|
123
95
|
file.puts "\t-copy ext\\build\\smoke\\qtcore\\libsmokeqtcore.dll lib\\#{ruby_version}"
|
96
|
+
file.puts "\t-copy ext\\build\\smoke\\qtdeclarative\\libsmokeqtdeclarative.dll lib\\#{ruby_version}"
|
124
97
|
file.puts "\t-copy ext\\build\\smoke\\qtgui\\libsmokeqtgui.dll lib\\#{ruby_version}"
|
125
98
|
file.puts "\t-copy ext\\build\\smoke\\qthelp\\libsmokeqthelp.dll lib\\#{ruby_version}"
|
126
99
|
file.puts "\t-copy ext\\build\\smoke\\qtmultimedia\\libsmokeqtmultimedia.dll lib\\#{ruby_version}"
|
@@ -137,6 +110,7 @@ File.open('Makefile', 'w') do |file|
|
|
137
110
|
file.puts "\t-copy ext\\build\\smoke\\smokeapi\\smokeapi.exe bin\\#{ruby_version}"
|
138
111
|
file.puts "\t-copy ext\\build\\smoke\\smokebase\\libsmokebase.dll lib\\#{ruby_version}"
|
139
112
|
file.puts "\t-copy ext\\build\\ruby\\qtruby\\src\\libqtruby4shared.dll lib\\#{ruby_version}"
|
113
|
+
file.puts "\t-copy ext\\build\\ruby\\qtdeclarative\\qtdeclarative.dll lib\\#{ruby_version}\\qtdeclarative.so"
|
140
114
|
file.puts "\t-copy ext\\build\\ruby\\qtruby\\src\\qtruby4.dll lib\\#{ruby_version}\\qtruby4.so"
|
141
115
|
file.puts "\t-copy ext\\build\\ruby\\qtscript\\qtscript.dll lib\\#{ruby_version}\\qtscript.so"
|
142
116
|
file.puts "\t-copy ext\\build\\ruby\\qttest\\qttest.dll lib\\#{ruby_version}\\qttest.so"
|
@@ -183,8 +157,7 @@ File.open('Makefile', 'w') do |file|
|
|
183
157
|
file.puts ""
|
184
158
|
file.puts "makedirs:"
|
185
159
|
file.puts "\t-mkdir ext/build"
|
186
|
-
file.puts "\t-mkdir bin
|
187
|
-
file.puts "\t-mkdir bin/2.0"
|
160
|
+
file.puts "\t-mkdir bin/#{ruby_version}"
|
188
161
|
file.puts "\t-mkdir bin/plugins"
|
189
162
|
file.puts "\t-mkdir bin/plugins/accessible"
|
190
163
|
file.puts "\t-mkdir bin/plugins/bearer"
|
@@ -196,8 +169,7 @@ File.open('Makefile', 'w') do |file|
|
|
196
169
|
file.puts "\t-mkdir bin/plugins/phonon_backend"
|
197
170
|
file.puts "\t-mkdir bin/plugins/qmltooling"
|
198
171
|
file.puts "\t-mkdir bin/plugins/sqldrivers"
|
199
|
-
file.puts "\t-mkdir lib
|
200
|
-
file.puts "\t-mkdir lib/2.0"
|
172
|
+
file.puts "\t-mkdir lib/#{ruby_version}"
|
201
173
|
file.puts ""
|
202
174
|
file.puts "clean: makedirs"
|
203
175
|
file.puts "\t-cd ext/build; rm -rf CMakeFiles"
|
@@ -221,10 +193,8 @@ File.open('Makefile', 'w') do |file|
|
|
221
193
|
file.puts "\t-cd bin/plugins/phonon_backend && rm *"
|
222
194
|
file.puts "\t-cd bin/plugins/qmltooling && rm *"
|
223
195
|
file.puts "\t-cd bin/plugins/sqldrivers && rm *"
|
224
|
-
file.puts "\t-cd bin
|
225
|
-
file.puts "\t-cd
|
226
|
-
file.puts "\t-cd lib/1.9 && rm *"
|
227
|
-
file.puts "\t-cd lib/2.0 && rm *"
|
196
|
+
file.puts "\t-cd bin/#{ruby_version} && rm *"
|
197
|
+
file.puts "\t-cd lib/#{ruby_version} && rm *"
|
228
198
|
file.puts "\t-rm Makefile"
|
229
199
|
file.puts "\t-rm qtbindings-*.gem"
|
230
200
|
file.puts ""
|
@@ -236,26 +206,7 @@ File.open('Makefile', 'w') do |file|
|
|
236
206
|
file.puts "-DCMAKE_BUILD_TYPE=Debug \\"
|
237
207
|
end
|
238
208
|
file.puts "-Wno-dev \\"
|
239
|
-
file.puts "-
|
240
|
-
file.puts "-DENABLE_QTCORE_SMOKE=on \\"
|
241
|
-
file.puts "-DENABLE_QTNETWORK_SMOKE=on \\"
|
242
|
-
file.puts "-DENABLE_QTDBUS_SMOKE=on \\"
|
243
|
-
file.puts "-DENABLE_QTGUI_SMOKE=on \\"
|
244
|
-
file.puts "-DENABLE_QTSVG_SMOKE=on \\"
|
245
|
-
file.puts "-DENABLE_QTSQL_SMOKE=on \\"
|
246
|
-
file.puts "-DENABLE_QTXML_SMOKE=on \\"
|
247
|
-
file.puts "-DENABLE_QTXMLPATTERNS_SMOKE=on \\"
|
248
|
-
file.puts "-DENABLE_QTOPENGL_SMOKE=on \\"
|
249
|
-
file.puts "-DENABLE_QTWEBKIT_SMOKE=on \\"
|
250
|
-
file.puts "-DENABLE_QTSCRIPT_SMOKE=on \\"
|
251
|
-
file.puts "-DENABLE_QTUITOOLS_SMOKE=on \\"
|
252
|
-
file.puts "-DENABLE_QTTEST_SMOKE=on \\"
|
253
|
-
file.puts "-DENABLE_QTMULTIMEDIA_SMOKE=on \\"
|
254
|
-
file.puts "-DENABLE_QTRUBY=on \\"
|
255
|
-
file.puts "-DENABLE_QTWEBKIT_RUBY=on \\"
|
256
|
-
file.puts "-DENABLE_QTUITOOLS_RUBY=on \\"
|
257
|
-
file.puts "-DENABLE_QTSCRIPT=on \\"
|
258
|
-
file.puts "-DENABLE_QTTEST=on \\"
|
209
|
+
file.puts "-DRUBY_EXECUTABLE=#{File.join(RbConfig::CONFIG['bindir'], RbConfig::CONFIG['RUBY_INSTALL_NAME'])} \\"
|
259
210
|
file.puts ".."
|
260
211
|
file.puts "\tcd ext/build; make"
|
261
212
|
file.puts ""
|
@@ -263,6 +214,7 @@ File.open('Makefile', 'w') do |file|
|
|
263
214
|
if macosx
|
264
215
|
file.puts "\t-cp ext/build/smoke/smokeapi/smokeapi bin/#{ruby_version}"
|
265
216
|
file.puts "\t-cp ext/build/smoke/deptool/smokedeptool bin/#{ruby_version}"
|
217
|
+
file.puts "\t-cp ext/build/ruby/qtdeclarative/qtdeclarative.so lib/#{ruby_version}/qtdeclarative.bundle"
|
266
218
|
file.puts "\t-cp ext/build/ruby/qtruby/src/qtruby4.so lib/#{ruby_version}/qtruby4.bundle"
|
267
219
|
file.puts "\t-cp ext/build/ruby/qtscript/qtscript.* lib/#{ruby_version}/qtscript.bundle"
|
268
220
|
file.puts "\t-cp ext/build/ruby/qttest/qttest.* lib/#{ruby_version}/qttest.bundle"
|
@@ -274,6 +226,7 @@ File.open('Makefile', 'w') do |file|
|
|
274
226
|
file.puts "\t-cp ext/build/smoke/deptool/smokedeptool bin/#{ruby_version}"
|
275
227
|
file.puts "\t-cp ext/build/smoke/qtcore/libsmokeqtcore.* lib/#{ruby_version}"
|
276
228
|
file.puts "\t-cp ext/build/smoke/qtdbus/libsmokeqtdbus.* lib/#{ruby_version}"
|
229
|
+
file.puts "\t-cp ext/build/smoke/qtdeclarative/libsmokeqtdeclarative.* lib/#{ruby_version}"
|
277
230
|
file.puts "\t-cp ext/build/smoke/qtgui/libsmokeqtgui.* lib/#{ruby_version}"
|
278
231
|
file.puts "\t-cp ext/build/smoke/qthelp/libsmokeqthelp.* lib/#{ruby_version}"
|
279
232
|
file.puts "\t-cp ext/build/smoke/qtmultimedia/libsmokeqtmultimedia.* lib/#{ruby_version}"
|
@@ -289,6 +242,7 @@ File.open('Makefile', 'w') do |file|
|
|
289
242
|
file.puts "\t-cp ext/build/smoke/qtxmlpatterns/libsmokeqtxmlpatterns.* lib/#{ruby_version}"
|
290
243
|
file.puts "\t-cp ext/build/smoke/smokeapi/smokeapi bin/#{ruby_version}"
|
291
244
|
file.puts "\t-cp ext/build/smoke/smokebase/libsmokebase.* lib/#{ruby_version}"
|
245
|
+
file.puts "\t-cp ext/build/ruby/qtdeclarative/qtdeclarative.* lib/#{ruby_version}"
|
292
246
|
file.puts "\t-cp ext/build/ruby/qtruby/src/libqtruby4shared.* lib/#{ruby_version}"
|
293
247
|
file.puts "\t-cp ext/build/ruby/qtruby/src/qtruby4.* lib/#{ruby_version}"
|
294
248
|
file.puts "\t-cp ext/build/ruby/qtscript/qtscript.* lib/#{ruby_version}"
|
data/lib/Qt/qtruby4.rb
CHANGED
@@ -476,10 +476,11 @@ module Qt
|
|
476
476
|
# Otherwise, rb_gc_call_finalizer_at_exit() can delete
|
477
477
|
# stuff that Qt::Application still needs for its cleanup.
|
478
478
|
def exec
|
479
|
-
method_missing(:exec)
|
479
|
+
result = method_missing(:exec)
|
480
480
|
disable_threading()
|
481
481
|
self.dispose
|
482
482
|
Qt::Internal.application_terminated = true
|
483
|
+
result
|
483
484
|
end
|
484
485
|
|
485
486
|
def type(*args)
|
data/lib/Qt4.rb
CHANGED
@@ -3,24 +3,18 @@ platform = RUBY_PLATFORM.split("-")[1]
|
|
3
3
|
windows = true if platform =~ /mswin32/ or platform =~ /mingw32/
|
4
4
|
|
5
5
|
begin
|
6
|
+
require 'thread'
|
6
7
|
require 'qtbindings-qt'
|
7
8
|
rescue LoadError
|
8
9
|
# Oh well - Hopefully not using the Windows binary gem
|
9
10
|
end
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
end
|
15
|
-
$: << File.join(File.dirname(__FILE__), '../lib/1.9')
|
16
|
-
require '1.9/qtruby4'
|
17
|
-
else
|
18
|
-
if windows
|
19
|
-
ENV['PATH'] = File.join(File.dirname(__FILE__), '../bin') + ';' + File.join(File.dirname(__FILE__), '../lib/2.0') + ';' + File.join(File.dirname(__FILE__), '../bin/2.0') + ';' + ENV['PATH']
|
20
|
-
end
|
21
|
-
$: << File.join(File.dirname(__FILE__), '../lib/2.0')
|
22
|
-
require '2.0/qtruby4'
|
12
|
+
ruby_version = RUBY_VERSION.split('.')[0..1].join('.')
|
13
|
+
if windows
|
14
|
+
ENV['PATH'] = File.join(File.dirname(__FILE__), '../bin') + ';' + File.join(File.dirname(__FILE__), "../lib/#{ruby_version}") + ';' + File.join(File.dirname(__FILE__), "../bin/#{ruby_version}") + ';' + ENV['PATH']
|
23
15
|
end
|
16
|
+
$: << File.join(File.dirname(__FILE__), "../lib/#{ruby_version}")
|
17
|
+
require "#{ruby_version}/qtruby4"
|
24
18
|
|
25
19
|
module Qt
|
26
20
|
class RubyThreadFix < Qt::Object
|
@@ -83,7 +77,20 @@ module Qt
|
|
83
77
|
end
|
84
78
|
end
|
85
79
|
|
86
|
-
|
80
|
+
# Code which accesses the GUI must be executed in the main QT GUI thread.
|
81
|
+
# This method allows code in another thread to execute safely in the main GUI
|
82
|
+
# thread. By default it will block the main GUI thread until the code in the
|
83
|
+
# block completes althought this can be changed by passing false for the
|
84
|
+
# first parameter.
|
85
|
+
#
|
86
|
+
# @param blocking [Boolean] Whether to block the main thread until the code
|
87
|
+
# in the block finishing executing. If false the main thread will be
|
88
|
+
# allowed to continue and the block code will execute in parallel.
|
89
|
+
# @param sleep_period [Float] The amount of time to sleep between checking
|
90
|
+
# whether the code in the block has finished executing
|
91
|
+
# @param delay_execution [Boolean] Only used if called from the main GUI
|
92
|
+
# thread. Allows the block to be executed in parallel with the main thread.
|
93
|
+
def self.execute_in_main_thread (blocking = true, sleep_period = 0.001, delay_execution = false)
|
87
94
|
if Thread.current != Thread.main
|
88
95
|
complete = false
|
89
96
|
RubyThreadFix.queue << lambda {|| yield; complete = true}
|
data/lib/qtbindings_version.rb
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
QTBINDINGS_VERSION = '4.8.
|
2
|
-
QTBINDINGS_RELEASE_DATE = '2014-
|
1
|
+
QTBINDINGS_VERSION = '4.8.6.0'
|
2
|
+
QTBINDINGS_RELEASE_DATE = '2014-09-23 20:58:11 -0600'
|
@@ -0,0 +1,17 @@
|
|
1
|
+
#!/usr/bin/ruby
|
2
|
+
|
3
|
+
module QtDeclarative
|
4
|
+
module Internal
|
5
|
+
def self.init_all_classes
|
6
|
+
getClassList.each do |c|
|
7
|
+
classname = Qt::Internal::normalize_classname(c)
|
8
|
+
id = Qt::Internal::findClass(c);
|
9
|
+
Qt::Internal::insert_pclassid(classname, id)
|
10
|
+
Qt::Internal::cpp_names[classname] = c
|
11
|
+
klass = Qt::Internal::isQObject(c) ? Qt::Internal::create_qobject_class(classname, Qt) \
|
12
|
+
: Qt::Internal::create_qt_class(classname, Qt)
|
13
|
+
Qt::Internal::classes[classname] = klass unless klass.nil?
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qtbindings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.8.
|
4
|
+
version: 4.8.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2014-
|
14
|
+
date: 2014-09-24 00:00:00.000000000 Z
|
15
15
|
dependencies: []
|
16
16
|
description: qtbindings provides ruby bindings to QT4.x. It is derived from the kdebindings
|
17
17
|
project.
|
@@ -26,21 +26,18 @@ extensions:
|
|
26
26
|
- extconf.rb
|
27
27
|
extra_rdoc_files: []
|
28
28
|
files:
|
29
|
-
-
|
30
|
-
-
|
31
|
-
-
|
32
|
-
-
|
33
|
-
-
|
34
|
-
-
|
35
|
-
-
|
36
|
-
- lib/qtwebkit/qtwebkit.rb
|
29
|
+
- CHANGELOG.txt
|
30
|
+
- COPYING.LIB.txt
|
31
|
+
- COPYING.txt
|
32
|
+
- KNOWN_ISSUES.txt
|
33
|
+
- README.txt
|
34
|
+
- Rakefile
|
35
|
+
- TODO.txt
|
37
36
|
- bin/rbqtapi
|
38
37
|
- bin/rbrcc
|
39
38
|
- bin/rbuic4
|
40
39
|
- bin/smokeapi
|
41
40
|
- bin/smokedeptool
|
42
|
-
- examples/base/kicons.rb
|
43
|
-
- examples/base/rui.rb
|
44
41
|
- examples/designer/calculatorbuilder/calculatorbuilder.qrc
|
45
42
|
- examples/designer/calculatorbuilder/calculatorform.rb
|
46
43
|
- examples/designer/calculatorbuilder/calculatorform.ui
|
@@ -120,8 +117,8 @@ files:
|
|
120
117
|
- examples/itemviews/chart/qtdata.cht
|
121
118
|
- examples/itemviews/dirview/main.rb
|
122
119
|
- examples/itemviews/pixelator/imagemodel.rb
|
123
|
-
- examples/itemviews/pixelator/images/qt.png
|
124
120
|
- examples/itemviews/pixelator/images.qrc
|
121
|
+
- examples/itemviews/pixelator/images/qt.png
|
125
122
|
- examples/itemviews/pixelator/main.rb
|
126
123
|
- examples/itemviews/pixelator/mainwindow.rb
|
127
124
|
- examples/itemviews/pixelator/makefile
|
@@ -291,12 +288,13 @@ files:
|
|
291
288
|
- examples/richtext/syntaxhighlighter/highlighter.rb
|
292
289
|
- examples/richtext/syntaxhighlighter/main.rb
|
293
290
|
- examples/richtext/syntaxhighlighter/mainwindow.rb
|
294
|
-
- examples/ruboids/boids.properties
|
295
|
-
- examples/ruboids/generateManifest.rb
|
296
|
-
- examples/ruboids/index.html
|
297
291
|
- examples/ruboids/LICENSE.txt
|
298
292
|
- examples/ruboids/Manifest
|
299
293
|
- examples/ruboids/README
|
294
|
+
- examples/ruboids/TODO
|
295
|
+
- examples/ruboids/boids.properties
|
296
|
+
- examples/ruboids/generateManifest.rb
|
297
|
+
- examples/ruboids/index.html
|
300
298
|
- examples/ruboids/release.rb
|
301
299
|
- examples/ruboids/ruboids/Boid.rb
|
302
300
|
- examples/ruboids/ruboids/BoidView.rb
|
@@ -307,18 +305,17 @@ files:
|
|
307
305
|
- examples/ruboids/ruboids/CloudView.rb
|
308
306
|
- examples/ruboids/ruboids/Flock.rb
|
309
307
|
- examples/ruboids/ruboids/Graphics.rb
|
310
|
-
- examples/ruboids/ruboids/info.rb
|
311
308
|
- examples/ruboids/ruboids/Params.rb
|
312
309
|
- examples/ruboids/ruboids/Point.rb
|
313
|
-
- examples/ruboids/ruboids/ruboids.rb
|
314
310
|
- examples/ruboids/ruboids/Thing.rb
|
315
311
|
- examples/ruboids/ruboids/Triangle.rb
|
316
312
|
- examples/ruboids/ruboids/View.rb
|
317
313
|
- examples/ruboids/ruboids/World.rb
|
318
314
|
- examples/ruboids/ruboids/WorldWindow.rb
|
319
|
-
- examples/ruboids/
|
315
|
+
- examples/ruboids/ruboids/info.rb
|
316
|
+
- examples/ruboids/ruboids/ruboids.rb
|
320
317
|
- examples/run_all.rb
|
321
|
-
- examples/
|
318
|
+
- examples/threading/main_thread.rb
|
322
319
|
- examples/tutorial/t1/t1.rb
|
323
320
|
- examples/tutorial/t10/cannon.rb
|
324
321
|
- examples/tutorial/t10/lcdrange.rb
|
@@ -430,17 +427,18 @@ files:
|
|
430
427
|
- examples/xml/saxbookmarks/mainwindow.rb
|
431
428
|
- examples/xml/saxbookmarks/xbelgenerator.rb
|
432
429
|
- examples/xml/saxbookmarks/xbelhandler.rb
|
430
|
+
- ext/CMakeLists.txt
|
433
431
|
- ext/cmake/modules/BasicFindPackageVersion.cmake.in
|
434
|
-
- ext/cmake/modules/CheckCXXSourceCompiles.cmake
|
435
432
|
- ext/cmake/modules/CMakeCSharpCompiler.cmake.in
|
436
433
|
- ext/cmake/modules/CMakeCSharpInformation.cmake
|
437
434
|
- ext/cmake/modules/CMakeDetermineCSharpCompiler.cmake
|
438
435
|
- ext/cmake/modules/CMakeTestCSharpCompiler.cmake
|
436
|
+
- ext/cmake/modules/CheckCXXSourceCompiles.cmake
|
439
437
|
- ext/cmake/modules/FindLibraryWithDebug.cmake
|
440
438
|
- ext/cmake/modules/FindMono.cmake
|
439
|
+
- ext/cmake/modules/FindPHP5.cmake
|
441
440
|
- ext/cmake/modules/FindPerlMore.cmake
|
442
441
|
- ext/cmake/modules/FindPhonon.cmake
|
443
|
-
- ext/cmake/modules/FindPHP5.cmake
|
444
442
|
- ext/cmake/modules/FindQImageBlitz.cmake
|
445
443
|
- ext/cmake/modules/FindQScintilla.cmake
|
446
444
|
- ext/cmake/modules/FindQt4.cmake
|
@@ -456,7 +454,7 @@ files:
|
|
456
454
|
- ext/cmake/modules/Qt4ConfigDependentSettings.cmake
|
457
455
|
- ext/cmake/modules/Qt4Macros.cmake
|
458
456
|
- ext/cmake/modules/SmokeConfig.cmake.in
|
459
|
-
- ext/CMakeLists.txt
|
457
|
+
- ext/generator/CMakeLists.txt
|
460
458
|
- ext/generator/cmake/BasicFindPackageVersion.cmake.in
|
461
459
|
- ext/generator/cmake/CMakeLists.txt
|
462
460
|
- ext/generator/cmake/FindLibraryWithDebug.cmake
|
@@ -470,7 +468,6 @@ files:
|
|
470
468
|
- ext/generator/cmake/MacroOptionalFindPackage.cmake
|
471
469
|
- ext/generator/cmake/MacroWriteBasicCMakeVersionFile.cmake
|
472
470
|
- ext/generator/cmake/SmokeConfig.cmake.in
|
473
|
-
- ext/generator/CMakeLists.txt
|
474
471
|
- ext/generator/config.h
|
475
472
|
- ext/generator/generator_export.h
|
476
473
|
- ext/generator/generatorenvironment.cpp
|
@@ -493,10 +490,10 @@ files:
|
|
493
490
|
- ext/generator/name_compiler.h
|
494
491
|
- ext/generator/options.cpp
|
495
492
|
- ext/generator/options.h
|
493
|
+
- ext/generator/parser/CMakeLists.txt
|
496
494
|
- ext/generator/parser/ast.cpp
|
497
495
|
- ext/generator/parser/ast.h
|
498
496
|
- ext/generator/parser/astutilities.h
|
499
|
-
- ext/generator/parser/CMakeLists.txt
|
500
497
|
- ext/generator/parser/codegenerator.cpp
|
501
498
|
- ext/generator/parser/codegenerator.h
|
502
499
|
- ext/generator/parser/codemodel_fwd.h
|
@@ -528,14 +525,14 @@ files:
|
|
528
525
|
- ext/generator/parser/parsesession.cpp
|
529
526
|
- ext/generator/parser/parsesession.h
|
530
527
|
- ext/generator/parser/problem.h
|
528
|
+
- ext/generator/parser/rpp/CMakeLists.txt
|
529
|
+
- ext/generator/parser/rpp/Makefile.am
|
531
530
|
- ext/generator/parser/rpp/anchor.h
|
532
531
|
- ext/generator/parser/rpp/appendedlist.h
|
533
532
|
- ext/generator/parser/rpp/chartools.cpp
|
534
533
|
- ext/generator/parser/rpp/chartools.h
|
535
|
-
- ext/generator/parser/rpp/CMakeLists.txt
|
536
534
|
- ext/generator/parser/rpp/macrorepository.cpp
|
537
535
|
- ext/generator/parser/rpp/macrorepository.h
|
538
|
-
- ext/generator/parser/rpp/Makefile.am
|
539
536
|
- ext/generator/parser/rpp/pp-configuration
|
540
537
|
- ext/generator/parser/rpp/pp-engine.cpp
|
541
538
|
- ext/generator/parser/rpp/pp-engine.h
|
@@ -601,18 +598,20 @@ files:
|
|
601
598
|
- ext/ruby/qtdeclarative/qtdeclarative.rb
|
602
599
|
- ext/ruby/qtdeclarative/qtdeclarativehandlers.cpp
|
603
600
|
- ext/ruby/qtruby/AUTHORS
|
604
|
-
- ext/ruby/qtruby/bin/CMakeLists.txt
|
605
|
-
- ext/ruby/qtruby/bin/rbqtapi
|
606
|
-
- ext/ruby/qtruby/ChangeLog
|
607
601
|
- ext/ruby/qtruby/CMakeLists.txt
|
608
602
|
- ext/ruby/qtruby/COPYING
|
609
603
|
- ext/ruby/qtruby/COPYING.LIB
|
604
|
+
- ext/ruby/qtruby/ChangeLog
|
610
605
|
- ext/ruby/qtruby/INSTALL
|
606
|
+
- ext/ruby/qtruby/README
|
607
|
+
- ext/ruby/qtruby/TODO
|
608
|
+
- ext/ruby/qtruby/bin/CMakeLists.txt
|
609
|
+
- ext/ruby/qtruby/bin/rbqtapi
|
610
|
+
- ext/ruby/qtruby/rails_support/CMakeLists.txt
|
611
611
|
- ext/ruby/qtruby/rails_support/active_item_model.rb
|
612
612
|
- ext/ruby/qtruby/rails_support/active_table_model.rb
|
613
|
-
- ext/ruby/qtruby/rails_support/CMakeLists.txt
|
614
|
-
- ext/ruby/qtruby/README
|
615
613
|
- ext/ruby/qtruby/src/CMakeLists.txt
|
614
|
+
- ext/ruby/qtruby/src/Qt.cpp
|
616
615
|
- ext/ruby/qtruby/src/handlers.cpp
|
617
616
|
- ext/ruby/qtruby/src/marshall.h
|
618
617
|
- ext/ruby/qtruby/src/marshall_basetypes.h
|
@@ -621,21 +620,22 @@ files:
|
|
621
620
|
- ext/ruby/qtruby/src/marshall_primitives.h
|
622
621
|
- ext/ruby/qtruby/src/marshall_types.cpp
|
623
622
|
- ext/ruby/qtruby/src/marshall_types.h
|
624
|
-
- ext/ruby/qtruby/src/Qt.cpp
|
625
623
|
- ext/ruby/qtruby/src/qtruby.cpp
|
626
624
|
- ext/ruby/qtruby/src/qtruby.h
|
627
625
|
- ext/ruby/qtruby/src/smokeruby.h
|
628
626
|
- ext/ruby/qtruby/test/opoverloading.rb
|
629
627
|
- ext/ruby/qtruby/test/unittests.rb
|
630
|
-
- ext/ruby/qtruby/TODO
|
631
628
|
- ext/ruby/qtruby/tools/CMakeLists.txt
|
632
629
|
- ext/ruby/qtruby/tools/rbrcc/CMakeLists.txt
|
633
|
-
- ext/ruby/qtruby/tools/rbrcc/main.cpp
|
634
630
|
- ext/ruby/qtruby/tools/rbrcc/Messages.sh
|
631
|
+
- ext/ruby/qtruby/tools/rbrcc/main.cpp
|
635
632
|
- ext/ruby/qtruby/tools/rbrcc/rbrcc.pro
|
636
633
|
- ext/ruby/qtruby/tools/rbrcc/rcc.cpp
|
637
634
|
- ext/ruby/qtruby/tools/rbrcc/rcc.h
|
638
635
|
- ext/ruby/qtruby/tools/rbuic/CMakeLists.txt
|
636
|
+
- ext/ruby/qtruby/tools/rbuic/LICENSE.GPL
|
637
|
+
- ext/ruby/qtruby/tools/rbuic/Messages.sh
|
638
|
+
- ext/ruby/qtruby/tools/rbuic/TODO
|
639
639
|
- ext/ruby/qtruby/tools/rbuic/customwidgetsinfo.cpp
|
640
640
|
- ext/ruby/qtruby/tools/rbuic/customwidgetsinfo.h
|
641
641
|
- ext/ruby/qtruby/tools/rbuic/databaseinfo.cpp
|
@@ -643,9 +643,7 @@ files:
|
|
643
643
|
- ext/ruby/qtruby/tools/rbuic/driver.cpp
|
644
644
|
- ext/ruby/qtruby/tools/rbuic/driver.h
|
645
645
|
- ext/ruby/qtruby/tools/rbuic/globaldefs.h
|
646
|
-
- ext/ruby/qtruby/tools/rbuic/LICENSE.GPL
|
647
646
|
- ext/ruby/qtruby/tools/rbuic/main.cpp
|
648
|
-
- ext/ruby/qtruby/tools/rbuic/Messages.sh
|
649
647
|
- ext/ruby/qtruby/tools/rbuic/option.h
|
650
648
|
- ext/ruby/qtruby/tools/rbuic/rbuic.pri
|
651
649
|
- ext/ruby/qtruby/tools/rbuic/rbuic4.pro
|
@@ -662,7 +660,6 @@ files:
|
|
662
660
|
- ext/ruby/qtruby/tools/rbuic/ruby/rbwriteinitialization.cpp
|
663
661
|
- ext/ruby/qtruby/tools/rbuic/ruby/rbwriteinitialization.h
|
664
662
|
- ext/ruby/qtruby/tools/rbuic/ruby/ruby.pri
|
665
|
-
- ext/ruby/qtruby/tools/rbuic/TODO
|
666
663
|
- ext/ruby/qtruby/tools/rbuic/treewalker.cpp
|
667
664
|
- ext/ruby/qtruby/tools/rbuic/treewalker.h
|
668
665
|
- ext/ruby/qtruby/tools/rbuic/ui4.cpp
|
@@ -677,8 +674,8 @@ files:
|
|
677
674
|
- ext/ruby/qtscript/qtscript.rb
|
678
675
|
- ext/ruby/qtscript/qtscripthandlers.cpp
|
679
676
|
- ext/ruby/qtscript/smokedata.cpp
|
680
|
-
- ext/ruby/qttest/ChangeLog
|
681
677
|
- ext/ruby/qttest/CMakeLists.txt
|
678
|
+
- ext/ruby/qttest/ChangeLog
|
682
679
|
- ext/ruby/qttest/examples/myfirsttest.rb
|
683
680
|
- ext/ruby/qttest/qttest.cpp
|
684
681
|
- ext/ruby/qttest/qttest.rb
|
@@ -696,10 +693,10 @@ files:
|
|
696
693
|
- ext/smoke/deptool/main.cpp
|
697
694
|
- ext/smoke/qt_smoke.h
|
698
695
|
- ext/smoke/qtcore/CMakeLists.txt
|
696
|
+
- ext/smoke/qtcore/QtGuess.txt
|
699
697
|
- ext/smoke/qtcore/config.xml.cmake
|
700
698
|
- ext/smoke/qtcore/qt-config.xml.cmake
|
701
699
|
- ext/smoke/qtcore/qtcore_includes.h
|
702
|
-
- ext/smoke/qtcore/QtGuess.txt
|
703
700
|
- ext/smoke/qtcore/smokeconfig.xml
|
704
701
|
- ext/smoke/qtcore/tests/CMakeLists.txt
|
705
702
|
- ext/smoke/qtcore/tests/test.cpp
|
@@ -785,18 +782,17 @@ files:
|
|
785
782
|
- ext/smoke/smokebase/CMakeLists.txt
|
786
783
|
- ext/smoke/smokebase/smokebase.cpp
|
787
784
|
- ext/smoke/solid_smoke.h
|
788
|
-
- CHANGELOG.txt
|
789
|
-
- CMakeLists.txt
|
790
|
-
- COPYING.LIB.txt
|
791
|
-
- COPYING.txt
|
792
|
-
- KNOWN_ISSUES.txt
|
793
|
-
- README.txt
|
794
|
-
- TODO.txt
|
795
785
|
- extconf.rb
|
796
|
-
-
|
786
|
+
- lib/Qt.rb
|
787
|
+
- lib/Qt/qtruby4.rb
|
788
|
+
- lib/Qt4.rb
|
789
|
+
- lib/qtbindings_version.rb
|
790
|
+
- lib/qtdeclarative/qtdeclarative.rb
|
791
|
+
- lib/qtscript/qtscript.rb
|
792
|
+
- lib/qttest/qttest.rb
|
793
|
+
- lib/qtuitools/qtuitools.rb
|
794
|
+
- lib/qtwebkit/qtwebkit.rb
|
797
795
|
- qtbindings.gemspec
|
798
|
-
- qtbindingsnative.gemspec
|
799
|
-
- Rakefile
|
800
796
|
homepage: http://github.com/ryanmelt/qtbindings
|
801
797
|
licenses:
|
802
798
|
- LGPLv2.1
|
@@ -807,18 +803,18 @@ require_paths:
|
|
807
803
|
- lib
|
808
804
|
required_ruby_version: !ruby/object:Gem::Requirement
|
809
805
|
requirements:
|
810
|
-
- -
|
806
|
+
- - ">="
|
811
807
|
- !ruby/object:Gem::Version
|
812
808
|
version: '0'
|
813
809
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
814
810
|
requirements:
|
815
|
-
- -
|
811
|
+
- - ">="
|
816
812
|
- !ruby/object:Gem::Version
|
817
813
|
version: '0'
|
818
814
|
requirements:
|
819
815
|
- none
|
820
816
|
rubyforge_project: qtbindings
|
821
|
-
rubygems_version: 2.
|
817
|
+
rubygems_version: 2.2.2
|
822
818
|
signing_key:
|
823
819
|
specification_version: 4
|
824
820
|
summary: Qt bindings for ruby
|