VirtualBox

Changeset 28593 in vbox


Ignore:
Timestamp:
Apr 22, 2010 1:20:10 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
60437
Message:

FE/Qt: use the pdf manual only on X11 hosts

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r28591 r28593  
    271271VBOX_WITH_DOCS_PACKING = 1
    272272# Include CHM when building docs (unset in LocalConfig.kmk to suppress CHM)
    273 VBOX_WITH_DOCS_CHM = 1
     273ifneq ($(KBUILD_TARGET),linux)
     274 VBOX_WITH_DOCS_CHM = 1
     275endif
    274276# Don't bother with documentation, overrides VBOX_WITH_DOCS.
    275277# This is not used by makefiles, only Config.kmk, see below.
     
    458460VBOX_WITH_MULTIVERSION_PYTHON ?= 1
    459461# Enable the kchmviewer.
    460 VBOX_WITH_KCHMVIEWER = 1
     462VBOX_WITH_KCHMVIEWER =
    461463# Build the testsuite.
    462464VBOX_WITH_TESTSUITE = 1
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp

    r28541 r28593  
    34063406    const QString suffix = "pdf";
    34073407#elif defined (Q_WS_X11)
    3408 # if defined VBOX_OSE
    34093408    const QString name = "UserManual";
    34103409    const QString suffix = "pdf";
    3411 # else
    3412     const QString name = "VirtualBox";
    3413     const QString suffix = "chm";
    3414 # endif
    34153410#endif
    34163411    /* Where are the docs located? */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp

    r27881 r28593  
    26092609#if defined (Q_WS_WIN32)
    26102610    HtmlHelp(GetDesktopWindow(), strLocation.utf16(), HH_DISPLAY_TOPIC, NULL);
    2611 #elif defined (Q_WS_X11)
    2612 # ifndef VBOX_OSE
    2613     char szViewerPath[RTPATH_MAX];
    2614     int rc;
    2615     rc = RTPathAppPrivateArch(szViewerPath, sizeof(szViewerPath));
    2616     AssertRC(rc);
    2617     QProcess::startDetached(QString(szViewerPath) + "/kchmviewer", QStringList(strLocation));
    2618 # else /* #ifndef VBOX_OSE */
    2619     vboxGlobal().openURL("file://" + strLocation);
    2620 # endif /* #ifdef VBOX_OSE */
    2621 #elif defined (Q_WS_MAC)
     2611#elif defined (Q_WS_X11) || defined (Q_WS_MAC)
    26222612    vboxGlobal().openURL("file://" + strLocation);
    26232613#endif
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