[Development] Qt5-beta2 qdoc.exe perhaps bug with QT_INSTALL_DOCS
Denis Shienkov
scapig2 at yandex.ru
Tue Nov 20 16:17:24 CET 2012
Hello Qt developers.
When trying to build documentation for custom addon with qdoc for qt5-beta2 on Windows:
$nmake docs
I get the following error:
g:\Qt\Qt5.0.0beta2\5.0.0-beta2\msvc2010\bin\qdoc.exe
-outputdir G:/git/ng/qtserialport-build-Desktop_Qt_5_0_0_beta2_MSVC2010_32bit_SDK-Release/doc/qtserialport
-installdir g:\Qt\Qt5.0.0beta2\5.0.0-beta2\msvc2010\doc G:/git/ng/qtserialport/src/serialport/doc/serialport.qdocconf
G:/git/ng/qtserialport/src/serialport/doc/serialport.qdocconf:1: error:
Cannot open file 'Q:/qt5_workdir/w/s/qtbase/doc/global/qt-html-templates-offline.qdocconf': No such file or directory
Cannot open file 'Q:/qt5_workdir/w/s/qtbase/doc/global/qt-html-templates-offline.qdocconf': No such file or directory
My file 'serialport.qdocconf' contain lines:
include($QT_INSTALL_DOCS/global/qt-html-templates-offline.qdocconf)
include($QT_INSTALL_DOCS/global/qt-module-defaults.qdocconf)
But from the build log shows that:
QT_INSTALL_DOCS = Q:/qt5_workdir/w/s/qtbase/doc (INCORRECT!!!)
Although the profile of the Qt5 from QtCreator shows:
QT_INSTALL_DOCS = g:\Qt\Qt5.0.0beta2\5.0.0-beta2\msvc2010\doc (CORRECT!!!)
I tried from the console cmd.exe before building documentation to force set path:
set QT_INSTALL_DOCS=g:\Qt\Qt5.0.0beta2\5.0.0-beta2\msvc2010\doc
but result is negative, same.
Please tell me how to solve the problem?
Best regards,
Denis
More information about the Development
mailing list