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