You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求助:如何在Ubuntu 17.10上安装Qtstalker?旧教程执行失败

How to Install Qtstalker on Ubuntu 17.10

I totally get how frustrating it is when following the official installation guide for Qtstalker on Ubuntu 17.10 ends up failing—those older guides often don’t account for package name changes or compatibility quirks in this specific Ubuntu release. Let’s walk through a reliable step-by-step process to get it installed properly:

Step 1: Install Required Dependencies

First, make sure your system is up-to-date and you have all the build tools and libraries needed:

  • Update your package list and upgrade existing packages:
    sudo apt update && sudo apt upgrade -y
    
  • Install basic compilation tools:
    sudo apt install build-essential cmake git -y
    
  • Install Qt4 and other core dependencies (Qtstalker relies on Qt4 for Ubuntu 17.10 compatibility):
    sudo apt install libqt4-dev qt4-dev-tools libqwt-dev libsqlite3-dev libssl-dev libcurl4-openssl-dev -y
    

Step 2: Grab the Qtstalker Source Code

The official pre-built packages might be outdated, so we’ll compile from the latest compatible source:

git clone https://git.code.sf.net/p/qtstalker/code qtstalker-code
cd qtstalker-code

Step 3: Compile and Install

Ubuntu 17.10 might have both Qt4 and Qt5 installed, so we’ll explicitly use Qt4’s qmake to avoid version conflicts:

  1. Generate the build files with Qt4’s qmake:
    qmake-qt4 qtstalker.pro
    
  2. Compile the source (use -j$(nproc) to speed up compilation with all your CPU cores):
    make -j$(nproc)
    
  3. Install the compiled binaries:
    sudo make install
    

Step 4: Fix Post-Installation Issues (If Any)

  • If you get a "library not found" error when launching Qtstalker, update the system’s library cache:
    sudo ldconfig
    
  • If QWT-related errors pop up during compilation, you may need to manually install a compatible QWT version:
    1. Download QWT 6.1.3 (the last version that plays nice with Qt4 on Ubuntu 17.10):
      wget https://sourceforge.net/projects/qwt/files/qwt/6.1.3/qwt-6.1.3.tar.bz2
      tar xjf qwt-6.1.3.tar.bz2
      cd qwt-6.1.3
      
    2. Compile and install QWT:
      qmake-qt4 qwt.pro
      make -j$(nproc)
      sudo make install
      
    3. Then go back to the Qtstalker directory and re-run the compilation steps.

Once everything is done, you can launch Qtstalker by typing qtstalker in your terminal.

内容的提问来源于stack exchange,提问作者Lumbeezl

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 03:21:30