编译桌面端Qt.txt 795 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ../configure \
  2. -debug-and-release \
  3. -confirm-license \
  4. -opensource \
  5. -platform linux-g++ \
  6. -prefix /data/home/Apple/Qt/Qt5.15.14 \
  7. -qt-sqlite \
  8. -qt-pcre \
  9. -qt-zlib \
  10. -qt-libpng \
  11. -qt-libjpeg \
  12. -qt-freetype \
  13. -qt-harfbuzz \
  14. -opengl desktop \
  15. -skip qtwebengine \
  16. -nomake tests \
  17. -no-compile-examples
  18. ../configure \
  19. -confirm-license \
  20. -opensource \
  21. -platform linux-g++ \
  22. -prefix /data/home/Apple/Qt/Qt5.15.14 \
  23. -qt-sqlite \
  24. -qt-pcre \
  25. -qt-zlib \
  26. -qt-libpng \
  27. -qt-libjpeg \
  28. -qt-freetype \
  29. -qt-harfbuzz \
  30. -opengl desktop \
  31. -skip qtwebengine \
  32. -nomake tests \
  33. -no-compile-examples
  34. 如果执行configure的时候提示:bash: ./configure:/bin/sh^M:解释器错误: 没有那个文件或目录
  35. 这是因为configure的换行符造成的,使用sed -i 's/\r$//' configure转换一下就可以了