Uploaded image for project: 'Qt Solutions'
  1. Qt Solutions
  2. QTSOLBUG-34

Suggestion for Qt Solutions - QtService, make it possible to call setServiceDescription() after service is installed

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • Not Scheduled
    • No Version
    • Service
    • None

    Description

      The method QtServiceBase::setServiceDescription() works only, before the
      service is installed. If I call this method after the service is
      installed, it has no effect.
      Thereby the following problem occurs: The QApplication object is created
      after installing the service, during starting it. The QApplication
      object is needed to get translations, so I cannot use the QObject::tr()
      function to get a translated text to pass through setServiceDescription().

      Recommended behavior:
      The method QtServiceBase::setServiceDescription() should work at every
      time, even if the service is already installed and running. Under
      Windows, this behavior can be easily implemented by calling the method
      pChangeServiceConfig2() after each call of setServiceDescription().

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes