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. Fatal error in Qt 6.7
Forum Updated to NodeBB v4.3 + New Features

Fatal error in Qt 6.7

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 4 Posters 665 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.
  • lincolnL Offline
    lincolnL Offline
    lincoln
    wrote on last edited by lincoln
    #1

    Hello guys, I have the following problem, I have installed the new Qt 6.7, and what happens is that when I show system information using:

    QOperatingSystemVersion::current();
    

    or I want to do this:

    setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]");
    

    For example, I get a warning in Windows Defender that there is a Trojan, I don't know if it is an error in my system or something in Qt itself, but it happens after removing some of those lines, the program runs without problems, I leave some screenshots, I appreciate any suggestions.

    0775890e-395c-450a-a25d-324308c8444d-image.png

    20473002-20f9-4a82-8d24-9b90e09f867a-image.png

    d50a814f-ea45-4d39-aec3-d0dddec59ecf-image.png

    The funny thing is that when I use another version of Qt no warning is shown.

    Hello guys, I have the following problem, I have installed the new Qt 6.7, and what happens is that when I show system information using:
    QOperatingSystemVersion::current();
    or I want to do this:
    setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]");
    For example, I get a warning in Windows Defender that there is a Trojan, I don't know if it is an error in my system or something in Qt itself, but it happens after removing some of those lines, the program runs without problems , I leave some screenshots, I appreciate any suggestions.

    The funny thing is that when I use another version of Qt no warning is shown.

    Fatal error in Qt 6.7

    I have the clang compiler and Qt 6.7 installed

    Solitary wolf

    jsulmJ C 2 Replies Last reply
    0
    • lincolnL lincoln

      Hello guys, I have the following problem, I have installed the new Qt 6.7, and what happens is that when I show system information using:

      QOperatingSystemVersion::current();
      

      or I want to do this:

      setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]");
      

      For example, I get a warning in Windows Defender that there is a Trojan, I don't know if it is an error in my system or something in Qt itself, but it happens after removing some of those lines, the program runs without problems, I leave some screenshots, I appreciate any suggestions.

      0775890e-395c-450a-a25d-324308c8444d-image.png

      20473002-20f9-4a82-8d24-9b90e09f867a-image.png

      d50a814f-ea45-4d39-aec3-d0dddec59ecf-image.png

      The funny thing is that when I use another version of Qt no warning is shown.

      Hello guys, I have the following problem, I have installed the new Qt 6.7, and what happens is that when I show system information using:
      QOperatingSystemVersion::current();
      or I want to do this:
      setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]");
      For example, I get a warning in Windows Defender that there is a Trojan, I don't know if it is an error in my system or something in Qt itself, but it happens after removing some of those lines, the program runs without problems , I leave some screenshots, I appreciate any suggestions.

      The funny thing is that when I use another version of Qt no warning is shown.

      Fatal error in Qt 6.7

      I have the clang compiler and Qt 6.7 installed

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @lincoln said in Fatal error in Qt 6.7:

      I have installed the new Qt 6.7

      How exactly?
      It is most probably a false positive from Windows Defender.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • lincolnL lincoln

        Hello guys, I have the following problem, I have installed the new Qt 6.7, and what happens is that when I show system information using:

        QOperatingSystemVersion::current();
        

        or I want to do this:

        setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]");
        

        For example, I get a warning in Windows Defender that there is a Trojan, I don't know if it is an error in my system or something in Qt itself, but it happens after removing some of those lines, the program runs without problems, I leave some screenshots, I appreciate any suggestions.

        0775890e-395c-450a-a25d-324308c8444d-image.png

        20473002-20f9-4a82-8d24-9b90e09f867a-image.png

        d50a814f-ea45-4d39-aec3-d0dddec59ecf-image.png

        The funny thing is that when I use another version of Qt no warning is shown.

        Hello guys, I have the following problem, I have installed the new Qt 6.7, and what happens is that when I show system information using:
        QOperatingSystemVersion::current();
        or I want to do this:
        setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]");
        For example, I get a warning in Windows Defender that there is a Trojan, I don't know if it is an error in my system or something in Qt itself, but it happens after removing some of those lines, the program runs without problems , I leave some screenshots, I appreciate any suggestions.

        The funny thing is that when I use another version of Qt no warning is shown.

        Fatal error in Qt 6.7

        I have the clang compiler and Qt 6.7 installed

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

        You could upload your executable (if Windows Defender will allow you) to one of the online virus meta-scanners, like https://www.virustotal.com, to convince yourself this is a Defender false-positive (some very artificial AI). Then you could "Amenazas permitidas."

        lincolnL 1 Reply Last reply
        0
        • C ChrisW67

          You could upload your executable (if Windows Defender will allow you) to one of the online virus meta-scanners, like https://www.virustotal.com, to convince yourself this is a Defender false-positive (some very artificial AI). Then you could "Amenazas permitidas."

          lincolnL Offline
          lincolnL Offline
          lincoln
          wrote on last edited by
          #4

          @ChrisW67
          The problem is that it does not create the executable when I get that warning and that way I cannot pass it through the online tool.

          626c9b35-3996-4d67-9999-f0fbc931e115-image.png

          Solitary wolf

          JonBJ 1 Reply Last reply
          0
          • lincolnL lincoln

            @ChrisW67
            The problem is that it does not create the executable when I get that warning and that way I cannot pass it through the online tool.

            626c9b35-3996-4d67-9999-f0fbc931e115-image.png

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

            @lincoln
            The executable may have been created but Windows does not want to run it, or maybe Defender moves the executable to some quarantine directory.

            Rebuild from scratch and/or temporarily disable Defender (assuming you know what you are doing). See if the compile/link creates D:\QtProjects\ejemplo_1-debug\ejemplo_1.exe (before you try to run it) and hand it to @ChrisW67's link.

            lincolnL 1 Reply Last reply
            0
            • JonBJ JonB

              @lincoln
              The executable may have been created but Windows does not want to run it, or maybe Defender moves the executable to some quarantine directory.

              Rebuild from scratch and/or temporarily disable Defender (assuming you know what you are doing). See if the compile/link creates D:\QtProjects\ejemplo_1-debug\ejemplo_1.exe (before you try to run it) and hand it to @ChrisW67's link.

              lincolnL Offline
              lincolnL Offline
              lincoln
              wrote on last edited by
              #6

              @JonB

              Indeed, when I deactivate Windows Defender, the executable is created, but I am still intrigued by why this happens. In the message that Defender shows me, it indicates that I have been infected with a Trojan, but it is curious that when I use, for example, something like this:

              QOperatingSystemVersion::current();
              

              The error is shown and when I remove it it runs normally, even when defender is activated. What I will do is format my disk and reinstall Windows again.

              Solitary wolf

              JonBJ 1 Reply Last reply
              0
              • lincolnL lincoln

                @JonB

                Indeed, when I deactivate Windows Defender, the executable is created, but I am still intrigued by why this happens. In the message that Defender shows me, it indicates that I have been infected with a Trojan, but it is curious that when I use, for example, something like this:

                QOperatingSystemVersion::current();
                

                The error is shown and when I remove it it runs normally, even when defender is activated. What I will do is format my disk and reinstall Windows again.

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

                @lincoln said in Fatal error in Qt 6.7:

                What I will do is format my disk and reinstall Windows again.

                Blimey!

                From what little I know, virus scanners are often looking for "signature patterns" in executables. It might have nothing to do with the call in the code, might just be the binary pattern bits that code happens to produce.

                lincolnL 1 Reply Last reply
                0
                • JonBJ JonB

                  @lincoln said in Fatal error in Qt 6.7:

                  What I will do is format my disk and reinstall Windows again.

                  Blimey!

                  From what little I know, virus scanners are often looking for "signature patterns" in executables. It might have nothing to do with the call in the code, might just be the binary pattern bits that code happens to produce.

                  lincolnL Offline
                  lincolnL Offline
                  lincoln
                  wrote on last edited by
                  #8

                  @JonB
                  I already tried several things, as @ChrisW67's mentioned, I ran the executable through virustotal, and it actually showed me that it was infected with a Trojan called wacatac, so I think that's why, that's why I'm going to format the disk and reinstall the operating system, no. There is another one, I don't know what else to try.

                  Solitary wolf

                  JonBJ 1 Reply Last reply
                  0
                  • lincolnL lincoln

                    @JonB
                    I already tried several things, as @ChrisW67's mentioned, I ran the executable through virustotal, and it actually showed me that it was infected with a Trojan called wacatac, so I think that's why, that's why I'm going to format the disk and reinstall the operating system, no. There is another one, I don't know what else to try.

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

                    @lincoln said in Fatal error in Qt 6.7:

                    and it actually showed me that it was infected with a Trojan called wacatac,

                    OK, fair enough. This is an executable you have built on your PC with Qt? And depends on whether you have QOperatingSystemVersion::current(); or setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]"); in it? Very odd. Good luck reinstalling Windows.

                    lincolnL 1 Reply Last reply
                    0
                    • JonBJ JonB

                      @lincoln said in Fatal error in Qt 6.7:

                      and it actually showed me that it was infected with a Trojan called wacatac,

                      OK, fair enough. This is an executable you have built on your PC with Qt? And depends on whether you have QOperatingSystemVersion::current(); or setWindowTitle(qApp->applicationName()+" - "+fileInfo.fileName()+"[*]"); in it? Very odd. Good luck reinstalling Windows.

                      lincolnL Offline
                      lincolnL Offline
                      lincoln
                      wrote on last edited by
                      #10

                      @JonB
                      Thanks!

                      Solitary wolf

                      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