Hi,
Seems to work for me (tested on Qt for Symbian 4.6.2, 5800 XpressMusic), after some modifications. SSL support on Symbian comes from Open C, so you don't need to worry about any additional libraries.
Here's what I changed:
qfacebookconnect.pro: added the following:
Code:
symbian: {
INCLUDEPATH += /epoc32/include/stdapis
TARGET.CAPABILITY = LocalServices ReadUserData WriteUserData UserEnvironment NetworkServices Location
TARGET.EPOCALLOWDLLDATA = 1
}
Above, I added all the capabilities that you can use with self-signed sis packages.
To test with the 'sample' app provided, I modified it as well:
sample.pro: add the following:
Code:
symbian: {
INCLUDEPATH += /epoc32/include/stdapis
TARGET.CAPABILITY = NetworkServices
LIBS += -lqfacebookconnect
fbclib.sources = qfacebookconnect.dll
fbclib.sources.path = \sys\bin
DEPLOYMENT += fbclib
}
This will deploy the DLL along with the test app.
To make the app more usable in an S60 device (at least in landscape), I also modified main.cpp:
Code:
int main(int argc, char *argv[])
{
#ifdef Q_OS_SYMBIAN
QApplication::setAttribute (Qt::AA_S60DontConstructApplicationPanes);
#endif
QApplication a(argc, argv);
MainWindow w;
#ifdef Q_OS_SYMBIAN
w.showFullScreen();
#else
w.show();
#endif
return a.exec();
}