mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Compile Facebook support when building with Qt5
Now that Facebook approved our use of the API, we can build this by default. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d8e5e1922f
commit
cb6bda4e0c
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ PreferencesDialog::PreferencesDialog(QWidget *parent, Qt::WindowFlags f) : QDial
|
|||
ui.proxyType->setCurrentIndex(-1);
|
||||
|
||||
// Facebook stuff:
|
||||
#if !defined(Q_OS_ANDROID) && defined(FBSUPPRORT)
|
||||
#if !defined(Q_OS_ANDROID) && defined(FBSUPPORT)
|
||||
FacebookManager *fb = FacebookManager::instance();
|
||||
if(fb->loggedIn()){
|
||||
facebookWebView->setHtml("You are connected on Facebook, yey.");
|
||||
|
|
|
@ -240,7 +240,7 @@ FORMS = \
|
|||
# Nether usermanual or printing is supported on android right now
|
||||
android: FORMS -= qt-ui/printoptions.ui
|
||||
|
||||
FBSUPPORT: {
|
||||
greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
FORMS += qt-ui/socialnetworksdialog.ui
|
||||
SOURCES += qt-ui/socialnetworks.cpp
|
||||
HEADERS += qt-ui/socialnetworks.h
|
||||
|
|
Loading…
Reference in a new issue