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. Avoiding Anti-Virus verifications (Windows)
QtWS25 Last Chance

Avoiding Anti-Virus verifications (Windows)

Scheduled Pinned Locked Moved Unsolved General and Desktop
8 Posts 5 Posters 1.8k Views
  • 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.
  • C Offline
    C Offline
    cidadao
    wrote on last edited by
    #1

    Hello,

    I'm currently developing a software based on Qt (for Windows) but whenever I'm executing it the Anti-Virus (Avast) wants to verify the executable. This is extremely anoying. I understand this is not exactly a Qt question and that I can add an exception to my AV but I was wondering if any of you have the same issue and which solutions did you come up with.

    Actually, my main struggle is not exactly during the development phase but after releasing it to my users. Whenever they run the software and after I release an update, the AV will ask again to verify the executable.

    For the production executable, two solutions came up to mind, but haven't tested them yet:

    1. Code Signing Certificate
    2. Create an install wizard

    Will any of these help on "safely bypass" the AV?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      yes i had same issue also. I ended up adding my build folder location
      to exceptions as it drove me mad.

      I cant tell what will work at the users though but so far using an installer seems to work ok.
      But not something i actually tested that it always works.

      C 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        yes i had same issue also. I ended up adding my build folder location
        to exceptions as it drove me mad.

        I cant tell what will work at the users though but so far using an installer seems to work ok.
        But not something i actually tested that it always works.

        C Offline
        C Offline
        cidadao
        wrote on last edited by
        #3

        @mrjj thanks! regarding the installer, can you recommend one? Will the Qt-Installer-Framework do?

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

          I don't get it. I have always used Avast (free edition) on Home PC. Admittedly I don't do any Qt there, but it has never, ever "ask again to verify the executable" for any executable?

          JKSHJ 1 Reply Last reply
          0
          • JonBJ JonB

            I don't get it. I have always used Avast (free edition) on Home PC. Admittedly I don't do any Qt there, but it has never, ever "ask again to verify the executable" for any executable?

            JKSHJ Offline
            JKSHJ Offline
            JKSH
            Moderators
            wrote on last edited by
            #5

            @JonB said in Avoiding Anti-Virus verifications (Windows):

            I don't get it. I have always used Avast (free edition) on Home PC. Admittedly I don't do any Qt there, but it has never, ever "ask again to verify the executable" for any executable?

            I believe @cidadao means Avast takes a long time to scan his custom-built executables each time he recompiles his code. I experienced this too.

            I do all my coding in a "Projects" folder, and I added this entire folder to my Exclusions list.

            Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

            1 Reply Last reply
            1
            • C cidadao

              @mrjj thanks! regarding the installer, can you recommend one? Will the Qt-Installer-Framework do?

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by
              #6

              @cidadao
              Hi
              The Qt-Installer-Framework is very powerful and stable but
              also have a learning curve. (IMHO)

              If it is just to test if your app will be installed without any scanner warnings then
              i imagining using something like http://www.installsimple.com/ ( the portable version) to
              create a test in installer in less than a minute.

              1 Reply Last reply
              0
              • J.HilkJ Offline
                J.HilkJ Offline
                J.Hilk
                Moderators
                wrote on last edited by
                #7

                Chances are the Qt-Installerframework will not fix the issue.

                I for once, have no problem with *.exes I create via compiler have no issues with my Anti-Virus software, but as soon as I test-ship it with the Installerframework, the exe & the maintenancetool are moved in quarantine.


                Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                Q: What's that?
                A: It's blue light.
                Q: What does it do?
                A: It turns blue.

                JonBJ 1 Reply Last reply
                1
                • J.HilkJ J.Hilk

                  Chances are the Qt-Installerframework will not fix the issue.

                  I for once, have no problem with *.exes I create via compiler have no issues with my Anti-Virus software, but as soon as I test-ship it with the Installerframework, the exe & the maintenancetool are moved in quarantine.

                  JonBJ Offline
                  JonBJ Offline
                  JonB
                  wrote on last edited by
                  #8

                  @J.Hilk
                  Don't know which AV you use, but then it sounds like whatever binary is in the "Installerframework" is causing a "false-positive" for virus, doesn't it?

                  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