问题描述
因为Windows 用惯了 notepad++, 所以想要在 Ubuntu系统上 继续使用相类似的记事本工具, 发现了 notepadqq
可以使用添加 源 的方式 安装该软件,
$ sudo add-apt-repository ppa:notepadqq-team/notepadqq
$ sudo apt-get update
$ sudo apt-get install notepadqq
或者使用 make 自己编译.
notepadqq$ ./configure --prefix /usr
notepadqq$ make
notepadqq$ sudo make install
在编译的时候遇到一些问题,记录一下.
解决方法
qmake: could not find a Qt installation of ‘’
安装 qt5-qmake : sudo apt-get install qt5-qmake
Unknown module(s) in QT: webkitwidgets
安装 libqt5webkit5 : sudo apt-get install libqt5webkit5-dev
/usr/lib/i386-linux-gnu/qt5/bin/lrelease: not found WARNING: TARGET is empty
安装 qttools : sudo apt-get install qttools5-dev-tools
Could not find a package configuration file provided by “Qt5Svg”
安装 libqt5svg5-dev
一次性安装所需要的包 ^1
sudo apt-get install git build-essential cmake qt5-default qtscript5-dev libssl-dev qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5svg5-dev libqt5webkit5-dev libsdl2-dev libasound2 libxmu-dev libxi-dev freeglut3-dev libasound2-dev libjack-jackd2-dev libxrandr-dev libqt5xmlpatterns5-dev libqt5xmlpatterns5 libqt5xmlpatterns5-private-dev
参考文档
- 1.Project ERROR: Unknown module(s) in QT: webkitwidgets
- ‘/usr/lib/i386-linux-gnu/qt5/bin/lrelease: not found WARNING: TARGET is empty’ Error when trying to compile Feathercoin from source
- qmake: could not find a Qt installation of ‘’
- Build fails on QT5 check #118
- “Notepadqq Team” team
- Could not find a package configuration file provided by “Qt5Svg”