Skip to content

Commit

Permalink
Another set of fixes for qt5 without webkit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ri0n committed Apr 25, 2017
1 parent 39b58ca commit 853a291
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 10 deletions.
3 changes: 0 additions & 3 deletions src/networkaccessmanager.cpp
Expand Up @@ -23,9 +23,6 @@

#include "bytearrayreply.h"
#include <QCoreApplication>
#ifndef WEBENGINE
#include <QWebSecurityOrigin>
#endif

NetworkAccessManager::NetworkAccessManager(QObject *parent) :
QNetworkAccessManager(parent)
Expand Down
2 changes: 1 addition & 1 deletion src/psicon.cpp
Expand Up @@ -86,10 +86,10 @@
#include "groupchatdlg.h"
#endif
#include "spellchecker/aspellchecker.h"
#include "networkaccessmanager.h"
#ifdef WEBKIT
#include "avatars.h"
#include "chatviewthemeprovider.h"
#include "networkaccessmanager.h"
#include "webview.h"
#endif
#include "urlobject.h"
Expand Down
12 changes: 6 additions & 6 deletions src/src.pri
Expand Up @@ -556,12 +556,16 @@ pgputil {
HEADERS += \
$$PWD/removeconfirmationmessagebox.h \
$$PWD/globaleventqueue.h \
$$PWD/dummystream.h
$$PWD/dummystream.h \
$$PWD/networkaccessmanager.h \
$$PWD/bytearrayreply.h \

SOURCES += \
$$PWD/removeconfirmationmessagebox.cpp \
$$PWD/globaleventqueue.cpp \
$$PWD/dummystream.cpp
$$PWD/dummystream.cpp \
$$PWD/networkaccessmanager.cpp \
$$PWD/bytearrayreply.cpp \

# Qt Designer forms
FORMS += \
Expand Down Expand Up @@ -641,17 +645,13 @@ unix:!dbus {

qtwebengine|qwebkit {
HEADERS += $$PWD/chatview_webkit.h \
$$PWD/networkaccessmanager.h \
$$PWD/bytearrayreply.h \
$$PWD/webview.h \
$$PWD/jsutil.h \
$$PWD/chatviewtheme.h \
$$PWD/chatviewthemeprovider.h \
$$PWD/chatviewthemeprovider_priv.h

SOURCES += $$PWD/chatview_webkit.cpp \
$$PWD/networkaccessmanager.cpp \
$$PWD/bytearrayreply.cpp \
$$PWD/webview.cpp \
$$PWD/jsutil.cpp \
$$PWD/chatviewtheme.cpp \
Expand Down

0 comments on commit 853a291

Please sign in to comment.