Results 1 to 4 of 4

Thread: How to _only_ install docs in Linux?

  1. #1
    Join Date
    Apr 2008
    Location
    China
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default How to _only_ install docs in Linux?

    My distro(Slackware) use the qt-copy which has no docs shipped with. So I want to _only_ install the docs to my box so the assistant can work well. I tried "make docs" but I see it will make some thing I do not need and use up nearly 2GB of disk. So, what is the "clever" way to do this kind of job? Thanks in advance.

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to _only_ install docs in Linux?

    Are you quite sure Slackware doe not provide a qt-docs or qt-devel package?

    Now if you are using Qt >= 4.4, which is quite likely if it is KDE4's qt-copy, the only docs you need are the .qch and .qhc files used by the QtHelp module since Qt 4.4

    If these are not present on your system and you don't want to build them yourself (which is what make docs does AFAIK but it also generates intermediate files in the process which make take quite some space) you can always download a package that comes with them already built (e.g the qt-win-... on ftp.trolltech.com). This is propably a bit of an overkill to just get the help files but I don't think they are available individually (you could still ask someone to pack them and upload them somewhere for you though).
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Apr 2008
    Location
    China
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to _only_ install docs in Linux?

    Thanks for your quick reply. After some research and hacking, I found the "easiest" way so far is build the qdoc3 and use qdoc3 to convert some qdocconf to qhp and then use qhelpgenerator to generate qch and then install them. Am I right?

  4. #4
    Join Date
    Apr 2008
    Location
    China
    Posts
    10
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to _only_ install docs in Linux?

    I also find that there are already qch files in the source tarball. But what is the difference between the file come with source and a user generated one?

Similar Threads

  1. Replies: 4
    Last Post: 1st April 2009, 16:28
  2. Replies: 3
    Last Post: 13th December 2008, 10:33
  3. How to install Qt/Qtopia on embeded linux?
    By atil in forum Qt for Embedded and Mobile
    Replies: 7
    Last Post: 13th December 2007, 22:03
  4. Error install at linux red hat
    By Colx007 in forum Installation and Deployment
    Replies: 2
    Last Post: 8th October 2007, 16:47
  5. Cannot Install KDEdevel packages on linux
    By wirajr in forum KDE Forum
    Replies: 12
    Last Post: 5th February 2006, 21:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.