build: reanimate the dead
Fix build with ndn-cxx 0.7.1 and ChronoSync 0.5.3
* Adapt to new API
* Upgrade to Qt5
* Several other bugs
Refs: #4563, #4087
Change-Id: Ic55d687caade08f557f9b9ec3e9569bc96798710
diff --git a/src/main.cpp b/src/main.cpp
index 9674146..90f1d9d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -10,10 +10,9 @@
#include <QApplication>
#include <QTextCodec>
-// #include <QSystemTrayIcon>
#include "controller.hpp"
-#include "logging.h"
+#include <iostream>
#include <ndn-cxx/face.hpp>
#include <boost/thread/thread.hpp>
@@ -43,9 +42,6 @@
{
NewApp app(argc, argv);
- QTextCodec::setCodecForCStrings(QTextCodec::codecForName("UTF-8"));
- QTextCodec::setCodecForTr(QTextCodec::codecForName("UTF-8"));
-
chronochat::Controller controller;
app.setQuitOnLastWindowClosed(false);