Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    [Solved] Weird Qt Trojan Error

    General and Desktop
    3
    4
    3091
    Loading More Posts
    • 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.
    • G
      goocreations last edited by

      Something interesting for today:

      I've created my own program with a couple of classes. One of the classes (Logger) has a single static function(debug) which has a single cout statement to print out the QString parameter.
      One of my classes has a destructor that looks as follows:

      @Position::~Position(){
      Logger::debug("hello");
      delete list;
      }@

      As said before, Logger::debug("hello") just has a single cout statement. list is QList with a bunch of QPoints.

      When I compile and run the program, my BitDefender gives me a virus warning ("Trojan.Peed.IWW") and deletes the freshly compiled exe file. If I remove either one of the lines in the destructor above, everything works fine.

      Is this a Qt bug, or is BitDefender's virus signature detection a little bit of?

      1 Reply Last reply Reply Quote 0
      • T
        tony last edited by

        Well, of course I guess it's a false positive.

        I think you can add some dummy instructions (instead of removing) for the moment, in order to trick BitDefender. When you'll write some code more, maybe the problem will go away by itself :)

        Tony.

        1 Reply Last reply Reply Quote 0
        • A
          alexander last edited by

          It's fun:)

          1 Reply Last reply Reply Quote 0
          • G
            goocreations last edited by

            I've replaced Logger::debug("hello"); in the destructor with a simple cout statement, and now everything is fine.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post