我有一个要使用静态链接部署的应用程序。我正在使用 Qt 5.4 和 ubuntu。我了解到要部署我的应用程序,我必须使用以下代码静态构建 qt
cd /path/to/Qt
./configure -static -prefix /path/to/Qt <other parameters>
make sub-src
我在 home/Qt5.4.0 中安装了 Qt
当我运行上面的代码时,它说
configure:no such file
当我检查 Qt 目录时,确实没有配置文件。我只能找到
configure.prf
in Qt5.4.0/5.4/gcc_64/mkspecs/features/
这可能是新手,但我现在应该如何部署我的应用程序?