Skip to Content
All memories

Build QT Command Line for Window

 — #QT

Step 1: Clean

"{root-path-qt}\Tools\QtCreator\bin\jom.exe" -f Makefile.Release clean

Step 2: Create Makefile

"{root-path-qt}\Tools\QtCreator\bin\jom.exe" -f Makefile.Release clean && 
"{root-path-qt}\5.9.3\msvc2015\bin\qmake.exe" {root-path-project}\project_name.pro -spec win32-msvc

"{root-path-qt}\Tools\QtCreator\bin\jom.exe" qmake_all

Step 3: Build *.exe from Makefile

"{root-path-qt}\Tools\QtCreator\bin\jom.exe" -f Makefile.Release

DONE

We can use nmake instead jom.