[Qt-creator] [qt-creator] QtCreator Makefile looking for /tools/qdoc3/qdoc3
Robert Hairgrove
evorgriahr at hispeed.com
Sat Mar 7 19:55:19 CET 2009
Robert Hairgrove wrote:
> (Sorry if this subject has already been covered here, but I couldn't
> find any references to it.)
>
> I built Qt-4.5.0 from source on Linux Ubuntu 8.04 (Hardy Heron) and am
> now trying to build QtCreator from source here. Since this folder (as
> stated in the subject line) is not likely to be around in any Linux
> environment, is there an easy fix by editing one of the .pro (or .pri)
> files? I noticed that this directory does indeed exist in my Qt-4.5.0
> tree...
>
> Thanks for giving us this great IDE, the beta of which I have been
> playing with for awhile now ... looking forward to getting this to work!
Well, it was pretty easy ... all I had to do after running "qmake" and
GNU "make" was to edit the Makefile and add the missing prefixes to
these places, then run "sudo make install":
(1) Replace "/tools/qdoc3/qdoc3" in 1 place with
"($MY_QTDIR)/tools/qdoc3/qdoc3";
(2) Replace "/bin/qhelpgenerator" in 2 places with
"($MY_QTDIR)/bin/qhelpgenerator" OR
"/usr/local/Trolltech/bin/qhelpgenerator" (if that is where you
installed all the Qt libraries).
whereas ($MY_QTDIR) should be the path where you installed the Qt
sources BEFORE compiling and installing them (i.e.,
"~/Qt/qt-x11-opensource-4.5.0" on my machine). qdoc3 is not installed in
"/usr/local/Trolltech/..." anywhere (although "qhelpgenerator" is
located in the "/usr/local/Trolltech/bin" directory).
HTH
More information about the Qt-creator-old
mailing list