From 853039e3f1f65016d66eb8c137ba8369cc6f83ec 2013-02-11 10:43:07 From: Miikka Heikkinen Date: 2013-02-11 10:43:07 Subject: [PATCH] Fixed docs building in mingw builds. Task-number: QTRD-1480 --- diff --git a/charts.pro b/charts.pro index 9f0ad9d..60f2dd8 100644 --- a/charts.pro +++ b/charts.pro @@ -23,9 +23,14 @@ CHARTS_VERSION_TAG = 121 win32: { QDOC_CONF = $$CHART_BUILD_DOC_DIR\\qcharts.qdocconf - VERSION_SETTINGS = \ - set QT_CHARTS_VERSION=$$CHARTS_VERSION $$escape_expand(\\n\\t) \ - set QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG $$escape_expand(\\n\\t) + win32-g++: { + VERSION_SETTINGS = \ + set QT_CHARTS_VERSION=$$CHARTS_VERSION&& set QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG&& + } else { + VERSION_SETTINGS = \ + set QT_CHARTS_VERSION=$$CHARTS_VERSION $$escape_expand(\\n\\t) \ + set QT_CHARTS_VERSION_TAG=$$CHARTS_VERSION_TAG $$escape_expand(\\n\\t) + } } else { QDOC_CONF = $$CHART_BUILD_DOC_DIR/qcharts.qdocconf VERSION_SETTINGS = \