Files
qt-creator/doc/config/qt-html-default-styles.qdocconf
Eike Ziller 8c4d86d174 Fix Qt Creator manual style when generating with Qt 5.
The HTML.templatedir is no longer used in Qt 5. Instead, the files
are resolved relative to the referencing qdocconf.
So we set the templatedir to the path of the qdocconf (for Qt 4)
and change the references to be relative to that path.
Also, it's HTML.extraimages in Qt 5, instead of extraimages.HTML

Task-number: QTBUG-28304
Change-Id: I5b253ea9fac5825c49f74460df188a7fca5c89cd
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2012-12-10 13:42:15 +01:00

64 lines
3.0 KiB
Plaintext

# Define the location of the templates to use. Style sheets and scripts are
# specified relative to the template directory and will be copied into
# subdirectories of the output directory.
HTML.templatedir = $SRCDIR/config
HTML.stylesheets = ../templates/style/offline.css
HTML.scripts =
# Files not referenced in any qdoc file (last four needed by qtdemo)
# See also qhp.Qt.extraFiles
# for Qt 4:
extraimages.HTML = ../templates/images/qt-logo.png \
../templates/images/arrow_down.png \
../templates/images/breadcrumb.png \
../templates/images/bullet_gt.png \
../templates/images/bullet_dn.png \
../templates/images/bullet_sq.png \
../templates/images/bullet_up.png \
../templates/images/horBar.png \
../templates/images/sprites-combined.png \
../templates/images/qtcreator-screenshots.png \
../templates/images/bgrContent.png \
../templates/images/blu_dot.png \
../templates/images/btn_next.png \
../templates/images/btn_prev.png \
../templates/images/ico_note.png \
../templates/images/ico_note_attention.png \
../templates/images/ico_out.png \
../templates/images/arrow_bc.png \
../templates/images/home.png
# for Qt 5
HTML.extraimages = ../templates/images/qt-logo.png \
../templates/images/arrow_down.png \
../templates/images/breadcrumb.png \
../templates/images/bullet_gt.png \
../templates/images/bullet_dn.png \
../templates/images/bullet_sq.png \
../templates/images/bullet_up.png \
../templates/images/horBar.png \
../templates/images/sprites-combined.png \
../templates/images/qtcreator-screenshots.png \
../templates/images/bgrContent.png \
../templates/images/blu_dot.png \
../templates/images/btn_next.png \
../templates/images/btn_prev.png \
../templates/images/ico_note.png \
../templates/images/ico_note_attention.png \
../templates/images/ico_out.png \
../templates/images/arrow_bc.png \
../templates/images/home.png
# Include the style sheets and scripts used.
HTML.headerstyles = \
" <link rel=\"stylesheet\" type=\"text/css\" href=\"style/offline.css\" />\n"
HTML.headerscripts =
HTML.endheader = \
"</head>\n" \
"<body>\n"