VirtualBox

Changeset 86707 in vbox


Ignore:
Timestamp:
Oct 26, 2020 1:36:51 PM (4 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:9831. Several fixes in doc/Makefile etc.

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r86698 r86707  
    69336933
    69346934 ifdef VBOX_WITH_DOCS_QHELP
    6935    ifeq ($(KBUILD_TARGET), linux)
    6936      #VBOX_QT_PLUGINS += \
    6937       # plugins/sqldrivers/libqsqlite.so
    6938      VBOX_QT_MOD += Qt5Help Qt5Network Qt5CLucene Qt5Sql
    6939    endif # linux
     6935  ifeq ($(KBUILD_TARGET), linux)
     6936   VBOX_QT_PLUGINS += \
     6937    plugins/sqldrivers/libqsqlite.so
     6938   VBOX_QT_MOD += Qt5Help Qt5Network Qt5CLucene Qt5Sql
     6939  endif # linux
    69406940 endif
    69416941
  • trunk/doc/manual/Makefile.kmk

    r86677 r86707  
    8787endif
    8888
    89 
     89VBOX_QHCP_FILES = \
     90        UserManual.qhcp
     91
     92VBOX_QHELP_OUTPUT_FILES = \
     93        UserManual.qch \
     94        UserManual.qhc
    9095
    9196VBOXMANAGEHELP_PATH       ?= $(PATH_STAGE_BIN)/VBoxManageHelp$(SUFF_EXE)
     
    155160  VBOX_PATH_BIN_QHELP = $(PATH_STAGE_BIN)/UserManual.qch
    156161  VBOX_PATH_BIN_QHELP += $(PATH_STAGE_BIN)/UserManual.qhc
    157  else  # Do not build chm.
     162 else  # Do not install qhelp.
    158163  VBOX_PATH_BIN_QHELP =
    159164 endif
     
    208213        Accessibility.xml
    209214
    210  VBOX_QHCP_FILES = \
    211         UserManual.qhcp
    212215
    213216 # Wildcard the images path for every supported language
     
    842845html:: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/html-single/UserManual.html
    843846html:: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/html-chunks/index.html
    844 qhelp:: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/qhelp/UserManual.qhc
     847qhelp:: $(addprefix $(VBOX_PATH_MANUAL_OUTBASE)/en_US/qhelp/, $(VBOX_QHELP_OUTPUT_FILES))
    845848html-zip:: $(VBOX_PATH_MANUAL_OUTBASE)/en_US/UserManual.zip
    846849
     
    955958        qcollectiongenerator $<
    956959
     960$(VBOX_PATH_MANUAL_OUTBASE)/en_US/qhelp/UserManual.qch: \
     961        $(VBOX_PATH_MANUAL_OUTBASE)/en_US/qhelp/UserManual.qhc
     962
     963
    957964# Handy aliases.
    958965validate-manpages:: $(addprefix $(VBOX_PATH_MANUAL_OUTBASE)/en_US/,$(VBOX_MANUAL_XML_REFENTRY_FILES))
  • trunk/doc/manual/htmlhelp-qthelp.py

    r86680 r86707  
    221221    out_xml_lines = ['<?xml version="1.0" encoding="UTF-8"?>', \
    222222                     '<QtHelpProject version="1.0">' , \
    223                      '<namespace>org.qt-project.simpletextviewer</namespace>', \
     223                     '<namespace>org.virtualbox</namespace>', \
    224224                     '<virtualFolder>doc</virtualFolder>', \
    225225                     '<filterSection>']
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r86697 r86707  
    232232        $(if $(VBOX_GUI_WITH_CUSTOMIZATIONS1),VBOX_GUI_WITH_CUSTOMIZATIONS1) \
    233233        $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE) \
     234        $(if $(VBOX_WITH_DOCS_QHELP),VBOX_WITH_DOCS_QHELP) \
    234235        $(if $(VBOX_WITH_SDS),VBOX_WITH_SDS,)
    235236ifdef VBOX_WITH_DEBUGGER_GUI
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r86672 r86707  
    32003200void UIMessageCenter::sltShowUserManual(const QString &strLocation)
    32013201{
     3202    Q_UNUSED(strLocation);
    32023203#if defined (VBOX_WS_WIN)
    32033204    HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
    32043205#elif defined (VBOX_WS_X11)
    3205 # if !defined(VBOX_OSE) && defined(VBOX_WITH_KCHMVIEWER)
     3206 #if defined(VBOX_WITH_DOCS_QHELP)
     3207
    32063208    char szViewerPath[RTPATH_MAX];
    32073209    int rc;
     
    32093211    AssertRC(rc);
    32103212    QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation));
    3211 # else /* #if !defined(VBOX_OSE) && defined(VBOX_WITH_KCHMVIEWER) */
     3213
    32123214    /* instead of viewing the pdf manual show qtHelp one. This is soon to be default in all platforms. */
    32133215    showHelpBrowser(strLocation);
    3214 # endif /* #if defined(VBOX_OSE) || !defined(VBOX_WITH_KCHMVIEWER) */
     3216# endif /* #if defined(VBOX_WITH_DOCS_QHELP) */
    32153217#elif defined (VBOX_WS_MAC)
    32163218    uiCommon().openURL("file://" + strLocation);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette