On 02/16/2011 06:01 PM, Serghei Amelian wrote:
On Thursday 17 February 2011 01:55:00 David C. Rankin
wrote:
[...]
/home/david/tbld/kdevelop/parts/documentation/plugins/qt/docqtplugin.cpp:
In member function ‘virtual void DocQtPlugin::autoSetupPlugin()’:
/home/david/tbld/kdevelop/parts/documentation/plugins/qt/docqtplugin.cpp:14
0:23: error: ‘QT_DOCDIR’ was not declared in this scope
[...]
This must be fixed in cmake. For now you can pass QT_DOCDIR argument to cmake:
-DQT_DOCDIR="/path/to/qtdocs"
Ah hah! I knew there was a better way:
I hacked docqtplugin.cpp to get it to build -- but I know that isn't the right
place to solve the problem.
void DocQtPlugin::autoSetupPlugin()
{
char* QT_DOCDIR="/opt/qt/man";
TQString qtDocDir(QT_DOCDIR);
Thank you Serghei! I'll revert my hack and pass the proper variable :)
--
David C. Rankin, J.D.,P.E.