GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How do I port the application develeped with glade to Window

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion
Author Message
noufalk



Joined: 23 Jul 2008
Posts: 4

PostPosted: Wed Jul 23, 2008 12:17 pm    Post subject: How do I port the application develeped with glade to Window Reply with quote

Hi ,
I am new to GTK+/Glade ..I have an application developed with GTK+ (2.12.1) and Glade on Linux..I don't know how to port this to windows..
Can I use the files interface.c and interface.h, generated on linux, in windows ?...
Please give me any idea how to start...
Thanks in advance..

Regards
Noufalk
Back to top
mhydra
Familiar Face


Joined: 05 Mar 2008
Posts: 5

PostPosted: Thu Jul 24, 2008 7:22 am    Post subject: Reply with quote

You could easily port that application and the easiest way is to use your .glade file and LibGlade. Of course the procedure you should have installed the GTK+ libraris for Windows.
I would try to give you an example how to do that.
Back to top
noufalk



Joined: 23 Jul 2008
Posts: 4

PostPosted: Thu Jul 24, 2008 8:20 am    Post subject: Reply with quote

I have installed GTK+ windows version on my machine..

Regards
Noufalk
Back to top
mhydra
Familiar Face


Joined: 05 Mar 2008
Posts: 5

PostPosted: Thu Jul 24, 2008 9:00 am    Post subject: Reply with quote

Could you please provide some information how your application is dependent on other additional libraries?
What libraries uses? That libraries also should be available to Windows.

I would admit that if that application is for your desktop/personal use probably it would not be useful to do that.
The porting is not just recompiling with Windows compiler but also appropriate designing and testing.

Svetoslav P. Chukov
Back to top
noufalk



Joined: 23 Jul 2008
Posts: 4

PostPosted: Thu Jul 24, 2008 9:47 am    Post subject: Reply with quote

Thanks Mr mhydra

These are the Libraries used,
gtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 `pkg-config gtk+-2.0 --libs libglade-2.0 --libs` -lgtkembedmoz

Type of application is desktop.
Actually I would like to know how to port a GUI application developed with Glade and GTK+ on linux to Windows XP.

Warm Regards
Noufalk
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP