David,

Perhaps qmake is being executed from the wrong bin/ place ---verify that
qmake is being called from right place:

qmake --version and it will show partly where qmake is called from:

qmake --version
QMake version 2.01a
Using Qt version 4.6.0 in /usr/local/Trolltech/Qt-4.6.0/lib

this means that qmake is called from: /usr/local/Trolltech/Qt-4.6.0/bin/

You might have to enter a more complete call, such as:

qmake -spec /usr/local/Trolltech/Qt-4.6.2/mkspecs/linux-g++ -unix
controller_v_0-01.pro

What I do if you are pointing to the wrong place is to is use an alias.

Let us know if this gets you going.




On Wed, Mar 3, 2010 at 6:30 PM, David McLean
<[email protected]>wrote:

>  Hi all,
> Typically, I try to figure these type issues out myself but I'm currently
> under a time crunch, hence the email blast! Now to the point:
>
> Has anyone had any issues with installing Qt4 and getting it working
> properly? It seems as though the basic Qt4 package does not include the make
> utility "qmake". Therefore I tried uninstalling it and downloading direct
> from Trolltech and building it from source which still leaves me some
> issues. I do appear to have qmake but I seem to have some environment
> variable issues. When I try to compile a project, I get the following error
> response:
>
> [r...@dhcp...]# qmake
> Could not find mkspecs for your QMAKESPEC(linux-g++) after trying:
>         /usr/local/Trolltech/Qt-4.6.2/mkspecs
> Error processing project file:
> /home/dmclean/Desktop/VIIBRE/StageController/controller_v_0-01/
> controller_v_0-01.pro
>
> Looks like I've got something looking in the wrong place but the
> "/usr/local/Trolltech/Qt-4.6.2/mkspecs" is the correct path to the "mkspecs"
> directory. I do not have a lot of experience with system/environment
> variables. Has anyone experienced anything similar to this?
>
> Thank you for your time.
>
>
> --
>
> *David L. McLean
> Research Automation Engineer
>
> [image: VIIBRE -Vanderbilt Institute for Integrative Biosystems Research
> and Education]
>
> 6805.4 Stevenson Center
> VU Station B 351807
> Nashville, TN 37235-1807
>
> Ph: 615.343.4124
> Fx: 615.322.4977
> www.vanderbilt.edu/viibre
>
> [email protected] *
>

<<attachment: viibre-logo-block.gif>>

Reply via email to