Deciding GUI development tool


Forum: Apps
Topic: Deciding GUI development tool
started by: aptenikhil

Posted by aptenikhil on Jan. 15 2007,09:51
Hello all,
I am in a strange problem,
I want some GUI application to run on DSL (Damn small Linux). I dont want to install any GUI development tools on DSL.
I have another PC with RedHat linux, having both Gtk and Qt installed on it.
Is there any way so that i can develop some application using either Gtk or Qt and it will run on DSL ( maybe with some modification). Which GUI tool should i use? Gtk or Qt?

Can you guide me regarding this?

Posted by humpty on Jan. 15 2007,17:41
i don't know about QT but you i think you can run GTK apps on dsl. GTK2 requires gtk2-0705.dsl.
Posted by mikshaw on Jan. 15 2007,19:00
Qt and Gtk2 are both not available in DSL base.
If you don't want to have to install additional software on DSl in order to run the program, you have a few choices:

Use Xlib only.
Use Gtk 1.2.
Use the MurgaLua interpreter to create FLTK interfaces with the Lua scripting language.
Create programs that include the necessary libraries statically linked (FLTK is ideal for this).
Include the runtime libraries with your program (probably the worst idea of the bunch).

Posted by aptenikhil on Jan. 16 2007,05:48
Hi,
I think using XLib or using Gtk 1.2 would be a better option than using MurgaLua interface with Lua scripting language.
Can you just give me some details about how to link with xlib?

Will the application build through Gtk 1.2 directly runs on dsl?
From dsl website i found that libgtk1.2 v1.2.10-14  is currently availabe in dsl. So my feeling is that if i use Gtk 1.2 then as the libraries are already there so the GUI app should dirctly run on dsl. Am i right?
Also tell me how to use Xlib so that i can finalize from one of those.
Thanks for your kind help.

Posted by ^thehatsrule^ on Jan. 16 2007,06:24
Quote
Will the application build through Gtk 1.2 directly runs on dsl?
From dsl website i found that libgtk1.2 v1.2.10-14  is currently availabe in dsl. So my feeling is that if i use Gtk 1.2 then as the libraries are already there so the GUI app should dirctly run on dsl. Am i right?
Yes.

Posted by aptenikhil on Jan. 16 2007,11:21
Hi,
I build some helloworld appliation using glade v1.1.1. I am using Gtk version 1.2.10 (I got this version from gtkconfig --version command) on RedHat Linux 8.0 PC.
Now as per the expectation the GUI app build on RedHat Linux Pc should have run directly on the DSL. But it gives runtime error, the descrition is like this:-

error while loading shared libraries libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory.

Can anyone help me in solving this problem? How can i link with XLib?

Posted by mikshaw on Jan. 16 2007,14:01
You should probably consider reading some documentation about Xlib programming rather than expecting someone to explain it on a forum....only because it's redundant, not because you don't deserve an answer =o)
A search on google.com/linux/ will bring some quick answers.

Posted by ^thehatsrule^ on Jan. 16 2007,19:55
Quote
error while loading shared libraries libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory.
That means you compiled it against gtk2 libs...

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.