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. [Solved] Weird Qt Trojan Error
QtWS25 Last Chance

[Solved] Weird Qt Trojan Error

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 3.3k 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.
  • G Offline
    G Offline
    goocreations
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tony
      wrote on last edited by
      #2

      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
      0
      • A Offline
        A Offline
        alexander
        wrote on last edited by
        #3

        It's fun:)

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goocreations
          wrote on last edited by
          #4

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

          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