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

Reverse the default state for readonly property for help engine

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 6.0
    • 5.15
    • Tools: Assistant
    • None

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes