qt-build.bat 967 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. set ARCH=%1
  2. call \msvc-%ARCH%.bat && @echo on || exit /b
  3. mkdir \qt-src\qt-build && ^
  4. cd \qt-src\qt-build && ^
  5. ..\qt\configure.bat ^
  6. -prefix C:/qt-%ARCH% ^
  7. -static ^
  8. -static-runtime ^
  9. -release ^
  10. -opensource -confirm-license ^
  11. -platform win32-msvc ^
  12. -mp ^
  13. -gui ^
  14. -widgets ^
  15. -qt-pcre ^
  16. -qt-zlib ^
  17. -qt-libpng ^
  18. -qt-libjpeg ^
  19. -no-gif ^
  20. -no-icu ^
  21. -no-pch ^
  22. -no-angle ^
  23. -no-opengl ^
  24. -no-dbus ^
  25. -no-harfbuzz ^
  26. -no-accessibility ^
  27. -skip declarative ^
  28. -skip multimedia ^
  29. -skip qtcanvas3d ^
  30. -skip qtconnectivity ^
  31. -skip qtdeclarative ^
  32. -skip qtlocation ^
  33. -skip qtmultimedia ^
  34. -skip qtsensors ^
  35. -skip qtserialport ^
  36. -skip qtsvg ^
  37. -skip qtwayland ^
  38. -skip qtwebchannel ^
  39. -skip qtwebengine ^
  40. -skip qtwebsockets ^
  41. -skip qtxmlpatterns ^
  42. -nomake examples -nomake tests ^
  43. && ^
  44. \jom\jom.exe -J %NUMBER_OF_PROCESSORS% && ^
  45. \jom\jom.exe install && ^
  46. cd \qt-%ARCH% && ^
  47. \git\cmd\git apply \qt-src\qt-install.patch