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

Reverse the default state for readonly property for help engine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 6.0
    • 5.15
    • Tools: Assistant
    • 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

          For Gerrit Dashboard: QTBUG-83268
          # Subject Branch Project Status CR V

          Activity

            People

              jkobus Jarek Kobus
              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