Changeset 28593 in vbox
- Timestamp:
- Apr 22, 2010 1:20:10 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 60437
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r28591 r28593 271 271 VBOX_WITH_DOCS_PACKING = 1 272 272 # Include CHM when building docs (unset in LocalConfig.kmk to suppress CHM) 273 VBOX_WITH_DOCS_CHM = 1 273 ifneq ($(KBUILD_TARGET),linux) 274 VBOX_WITH_DOCS_CHM = 1 275 endif 274 276 # Don't bother with documentation, overrides VBOX_WITH_DOCS. 275 277 # This is not used by makefiles, only Config.kmk, see below. … … 458 460 VBOX_WITH_MULTIVERSION_PYTHON ?= 1 459 461 # Enable the kchmviewer. 460 VBOX_WITH_KCHMVIEWER = 1462 VBOX_WITH_KCHMVIEWER = 461 463 # Build the testsuite. 462 464 VBOX_WITH_TESTSUITE = 1 -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxGlobal.cpp
r28541 r28593 3406 3406 const QString suffix = "pdf"; 3407 3407 #elif defined (Q_WS_X11) 3408 # if defined VBOX_OSE3409 3408 const QString name = "UserManual"; 3410 3409 const QString suffix = "pdf"; 3411 # else3412 const QString name = "VirtualBox";3413 const QString suffix = "chm";3414 # endif3415 3410 #endif 3416 3411 /* Where are the docs located? */ -
trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxProblemReporter.cpp
r27881 r28593 2609 2609 #if defined (Q_WS_WIN32) 2610 2610 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) 2622 2612 vboxGlobal().openURL("file://" + strLocation); 2623 2613 #endif
Note:
See TracChangeset
for help on using the changeset viewer.