Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-83268

Reverse the default state for readonly property for help engine

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: 6.0
    • Component/s: Tools: Assistant
    • Labels:
      None

      Description

      The workaround introduced for helpEngine gives it write access to qhc file by default. This breaks existing installations in readonly locations. By reversing this default value to true it should prevent issues for this case.

      Currently it's needed to add the following line:

      helpEngineInstance->setProperty("_q_readonly", QVariant::fromValue<bool>(true));

      to keep the help engine work properly in readonly location.

      In addition we need to provide a public API for setting this value explicitly.

      Not sure if it's not too late for 5.15.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              jkobus Jarek Kobus
              Reporter:
              jkobus Jarek Kobus
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes