#!/usr/bin/env ruby $VERBOSE = true; $:.unshift File.dirname($0) require 'Qt' a = Qt::Application.new(ARGV) hello = Qt::PushButton.new('Hello World!', nil) hello.resize(100, 30) hello.show() a.exec()