Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qtservice for Qt6
Qt 6.11 is out! See what's new in the release blog

qtservice for Qt6

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote on last edited by
    #1

    Hi, is qtservice (https://github.com/qtproject/qt-solutions) available for Qt6? If not which is the right way to create a Windows service using Qt?

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    0
    • JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      See also https://forum.qt.io/topic/148028/qt-application-like-daemon-how.
      I see no evidence that it, or anything else, has been updated/written for Qt6.
      If it works for Qt5, did you try having a look at it with a view to updating for Qt6? If you're lucky it will work or not be much to do.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        devnull21
        wrote on last edited by devnull21
        #3

        Hi, any update on this? Updating from Qt5 to Qt6 did show errors because of deprecated APIs. Even I want to know what the right way is! (for now I am trying to manually update qtservice files based on the errors, but I am not sure how right that is)

        1 Reply Last reply
        0
        • mrdebugM Offline
          mrdebugM Offline
          mrdebug
          wrote on last edited by mrdebug
          #4

          I think it is necessary to port the Qt5 service library to Qt6.
          I haven't did it because the qt6 already built framework can't run on Windows 2016 machines and I have a lot of them. Qt6 requires Windows 10. So, up to now, I'm using Qt5.

          Need programmers to hire?
          www.labcsp.com
          www.denisgottardello.it
          GMT+1
          Skype: mrdebug

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote on last edited by
            #5

            Here you are, a Qt5 and Qt6 example on how to create Windows services and Linux daemons.
            https://github.com/denisgottardello/QtService

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved