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:
Dirk Hohndel 2015-01-30 22:08:50 -08:00
parent d8e5e1922f
commit cb6bda4e0c
2 changed files with 2 additions and 2 deletions

View file

@ -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.");

View file

@ -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