autogen html.qrc before build
Change-Id: Iab3bd34b582281513ca42efda73337a636e6fc36
diff --git a/gui/chronosharegui.cpp b/gui/chronosharegui.cpp
index cc459a5..79d7a62 100644
--- a/gui/chronosharegui.cpp
+++ b/gui/chronosharegui.cpp
@@ -37,8 +37,11 @@
static const string HTTP_SERVER_ADDRESS = "localhost";
static const string HTTP_SERVER_PORT = "9001";
-//static const string DOC_ROOT = ":/html";
+#ifdef _DEBUG
static const string DOC_ROOT = "gui/html";
+#else
+static const string DOC_ROOT = ":/html";
+#endif
static const QString ICON_PICTURE_QSTRING(":/images/friends-group-icon.png");
INIT_LOGGER ("Gui");
diff --git a/gui/html.qrc b/gui/html.qrc
deleted file mode 100644
index 1d8d379..0000000
--- a/gui/html.qrc
+++ /dev/null
@@ -1,14 +0,0 @@
-<RCC>
- <qresource prefix="/">
- <file>html/index.html</file>
-<!--
- <file>html/jquery.min.js</file>
- <file>html/load.gif</file>
- <file>html/ndn-js.js</file>
- <file>html/content.js</file>
- <file>html/detect.js</file>
- <file>html/style.css</file>
- <file>html/chronoshare.js</file>
--->
- </qresource>
-</RCC>