How to export QT path in 5.9.1 the old one is export QTDIR=/usr/lib/qt2?
I downlaod QT and insalled in my home directory:
john@john-GS63VR-6RF ~ $ ls /home/john/Qt/5.9.1/
I try to complier quiteinsanegimpplugin-0.3.
and try mutiple way, it always fail:
checking for Qt... configure: error: Qt (>= Qt 2.2.2) (headers and libraries) not found. Please check your installation!
I also try:
./configure --enable-mt --with-qt-includes=/home/john/Qt/5.9.1/gcc_64/include --with-qt-libraries=/home/john/Qt/5.9.1/gcc_64/lib
In the install Notes:
-Make sure that QTDIR is set correctly. If it isn't set, then run
:~>export QTDIR=path_to_qt, e.g.
-If you want to use Qt version 3.x, then simply set QTDIR accordingly.
-If you want to link against a Qt version with thread support,use the
Please help me out.
Hi and welcome to devnet,
You can do it like suggested in the doc using
exporthowever you have to first realise that this plugin was written when Qt was at version two so there has been tree major releases in between. Qt 3 to Qt 4 required some ports so even if your Qt version was detected, you may have to do some porting.