build error building from git



  • 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.



  • 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.


  • Qt Champions 2017

    hi @Stefan-Menzel,

    which compiler is this?



  • msvc 2017 on windows 10


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.