Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. build error building from git
Qt 6.11 is out! See what's new in the release blog

build error building from git

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.1k 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.
  • S Offline
    S Offline
    Stefan Menzel
    wrote on last edited by Stefan Menzel
    #1

    Re: Qt5 development primer

    hi,
    i am building qt 5.11 from the current git branch.
    i did the following (in C:\QtGit\qt5):

    perl init-repository -f --branch
    cd ..
    mkdir build
    cd build
    ..\qt5\configure -prefix c:\QtGit -nomake examples -nomake tests -skip qtwebengine -opensource
    jom
    

    until jom everything looks good, but the build fails with

    C:\QtGit\qt5\qtbase\src\corelib\animation\qparallelanimationgroup.cpp(341): fatal error C1083: Cannot open include file: 'moc_qparallelanimationgroup.cpp': No such file or directory
    

    and more similar errors

    please help.
    Thanks.

    S 1 Reply Last reply
    0
    • S Stefan Menzel

      Re: Qt5 development primer

      hi,
      i am building qt 5.11 from the current git branch.
      i did the following (in C:\QtGit\qt5):

      perl init-repository -f --branch
      cd ..
      mkdir build
      cd build
      ..\qt5\configure -prefix c:\QtGit -nomake examples -nomake tests -skip qtwebengine -opensource
      jom
      

      until jom everything looks good, but the build fails with

      C:\QtGit\qt5\qtbase\src\corelib\animation\qparallelanimationgroup.cpp(341): fatal error C1083: Cannot open include file: 'moc_qparallelanimationgroup.cpp': No such file or directory
      

      and more similar errors

      please help.
      Thanks.

      S Offline
      S Offline
      Stefan Menzel
      wrote on last edited by
      #2

      i redid the whole process this time with

      perl init-repository -f // without --branch
      

      now it fails with

      link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.11 /OUT:..\..\..\..\plugins\texttospeech\qtexttospeech_sapid.dll @C:\Users\smenzel\AppData\Local\Temp\qtexttospeech_sapid.dll.19136.27718.jom
      LINK : fatal error LNK1104: cannot open file 'atls.lib'
      

      i had atl errors before but after i installed atl they were gone, seems like somehow it does not find the lib though.

      aha_1980A 1 Reply Last reply
      0
      • S Stefan Menzel

        i redid the whole process this time with

        perl init-repository -f // without --branch
        

        now it fails with

        link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /DLL /SUBSYSTEM:WINDOWS /VERSION:5.11 /OUT:..\..\..\..\plugins\texttospeech\qtexttospeech_sapid.dll @C:\Users\smenzel\AppData\Local\Temp\qtexttospeech_sapid.dll.19136.27718.jom
        LINK : fatal error LNK1104: cannot open file 'atls.lib'
        

        i had atl errors before but after i installed atl they were gone, seems like somehow it does not find the lib though.

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        hi @Stefan-Menzel,

        which compiler is this?

        Qt has to stay free or it will die.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Stefan Menzel
          wrote on last edited by Stefan Menzel
          #4

          msvc 2017 on windows 10

          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