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

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

      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().

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

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

              Created:
              Updated:

                There are no open Gerrit changes