I am Charmie

メモとログ

Notepadqq on Ubuntu with Qt 5.6

Notepadqq is a Notepad++ like editor for Ubuntu.

How to install:

[code lang="bash"] sudo add-apt-repository ppa:notepadqq-team/notepadqq sudo apt-get update sudo apt-get install notepadqq [/code]

Notepadqq shows a pop-up window saying that "you have Qt 5.2.1 but the software requires equal to or greater than 5.3" even though you have installed Qt 5.6 on your system. The problem happens because Notepadqq exe file supports up to Qt 5.5. How to fix Qt version related issue: 0. Open /usr/bin/notepadqq 1. define two variables for Qt 5.6. 2. add the defined variables to system library path.

[code lang="bash"]

add the following line

OPT_QT56=/opt/Qt/5.6/$GCC_DIR/lib OPT_QT55=/opt/Qt/5.5/$GCC_DIR/lib OPT_QT54=/opt/Qt/5.4/$GCC_DIR/lib OPT_QT53=/opt/Qt/5.3/$GCC_DIR/lib

also add the following line

PERSONAL_QT56=~/Qt/5.6/$GCC_DIR/lib PERSONAL_QT55=~/Qt/5.5/$GCC_DIR/lib PERSONAL_QT54=~/Qt/5.4/$GCC_DIR/lib PERSONAL_QT53=~/Qt/5.3/$GCC_DIR/lib [/code]

[code lang="bash"]

the line before update

export LD_LIBRARY_PATH="$OPT_QT55:$PERSONAL_QT55:$OPT_QT54:$PERSONAL_QT54:$OPT_QT53:$PERSONAL_QT53:${LD_LIBRARY_PATH}"

the line after update

export LD_LIBRARY_PATH="$OPT_QT56:$PERSONAL_QT56:$OPT_QT55:$PERSONAL_QT55:$OPT_QT54:$PERSONAL_QT54:$OPT_QT53:$PERSONAL_QT53:${LD_LIBRARY_PATH}" [/code]