【问题标题】:Installing ApkStudio on Linux(Ubuntu 15.04)在 Linux 上安装 ApkStudio(Ubuntu 15.04)
【发布时间】:2016-02-21 08:41:37
【问题描述】:

我尝试在我的 Ubuntu 15.04 机器上安装 APK Studio,但不断收到此错误消息:

 g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DAPP_REV_SHORT=\"0978cd4\" -DAPP_REV_LONG=\"0978cd4653fcfed5601d57b8e0f7cfade7f64d7a\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -o adb.o src/adb.cpp
In file included from ./include/adb.h:5:0,
                 from src/adb.cpp:1:
./include/process.h:4:30: fatal error: QRegularExpression: No such file or directory
 #include <QRegularExpression>
                              ^
compilation terminated.
Makefile:474: recipe for target 'adb.o' failed
make: *** [adb.o] Error 1.

我该如何解决这个问题?

【问题讨论】:

    标签: linux reverse-engineering


    【解决方案1】:

    您可能使用的是不受支持的 QT 版本,请检查您的版本:

    $ qmake -version
    QMake version 2.01a
    Using Qt version 4.8.6 in /usr/lib/x86_64-linux-gnu
    

    确保您拥有 GCC 4.6+、QT 5.2+
    在 Ubuntu 上,您可以运行:

    $ sudo apt-get install qt5-qmake qt5-default libqt5opengl5-dev
    $ qmake -version
    QMake version 3.0
    Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
    

    再次运行 make 应该没有错误地构建 ApkStudio。

    【讨论】:

      猜你喜欢
      • 2016-04-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-16
      • 2016-09-23
      • 1970-01-01
      相关资源
      最近更新 更多