Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windows Service
Qt 6.12 LTS is out! See what's new in the release blog

Windows Service

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 2.2k 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Dear sir,

    How to create the windows service project using Qt (like in C#) ?

    Thanks & Regards
    Bagavathikumar

    1 Reply Last reply
    0
    • raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      since this is not a supported target and thus also there is no bootstrapping done for you by Qt you would need to setup the basic harness yourself.
      I've never done that but i would expect that in the code you can do whatever you want (integrating Qt like you would do in any other application).

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sergey I.
        wrote on last edited by
        #3

        https://qt.gitorious.org/qt-solutions/qt-solutions/source/38e79e3f04d6fd5a3df585a60b2aec95e8e68368:qtservice/README.TXT

        1 Reply Last reply
        0
        • raven-worxR Offline
          raven-worxR Offline
          raven-worx
          Moderators
          wrote on last edited by
          #4

          wow... didn't know this is contained in QtSolutions module. sry for the false information then!

          --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
          If you have a question please use the forum so others can benefit from the solution in the future

          1 Reply Last reply
          0
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Thank you very much Mr. Sergey, But I don't know how to debug the Service project or where can i see the debugging messages? (I am using Qt 5.2 MinGW community edition in Windows 7).

            Thanks & Regards
            Bagavathikumar

            1 Reply Last reply
            0
            • S Offline
              S Offline
              Sergey I.
              wrote on last edited by
              #6

              you can try to use windows system logger or just start your service app from administrator and look the output in console (not quite the same but probably good for testing)

              probably this could be helpful http://qt-project.org/forums/viewthread/16477

              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
              • Unsolved