PDA

View Full Version : Qt Warnings on Compile



baruch60610
May 23rd, 2012, 06:53 AM
I've been working through some tutorials on the Qt-SDK. These tutorials are the ones that came with the package. When I ran them on Oneiric, I had no problems. Now that I've upgraded to Precise, I am getting numerous warnings when I do a compile. The warnings complain of a missing file "menu_proxy_module_load." On Oneiric I never encountered this error.

Despite the warnings, the programs appear to compile correctly. At least they run. They don't seem to be affected by this missing file. Even so, I'd rather track this problem down and fix it. Any help would be appreciated.

The warning messages follow:


Starting /home/baruch/Documents/Projects/Qt/books-build-desktop-Qt_4_8_1_in_PATH__System__Release/books...
`menu_proxy_module_load': /home/baruch/Documents/Projects/Qt/books-build-desktop-Qt_4_8_1_in_PATH__System__Release/books: undefined symbol: menu_proxy_module_load


(books:2281): Gtk-WARNING **: Failed to load type module: (null)


`menu_proxy_module_load': /home/baruch/Documents/Projects/Qt/books-build-desktop-Qt_4_8_1_in_PATH__System__Release/books: undefined symbol: menu_proxy_module_load


(books:2281): Gtk-WARNING **: Failed to load type module: (null)


`menu_proxy_module_load': /home/baruch/Documents/Projects/Qt/books-build-desktop-Qt_4_8_1_in_PATH__System__Release/books: undefined symbol: menu_proxy_module_load


(books:2281): Gtk-WARNING **: Failed to load type module: (null)


`menu_proxy_module_load': /home/baruch/Documents/Projects/Qt/books-build-desktop-Qt_4_8_1_in_PATH__System__Release/books: undefined symbol: menu_proxy_module_load


(books:2281): Gtk-WARNING **: Failed to load type module: (null)


/home/baruch/Documents/Projects/Qt/books-build-desktop-Qt_4_8_1_in_PATH__System__Release/books exited with code 0

Bachstelze
May 23rd, 2012, 07:48 AM
Probably a GTK bug of some sort, you often get those when running a GTK app from the terminal. If your code works fine, I would ignore them. There's probably nothing you can do to fix the.

baruch60610
May 23rd, 2012, 05:05 PM
Thanks for your reply, Bachstelze. I guess I don't really have a choice but to ignore it, if it's a bug in GTK itself. I appreciate this info.

pbrane
May 25th, 2012, 01:05 AM
I found this while searching for that warning, apparently this will fix the warnings.


sudo apt-get install appmenu-gtk3

Although according to this it may not...
https://bugs.launchpad.net/ubuntu/+source/appmenu-gtk/+bug/791735

baruch60610
May 26th, 2012, 04:46 AM
Thanks, pbrane, for that idea. I had already tried it (not sure why the idea occurred to me), but it didn't solve the problem.

OTOH, I guess as long as the programs compile and run, I won't worry too much about it.