[maemo-developers] problem using osso-abook in Qt/MADDE
From: Roman Morawek lists at morawek.atDate: Wed Nov 3 23:42:50 EET 2010
- Previous message: not able to chose file to save to
- Next message: problem using osso-abook in Qt/MADDE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, I try to use the native Maemo address book selection dialog in a Qt application. I followed the information at http://wiki.forum.nokia.com/index.php/How_to_use_native_Maemo5_contacts_dialogs. However, as I add CONFIG += link_pkgconfig PKGCONFIG += gtk+-2.0 libosso-abook-1.0 to the Qt project file and #include <libosso-abook/osso-abook.h> to some source file I get the following error: In file included from C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/gtk-2.0/gtk/gtk.h:47, from C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/libosso-abook-1.0/libosso-abook/osso-abook-list-store.h:12, from C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/libosso-abook-1.0/libosso-abook/osso-abook-group.h:15, from C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/libosso-abook-1.0/libosso-abook/osso-abook-all-group.h:13, from C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/libosso-abook-1.0/libosso-abook/osso-abook.h:15, from usernotifier.cpp:33: C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/gtk-2.0/gtk/gtkbindings.h:79: error: expected unqualified-id before 'protected' C:/NokiaQtSDK/Maemo/4.6.2/sysroots/fremantle-arm-sysroot-20.2010.36-2-slim/usr/include/gtk-2.0/gtk/gtkbindings.h:79: error: expected ';' before 'protected' make: Leaving directory `/c/Users/roman/Documents/privat/projects/2010/babyphone/svn/trunk/src' make: *** [usernotifier.o] Error 1 I am using QtCreator on Windows, thus MADDE-0.7.48: 20101021-1348. How can I resolve this? Thanks a lot for your support, Roman
- Previous message: not able to chose file to save to
- Next message: problem using osso-abook in Qt/MADDE
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]