5 - cmake 2.4.6 or greater
11 In order to build just qtruby:
13 Copy the CMakeLists.txt.qtruby file to QCMakeLists.txt, and follow the
14 instructions in the file.
16 Optionally give cmake and install prefix like this:
17 cmake -DCMAKE_INSTALL_PREFIX=/opt/kde4
24 Ryutaro Amano wrote this about creating a double clickable bundle:
26 "Thanks all, I have succeeded make rubyw.
27 sample script is launched in foreground.
28 And I have known the following steps to launch qt-ruby script by double clicking
31 As an example, I take qtruby-1.0.11/qtruby/rubylib/tutorial/t14
33 cd qtruby-1.0.11/qtruby/rubylib/tutorial/t14
35 replace first line of t14.rb with "#!/usr/local/bin/rubyw"
36 mkdir -p Shoot.app/Contents/MacOS
37 mv t14.rb Shoot.app/Contents/MacOS/Shoot
38 cp {cannon.rb,gamebrd.rb,lcdrange.rb} Shoot.app/Contents/MacOS
39 cp Info.plist Shoot.app/Contents
43 <?xml version="1.0" encoding="UTF-8"?>
44 <!DOCTYPE plist SYSTEM "file://localhost/System/Library/DTDs/PropertyList.dtd">
47 <key>CFBundleExecutable</key>
48 <string>Shoot</string>
49 <key>CFBundleIdentifier</key>
50 <string>jp.co.ryutaro.qtquit</string>
51 <key>CFBundlePackageType</key>
53 <key>CFBundleSignature</key>
58 echo -n "APPL????" > Shoot.app/Contents/PkgInfo
60 Double click Shoot.app, Qt-Window appears in foreground."
62 QScintilla text editing widget support
63 --------------------------------------
65 QScintilla is a text editing widget with syntax highlighting for a
66 number of languages including ruby. It can be downloaded from here:
68 http://www.riverbankcomputing.co.uk/qscintilla/download.php
70 If the scintilla library is found by the cmake configuration, QtRuby will be
71 built with QScintilla support. The classes in a 'Qext::' module, with names such as
74 Qwt scientific plotting library support
75 ---------------------------------------
77 If the Qwt library is found by the cmake configuration, QtRuby will be
78 built with Qwt support. The classes in a 'Qwt::' module, with names such as