diff --git a/doc/global/qt-html-templates-offline.qdocconf b/doc/global/qt-html-templates-offline.qdocconf
index 4ac47fe7fd5..2bd1a9256b1 100644
--- a/doc/global/qt-html-templates-offline.qdocconf
+++ b/doc/global/qt-html-templates-offline.qdocconf
@@ -1,7 +1,6 @@
HTML.nobreadcrumbs = "true"
-HTML.templatedir = template
-HTML.stylesheets = style/offline.css
+HTML.stylesheets = template/style/offline.css
HTML.headerstyles = \
" \n"