Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PyQt5 Exe file expire after 15days
Forum Updated to NodeBB v4.3 + New Features

PyQt5 Exe file expire after 15days

Scheduled Pinned Locked Moved Unsolved Qt for Python
5 Posts 2 Posters 668 Views 2 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.
  • P Offline
    P Offline
    praneshpk
    wrote on last edited by
    #1

    Hi,
    I have a PyQt5 application. I am ready to convert to exe file. But I wish to try that as a beta version. I need to give expiry period so that the user should not be able to use that application after 15 days. How can I try this in Pyqt5?

    JonBJ 1 Reply Last reply
    0
    • P praneshpk

      Hi,
      I have a PyQt5 application. I am ready to convert to exe file. But I wish to try that as a beta version. I need to give expiry period so that the user should not be able to use that application after 15 days. How can I try this in Pyqt5?

      JonBJ Online
      JonBJ Online
      JonB
      wrote on last edited by
      #2

      @praneshpk
      15 days after the day you make the executable, or 15 days after the user gets it and starts using it?

      1 Reply Last reply
      1
      • P Offline
        P Offline
        praneshpk
        wrote on last edited by
        #3

        No, the user needs it as EXE. I am giving him for demo purpose. If he is okay I have to give him full Version. So he has to use that exe for 15days. After that, the app should not work. Is that possible?

        JonBJ 1 Reply Last reply
        0
        • P praneshpk

          No, the user needs it as EXE. I am giving him for demo purpose. If he is okay I have to give him full Version. So he has to use that exe for 15days. After that, the app should not work. Is that possible?

          JonBJ Online
          JonBJ Online
          JonB
          wrote on last edited by
          #4

          @praneshpk
          So you want the 15 days to count from when he first installs your app. You have two choices.

          When he installs or first runs your app, you have to save something somewhere external --- i.e. on his disk --- which says when it will expire. The app checks for that each time it starts, and refuses when the 15 days have passed. But essentially you cannot prevent him from uninstalling, removing your "marker", reinstalling, and starting afresh for a new 15 days. You could try to "hide" it somewhere so he doesn't know where to remove it, e.g. down in the Registry under Windows, but it's not fool proof.

          Or you have do something completely external to him, i.e. you have a web site it connects to for the expiry date and you keep a "database" there which he cannot alter. Or he has to e.g. email you to get a "license code" to use, and you do not re-issue that to the same person.

          There is nothing special PyQt/Qt about this.

          1 Reply Last reply
          2
          • P Offline
            P Offline
            praneshpk
            wrote on last edited by
            #5

            Okay Thankyou Ill check this

            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