Difference between revisions of "QT5 Installation & Paths"
(2 intermediate revisions by the same user not shown) | |||
Line 6: | Line 6: | ||
Original Paths: | Original Paths: | ||
+ | |||
+ | /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf | ||
+ | /usr/lib/x86_64-linux-gnu/qt4/bin | ||
+ | /usr/lib/x86_64-linux-gnu | ||
+ | |||
+ | /usr/lib/x86_64-linux-gnu/qtchooser/default.conf | ||
/usr/lib/x86_64-linux-gnu/qt5/bin | /usr/lib/x86_64-linux-gnu/qt5/bin | ||
/usr/lib/x86_64-linux-gnu | /usr/lib/x86_64-linux-gnu | ||
+ | |||
Modded Paths for opt Qt install: | Modded Paths for opt Qt install: | ||
Line 15: | Line 22: | ||
Check version: | Check version: | ||
qtchooser -print-env | qtchooser -print-env | ||
+ | |||
+ | Export Qt: | ||
+ | PATH=/opt/Qt/5.12.0/gcc_64/bin:$PATH | ||
* [https://askubuntu.com/questions/435564/qt5-installation-and-path-configuration Source] | * [https://askubuntu.com/questions/435564/qt5-installation-and-path-configuration Source] |
Latest revision as of 09:49, 19 January 2019
Replace Default Qt version paths in:
vi /usr/lib/x86_64-linux-gnu/qtchooser/default.conf
or in newer releases:
vi /usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf
Original Paths:
/usr/lib/x86_64-linux-gnu/qt-default/qtchooser/default.conf
/usr/lib/x86_64-linux-gnu/qt4/bin /usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/qtchooser/default.conf
/usr/lib/x86_64-linux-gnu/qt5/bin /usr/lib/x86_64-linux-gnu
Modded Paths for opt Qt install:
/opt/Qt/5.12.0/gcc_64/bin /opt/Qt/5.12.0/gcc_64/lib
Check version:
qtchooser -print-env
Export Qt:
PATH=/opt/Qt/5.12.0/gcc_64/bin:$PATH