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. QT source code build keep fail in randomly with no error
Forum Updated to NodeBB v4.3 + New Features

QT source code build keep fail in randomly with no error

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 318 Views 1 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.
  • L Offline
    L Offline
    Lior
    wrote on last edited by
    #1

    Hi,
    I'm trying to build QT 6.6.1 source code using MSVC 2019 and MSVC 2022 (x86 and x64).

    The compilation process is failing in random places with no actual error; the text is "FAILED:..."

    I tried to remove the parallel command.

    Im using the visual studio 64-bit cmd ,
    If I keep repeating the cmake command, the build is done "successfully" with no errors.

    Axel SpoerlA 1 Reply Last reply
    0
    • L Lior

      Hi,
      I'm trying to build QT 6.6.1 source code using MSVC 2019 and MSVC 2022 (x86 and x64).

      The compilation process is failing in random places with no actual error; the text is "FAILED:..."

      I tried to remove the parallel command.

      Im using the visual studio 64-bit cmd ,
      If I keep repeating the cmake command, the build is done "successfully" with no errors.

      Axel SpoerlA Offline
      Axel SpoerlA Offline
      Axel Spoerl
      Moderators
      wrote on last edited by
      #2

      @Lior
      Random build failures on Windows occur, when the virus scanner steps on the compiler's toes inspecting new binaries during compilation. That kills the compiler or the linker. Just restarting the compilation usually works. Not sure though, if that's what you're experiencing. Any output to share?

      Software Engineer
      The Qt Company, Oslo

      L 1 Reply Last reply
      2
      • Axel SpoerlA Axel Spoerl

        @Lior
        Random build failures on Windows occur, when the virus scanner steps on the compiler's toes inspecting new binaries during compilation. That kills the compiler or the linker. Just restarting the compilation usually works. Not sure though, if that's what you're experiencing. Any output to share?

        L Offline
        L Offline
        Lior
        wrote on last edited by
        #3

        @Axel-Spoerl
        I didn't copy a snapshot of the failure because it wasn't informative.
        It only shows the "FAIL" in red and the file name and path without any information.

        I will try without AV.
        I will try again soon and will share the output.

        If I cancel the parallel flag, it fails fewer times.

        If the build finishes successfully after restarting the compilation server multiple times, is it OK?

        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