Building QtMobility docs
I’ve pulled the master branch of QtMobility and I’m looking for a way to build the documentation in ./qt-mobility/doc. I’m on Ubuntu 9.04 and have just built Qt 4.7.0 beta2. Are the QtMobility docs supposed to be built by default if I do a regular ./configure and make && make install? Due to compile errors I had to do a “./configure -modules multimedia” so I suppose I could have lost the docs in that process. If I go into the doc folder and try “qmake && make” it doesn’t build any docs however, it just prints:
- cd src/snippets/ && make -f Makefile
- make[1]: Entering directory `/home/ubuntu/dev/qt-mobility-git/qt-mobility/doc/src/snippets'
- make[1]: Nothing to be done for `first'.
- make[1]: Leaving directory `/home/ubuntu/dev/qt-mobility-git/qt-mobility/doc/src/snippets'
6 replies
This is the output I get from ‘make docs’:
- ~/dev/qt-mobility-git/qt-mobility$ make docs
- /usr/local/Trolltech/Qt-4.7.0/bin/qdoc3 /home/ubuntu/dev/qt-mobility-git/qt-mobility/doc/src/qtmobility.qdocconf
- In file included from /home/ubuntu/dev/qt-mobility-git/qt-mobility/doc/src/qtmobility.qdocconf:5:
- /home/ubuntu/dev/qt-mobility-git/qt-mobility/doc/src/qt-defines.qdocconf:44: error: Environment variable 'QT_MOBILITY_SOURCE_TREE' undefined
- Environment variable 'QT_MOBILITY_SOURCE_TREE' undefined
- Aborting
- make: *** [qch_docs] Error 1
When I run ‘qdoc3 doc/src/qtmobility.qdocconf’ I get a similar output:
- ~/dev/qt-mobility-git/qt-mobility$qdoc3 doc/src/qtmobility.qdocconf
- In file included from doc/src/qtmobility.qdocconf:5:
- doc/src/qt-defines.qdocconf:44: error: Environment variable 'QT_MOBILITY_SOURCE_TREE' undefined
- Environment variable 'QT_MOBILITY_SOURCE_TREE' undefined
- Aborting
They’re all good places to ask – although for IRC I think the regular qt IRC channel (#qt at irc.freenode.net) is the place to go. Personally I’d like to see this forum become the place were questions are asked so that people can come to a central place to ask questions and/or see if the question has been asked or answered previously.
You must log in to post a reply. Not a member yet? Register here!




