diff options
Diffstat (limited to 'examples/qwebchannel/standalone/main.cpp')
-rw-r--r-- | examples/qwebchannel/standalone/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qwebchannel/standalone/main.cpp b/examples/qwebchannel/standalone/main.cpp index cc22ed3..fa3912d 100644 --- a/examples/qwebchannel/standalone/main.cpp +++ b/examples/qwebchannel/standalone/main.cpp @@ -139,7 +139,7 @@ int main(int argc, char** argv) channel.registerObject(QStringLiteral("dialog"), &dialog); // open a browser window with the client HTML page - QUrl url = QUrl::fromLocalFile(SOURCE_DIR "/index.html"); + QUrl url = QUrl::fromLocalFile(BUILD_DIR "/index.html"); url.setQuery(QStringLiteral("webChannelBaseUrl=") + server.serverUrl().toString()); QDesktopServices::openUrl(url); |