mirror of
https://github.com/QuasarApp/installer-framework.git
synced 2025-04-27 22:14:32 +00:00
Don't hard-code version in documentation
Change-Id: Ib96057aa5103a80cbaacc27fe2330d481da70399 Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>
This commit is contained in:
parent
dd32cc3b08
commit
930a088c78
@ -17,7 +17,7 @@ sources.fileextensions = "*.qdoc"
|
||||
|
||||
qhp.projects = InstallerFramework
|
||||
qhp.InstallerFramework.file = ifw.qhp
|
||||
qhp.InstallerFramework.namespace = org.qt-project.ifw.121
|
||||
qhp.InstallerFramework.namespace = org.qt-project.ifw.$IFW_VERSION_TAG
|
||||
qhp.InstallerFramework.virtualFolder = doc
|
||||
qhp.InstallerFramework.indexTitle = Qt Installer Framework Manual
|
||||
qhp.InstallerFramework.filterAttributes = ifw
|
||||
|
@ -39,3 +39,5 @@ macro.beginfloatright.HTML = "<div style=\"float: right; margin-left: 2em\">"
|
||||
macro.endfloat.HTML = "</div>"
|
||||
macro.clearfloat.HTML = "<br style=\"clear: both\" />"
|
||||
macro.emptyspan.HTML = "<span></span>"
|
||||
|
||||
macro.ifwversion = $IFW_VERSION
|
||||
|
@ -7,11 +7,13 @@ greaterThan(QT_MAJOR_VERSION, 4) {
|
||||
}
|
||||
win32:QDOC_BIN = $$replace(QDOC_BIN, "/", "\\")
|
||||
|
||||
IFW_VERSION_TAG = $$replace(IFW_VERSION, "[-.]", )
|
||||
|
||||
unix {
|
||||
QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html $$QDOC_BIN
|
||||
QDOC = SRCDIR=$$PWD OUTDIR=$$OUT_PWD/doc/html IFW_VERSION=$$IFW_VERSION IFW_VERSION_TAG=$$IFW_VERSION_TAG $$QDOC_BIN
|
||||
HELPGENERATOR = $$[QT_INSTALL_BINS]/qhelpgenerator
|
||||
} else {
|
||||
QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& $$QDOC_BIN
|
||||
QDOC = set SRCDIR=$$PWD&& set OUTDIR=$$OUT_PWD/doc/html&& set IFW_VERSION=$$IFW_VERSION&& setIFW_VERSION_TAG=$$IFW_VERSION_TAG&& $$QDOC_BIN
|
||||
# Always run qhelpgenerator inside its own cmd; this is a workaround for
|
||||
# an unusual bug which causes qhelpgenerator.exe to do nothing
|
||||
HELPGENERATOR = cmd /C $$replace($$list($$[QT_INSTALL_BINS]/qhelpgenerator.exe), "/", "\\")
|
||||
|
@ -38,7 +38,7 @@
|
||||
|
||||
\title Qt Installer Framework Manual
|
||||
|
||||
\section1 Version 1.2.1
|
||||
\section1 Version \ifwversion
|
||||
|
||||
The Qt Installer Framework provides a set of tools and utilities to
|
||||
create installers for the supported desktop Qt platforms: Linux, Microsoft
|
||||
|
@ -2,6 +2,9 @@
|
||||
error("installerfw.pri already included")
|
||||
}
|
||||
IFW_PRI_INCLUDED = 1
|
||||
|
||||
IFW_VERSION = 1.2.81
|
||||
|
||||
IFW_NEWLINE = $$escape_expand(\\n\\t)
|
||||
|
||||
defineReplace(toNativeSeparators) {
|
||||
|
@ -2,4 +2,5 @@ CONFIG += ordered
|
||||
TEMPLATE = subdirs
|
||||
SUBDIRS += src examples tests tools
|
||||
|
||||
include (installerfw.pri)
|
||||
include (doc/doc.pri)
|
||||
|
Loading…
x
Reference in New Issue
Block a user