websocket outline

This commit is contained in:
Aditya Kulkarni
2019-01-14 14:52:12 -08:00
parent fbdfe1fc33
commit 5c23be69f8
4 changed files with 10 additions and 2 deletions

View File

@@ -93,8 +93,13 @@ MainWindow::MainWindow(QWidget *parent) :
rpc = new RPC(this);
restoreSavedStates();
createWebsocket();
}
void MainWindow::createWebsocket() {
}
void MainWindow::restoreSavedStates() {
QSettings s;

View File

@@ -102,6 +102,8 @@ private:
void restoreSavedStates();
void createWebsocket();
RPC* rpc = nullptr;
QCompleter* labelCompleter = nullptr;

View File

@@ -55,6 +55,7 @@
#include <QtNetwork/QNetworkRequest>
#include <QtNetwork/QNetworkAccessManager>
#include <QtNetwork/QNetworkReply>
#include <QtWebSockets/QtWebSockets>
#include <QJsonDocument>
#include <QJsonArray>
#include <QJsonObject>

View File

@@ -10,7 +10,8 @@ CONFIG += precompile_header
PRECOMPILED_HEADER = src/precompiled.h
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
QT += widgets
QT += websockets
TARGET = zec-qt-wallet
@@ -100,4 +101,3 @@ ICON = res/logo.icns
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target