0

从源代码中获得正确的 qt 4 需要做什么?

$ git clone https://github.com/oudream/qt-4.6.4.git 
$ cd qt-4.6.4/
$ chmod +x configure
$ dos2unix configure 
$ mkdir build_qt
$ cd build_qt/

~/Qt/Qt4/qt-4.6.4/build_qt$ ../configure  -confirm-license -opensource -release -nomake demos -nomake examples    -no-webkit -static 
    Preparing build tree...
    You don't seem to have 'make' or 'gmake' in your PATH.

echo $PATH
/sbin:/bin:/usr/bin:/usr/local/bin:/snap/bin:/usr/bin/make

$ make --version
GNU Make 4.3

我尝试从源代码构建,但出现了意想不到的情况,可能是我需要了解的新版本操作系统的一些变化。

4

0 回答 0