[gtk-osx-users] using gtk-mac-bundler with glade/ui file

Dear all,

I'm new comer in gtk,
I have problem when create os x  app bundle using gtk-mac-bundler,,

I have included the ui/glade file in <data> like this:
  <data dest="${bundle}/Contents/Resources/builder">

but when i run the app, the followeing error was issued:

 WARNING **: Failed to open file 'builder/builder.ui': No such file or directory

in my .cpp file, i load builder using:

if( ! gtk_builder_add_from_file( pcGBuilder, "builder/builder.ui", &pcGError )     )


        g_warning( "%s", pcGError->message );

        g_free( pcGError );


thank you

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]