#!/usr/bin/env ruby require 'TQt' require 'viewer' $KCODE='u' a = TQt::Application.new(ARGV) textViewer = Viewer.new textViewer.setCaption('TQtRuby Example - Simple TQFont Demo') a.setMainWidget(textViewer) textViewer.show a.exec()