I can't build debug qt5.9.1 lib by vs2017 but can build release



  • I have build the release qt lib, such as qt5core.lib. But exec the cmd below, I can't build debug.

    CALL "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
    SET _ROOT=F:\qt-everywhere-opensource-src-5.9.1
    SET PATH=%_ROOT%\qtbase\bin;%_ROOT%\gnuwin32\bin;F:\jom_1_1_2;%PATH%
    .\configure.bat -debug -nomake examples -nomake tests -skip qtwebengine -prefix F:\Qt\Qt5.9.1  -confirm-license -make-tool jom
    
    jom > jom.out 2>&1 && jom install >>jom.out 2>&1
    

    It seemed there is nothing error in jom.out.[https://drive.google.com/file/d/0ByMGxS90xzVlck53TTF5bUVjU0k/view?usp=sharing](link url)
    Could you help me to build the debug? Thank you very much!


  • Moderators

    @suclida You can build both debug and release in one go providing -debug-and-release parameter to configure.



  • I mkdir F:\qt-everywhere-opensource-src-5.9.1\qt-build and cd it to configure, then I build the debug successfully.
    Maybe I didn't remove the build_dir, so the debug can't create.


Log in to reply
 

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