summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorten Sorvig <morten.sorvig@nokia.com>2010-12-04 15:10:57 -0600
committerMorten Sorvig <morten.sorvig@nokia.com>2010-12-04 15:10:57 -0600
commitd375767e7d1b14e4f8dda09d603b5ab2238643a5 (patch)
tree438763ce897b0e7544891e84ecad7210c45b30fa
parent76b4d189b7de4dec6a6ce24f2e28286adc95c0df (diff)
QLibraryInfo cant be used for locating the examples, we are
building the demo server with a different Qt.
-rw-r--r--tools/nacldemoserver/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/nacldemoserver/main.cpp b/tools/nacldemoserver/main.cpp
index ce8cc235ea..d6c50586b2 100644
--- a/tools/nacldemoserver/main.cpp
+++ b/tools/nacldemoserver/main.cpp
@@ -8,8 +8,8 @@ int main(int argc, char *argv[])
quint16 port = 3001;
Server server(port);
- server.addRootPath(QLibraryInfo::location(QLibraryInfo::ExamplesPath));
- server.addRootPath(QLibraryInfo::location(QLibraryInfo::DemosPath));
+ server.addRootPath("../../examples");
+ server.addRootPath("../../demos");
ServerWidget w;
w.ui->label_portMessage->setText