i trying use qmake, reason pointing when run "which qmake", /users/adam2392/anaconda/bin/qmake
this runs qt version 4.8 though... , want use qt version 5+ have installed, can't run qmake on application because doesn't register new functionalities version 5+ has. wondering how can reset, when run qmake, uses version 5+?
which qmake
uses path
environment variable find qmake
. path
points /users/adam2392/anaconda/bin
(among others). picks firts qmake
program found.
change path
variable add path qt version wish use in front (the 1 have installed):
export path=<path qt5 bin folder>:$path
to change permanently, see how permanently set $path on linux?
note: if path
variable has both old , new qt targets (most old 1 appearing before new one), removing old 1 should make work, no need add new 1 second time.
Comments
Post a Comment