Editing QtRuby
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | + | '''QTRuby''' | |
- | + | This is a quick start guide to getting into QtRuby application development. | |
+ | Follow the KDE link at the bottom to take this further than what I have written so far. | ||
+ | There is good info in mikec's thread as well that pertains to QtDesigner. | ||
+ | Please feel free to add to this guide. | ||
+ | Also please feel free to package an optified version of libqt so we don't need to use Easy Debian. | ||
- | I'm sure I've screwed something up so let me know in this | + | Extra special thanks to Qole for Easy Debian. None of this would be possible with out him. |
+ | |||
+ | I'm sure I've screwed something up so let me know in this thread. --add thread | ||
== Preperations == | == Preperations == | ||
Line 9: | Line 15: | ||
=== Linux === | === Linux === | ||
* Get QtDesigner | * Get QtDesigner | ||
- | sudo apt-get | + | sudo apt-get libqt4-designer |
* Get Qtruby and Ruby | * Get Qtruby and Ruby | ||
sudo apt-get install libqt4-ruby1.8 | sudo apt-get install libqt4-ruby1.8 | ||
Line 21: | Line 27: | ||
=== Mac === | === Mac === | ||
- | I'm not sure what all is gonna be required. Read this maybe: http://osake.wordpress.com/2009/08/21/qt4-qtruby-mac-os-x/ | + | I'm not sure what all is gonna be required. |
+ | Read this maybe: http://osake.wordpress.com/2009/08/21/qt4-qtruby-mac-os-x/ | ||
=== N900 === | === N900 === | ||
- | * Install Easy Debian (available in the | + | * Install Easy Debian (available in the extras repository) |
- | * Install ibqt4-ruby1.8 under Easy Debian using | + | * Install ibqt4-ruby1.8 under Easy Debian using n900 terminal. |
- | debbie sudo apt-get | + | debbie sudo apt-get libqt4-ruby1.8 |
+ | |||
== Your First App == | == Your First App == | ||
Line 77: | Line 85: | ||
Go to the File menu of QtDesigner and Save the form in a new directory somewhere. | Go to the File menu of QtDesigner and Save the form in a new directory somewhere. | ||
Name the form dashboard_ui.ui | Name the form dashboard_ui.ui | ||
- | === | + | === Rubic === |
Now we need to translate the QtDesigner file into Ruby source code. | Now we need to translate the QtDesigner file into Ruby source code. | ||
* In Windows drop to a command prompt. | * In Windows drop to a command prompt. | ||
Line 106: | Line 114: | ||
== Important Links == | == Important Links == | ||
- | * | + | * KDE QTRuby tutorial |
- | * | + | http://techbase.kde.org/Development/Tutorials/Developing_Qt4_Applications_using_Qt_Designer_and_Ruby_on_Kubuntu |
- | * | + | * mikec's Python/QtDesigner thread |
- | + | http://talk.maemo.org/showthread.php?t=43663 | |
- | + | * Easy Debian wiki page | |
- | + | http://wiki.maemo.org/Easy_Debian |
Learn more about Contributing to the wiki.