summaryrefslogtreecommitdiffstats
path: root/languages/ruby/app_templates/qtruby4app/main.rb
diff options
context:
space:
mode:
Diffstat (limited to 'languages/ruby/app_templates/qtruby4app/main.rb')
-rw-r--r--languages/ruby/app_templates/qtruby4app/main.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/languages/ruby/app_templates/qtruby4app/main.rb b/languages/ruby/app_templates/qtruby4app/main.rb
new file mode 100644
index 00000000..7b5aaf60
--- /dev/null
+++ b/languages/ruby/app_templates/qtruby4app/main.rb
@@ -0,0 +1,10 @@
+require 'Qt4'
+require '%{APPNAMELC}.rb'
+require 'qrc_application.rb'
+
+app = Qt::Application.new(ARGV)
+mw = %{APPNAME}.new
+mw.show
+app.exec
+
+