How to export QT path in 5.9.1 the old one is export QTDIR=/usr/lib/qt2?



  • Dear sir.
    I downlaod QT and insalled in my home directory:
    john@john-GS63VR-6RF ~ $ ls /home/john/Qt/5.9.1/
    android_armv7 gcc_64
    I try to complier quiteinsanegimpplugin-0.3.
    https://sourceforge.net/projects/quiteinsane/
    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
    all failed.

    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.
    :~>export QTDIR=/usr/lib/qt2

    -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
    --enable-mt switch.

    Please help me out.
    Thanks
    John


  • Lifetime Qt Champion

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.