I'm looking into how to make it work runtime in a sketchup plugin, and there is very little documentation to be found anywhere.
So, basically I'm posting to see if anyone else interested in this, have you been working this way, or is there any good reason not to use Qt4 for UI's.
My goal is to post a solid "How-to" use/setup Qt4 UI's in Sketchup plugin's.
If you don't know Qt4 - Qt4 is an IDE made by Nokia, very powerful and used for very sophisticated UI's.
Part of the IDE is Qt4-designer - a graphical interface WYSIWYG kind-of-thing, very cool and considered by many the best around.
Qt4-designer is free and open source.
Screenshot Qt4 here: http://qt.nokia.com/images/products/qt- ... t-mac/view
The workflow goes like this:
- Layout your UI with widgets, buttons, sliders, dials, combo's and what have you.
- Set properties to get behaviour and look you want.
- Set signals/slots to connect UI with you main RUBY plugin file.
- Qt4 saves as an XML file.
- Run the XML file through a program/compiler ("rbuic4" in linux-terminal) with Ruby bindings and output is a ready-to-go UI in RUBY.
- You can re-work/tweak the RUBY UI or leave and use as is.
Pro's for this workflow:
- Fast way to make some really cool UI stuff.
- The RUBY UI runs and looks native in both Windows AND Mac-OSX - from the SAME UI-file.
- Keep plugin's in only RUBY - you can scramble the UI if you are into that kind-of-thing.
- The UI file is separated from the logic.
- Should you be trembling over Trimble in the future - at least your UI can easily be converted to python/java or whatever you require.
Con's for this workflow
- There is very little documentation around.
For some documentation of this I found this link: http://techbase.kde.org/Development/Tut ... on_Kubuntu
Right now I'm trying to figure out the runtime dependencies/libraries needed and where to locate/put them.
If you have anything you want to share - PLEASE post

