Do you have that file in your system?
I think there is something in Qt like ".dll files" in C#
for example when i use zgraph in c# i add its dll as refrence
is there any thing to do to prevent thisi problems ??
Added after 12 minutes:
yes,here->>"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\libnotify\notify.h"
when i add this line --> INCLUDEPATH +="C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include" in .pro file the error
this error is fixed but there are many errors because of the header files included in notify.h
I add the path of each header file causes an error.. and repeated many
INCLUDEPATH +="C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\glib-2.0"\
"C:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\includ e\stdapis\glib-2.0"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\gtk-2.0"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\lib\gtk-2.0\include"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\cairo"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\pango-1.0"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\atk-1.0"
but finally i have 52 errors ..I can't solve them .. not related to header files .. Like --> error: 'goffset' was not declared in this scope
Added after 4 minutes:
yes,here->>"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\libnotify\notify.h"
when i add this line --> INCLUDEPATH +="C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include" in .pro file the error
this error is fixed but there are many errors because of the header files included in notify.h
I add the path of each header file causes an error.. and repeated many
INCLUDEPATH +="C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\glib-2.0"\
"C:\QtSDK\Symbian\SDKs\Symbian3Qt473\epoc32\includ e\stdapis\glib-2.0"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\gtk-2.0"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\lib\gtk-2.0\include"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\cairo"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\pango-1.0"\
"C:\QtSDK\Maemo\4.6.2\sysroots\fremantle-arm-sysroot-20.2010.36-2-slim\usr\include\atk-1.0"
but finally i have 52 errors ..I can't solve them .. not related to header files .. Like --> error: 'goffset' was not declared in this scope
Last edited by Marwa Shams; 6th August 2011 at 16:05.
I think you can't use pkgconfig because your environment isn't prepared to use it with freemantle (epecially since you're running Windows). For each library you need to define the paths to includes and the paths to libraries needed. So far you only defined the former.
OK I already included paths of all needed header files easily because i know each header file name from error bar
but the problem for me how to know the libraries needed ??
for example ---> "error: 'goffset' was not declared in this scope" .. what's the lib includes this type ??
Use the LIBS variable in the project file. As for goffset, it's likely a glib routine but you can google it yourself.
Bookmarks