diff --git a/domain-server/src/DomainServer.cpp b/domain-server/src/DomainServer.cpp index 66925e32fe..d404d4d39d 100644 --- a/domain-server/src/DomainServer.cpp +++ b/domain-server/src/DomainServer.cpp @@ -326,7 +326,7 @@ DomainServer::DomainServer(int argc, char* argv[]) : struct mg_callbacks callbacks = {}; QString documentRoot = QString("%1/resources/web").arg(QCoreApplication::applicationDirPath()); - qDebug("The document root is %s\n", documentRoot.toStdString()); + qDebug("The document root is %s\n", documentRoot.toLocal8Bit().constData()); // list of options. Last element must be NULL. const char* options[] = {"listening_ports", "8080",