[go: up one dir, main page]

Menu

Tree [d670ed] v0.0.1 / tools /
 History

HTTPS access


File Date Author Commit
 awk 2022-07-02 xiaoming xiaoming [687405] ci:add build script
 sed 2022-07-02 xiaoming xiaoming [687405] ci:add build script
 .gitignore 2022-07-02 xiaoming xiaoming [687405] ci:add build script
 linuxdeployqt 2022-07-02 xiaoming xiaoming [687405] ci:add build script
 readme.md 2022-07-02 xiaoming xiaoming [687405] ci:add build script

Read Me

编译linuxdeployqt

获取源码

git clone https://github.com/probonopd/linuxdeployqt.git

cd linuxdeployqt

屏蔽以下代码

// openSUSE Leap 15.0 uses glibc 2.26 and is used on OBS
    if (strverscmp (glcv, "2.27") >= 0) {  //注释版本检查
      qInfo() << "ERROR: The host system is too new.";
      qInfo() << "Please run on a system with a glibc version no newer than what comes with the oldest";
      qInfo() << "currently still-supported mainstream distribution (xenial), which is glibc 2.23.";
      qInfo() << "This is so that the resulting bundle will work on most still-supported Linux distributions.";
      qInfo() << "For more information, please see";
      qInfo() << "https://github.com/probonopd/linuxdeployqt/issues/340";
      return 1;
    }
camke .

make

cp ./tools/linuxdeployqt ../linuxdeployqt