-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
Hi,
first of all, thanks for the great project! I am really looking forward to integrating QtFacebook into my application. I just tried to add QtFacebook to my Qt 5.6 (Android) application, but unfortunately when I run the following small sample program...
import QtQuick 2.6
import QtQuick.Window 2.2
import org.qtproject.example 1.0
Window {
visible: true
MouseArea {
anchors.fill: parent
onClicked: {
console.log("login");
Facebook.login()
}
}
}
...I get the following NullPointerException:
D/libqtfacebook_test.so(16218): qrc:/main.qml:19 (onClicked): qml: login
I/QFacebook(16218): Facebook Creating a new Session
W/System.err(16218): java.lang.NullPointerException
W/System.err(16218): at org.gmaxera.qtfacebook.QFacebookBinding.createSessionIfNeeded(QFacebookBinding.java:123)
W/System.err(16218): at org.gmaxera.qtfacebook.QFacebookBinding.login(QFacebookBinding.java:132)
W/System.err(16218): at dalvik.system.NativeStart.run(Native Method)
Do you have an idea what could be the reason for the NullPointerException? I tried to do all the things you described in the Readme file.
Thanks for your time!
Kind Regards
Bernhard
Metadata
Metadata
Assignees
Labels
No labels