LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   qt-4.8.6: assistant missing qt-api documentation (http://www.linuxquestions.org/questions/slackware-14/qt-4-8-6-assistant-missing-qt-api-documentation-4175504050/)

hj1967 05-06-2014 03:56 AM

qt-4.8.6: assistant missing qt-api documentation
 
I am using Slackware-current with the Qt 4.8.6.

when I start the QtAssistant (assitant) I only have documentation
of the assistant it self but not the Qt API.

Under preferences it is possible to add qch files but seems these are
not part of the slackware package.

Is this intended the Qt API documentation is not there or is the a bug?

hj1967 05-06-2014 04:11 AM

I found the answer in old forum topic. (I should have searched first)

http://www.linuxquestions.org/questi...os-4175486804/

Checked the slackware64-current/source/l/qt/qt.SlackBuild and see that qt is build with the -nodocs option.

wildwizard 05-06-2014 04:15 AM

I believe the problem you have is that the Slackware package is built with "-nomake docs"

Try making the package yourself but remove that line from the SlackBuild file

The sources are found in "source/l/qt" on any good mirror, you'll need the whole directory.

PS The build does take awhile without that option so plan on something else unless you love watching the writing fly by.

hj1967 05-06-2014 04:19 AM

Quote:

Originally Posted by wildwizard (Post 5165502)
I believe the problem you have is that the Slackware package is built with "-nomake docs"

Try making the package yourself but remove that line from the SlackBuild file

The sources are found in "source/l/qt" on any good mirror, you'll need the whole directory.

PS The build does take awhile without that option so plan on something else unless you love watching the writing fly by.

Yes I saw it. I know compiling Qt takes some time but I had some old Qt 4.8.4 qch files and use these for now.

gengisdave 05-06-2014 04:39 AM

i've made a 2nd slackbuild to create a doc-only package (which needs to be built only on version bump, not bugfixes)

Code:

export CFLAGS="$SLKCFLAGS"
export CXXFLAGS="$SLKCFLAGS"
export OPENSOURCE_CXXFLAGS="$SLKCFLAGS"
./configure -confirm-license -opensource -prefix /usr/lib64/qt -fast -system-libpng -system-libjpeg -system-zlib -system-sqlite -plugin-sql-sqlite -dbus -webkit -no-phonon -nomake examples -nomake demos -no-separate-debug-info -no-pch || exit 1
make install_htmldocs INSTALL_ROOT=$PKG || exit 1
make install_qchdocs INSTALL_ROOT=$PKG || exit 1
make install_docimages INSTALL_ROOT=$PKG || exit 1
make install_examplesmanifest INSTALL_ROOT=$PKG || exit 1
make install_demosmanifest INSTALL_ROOT=$PKG || exit 1

abobe and below it's as the same as main qt slackbuild


All times are GMT -5. The time now is 08:15 PM.