Alexander Neundorf writes:
> So, if QT_QT_LIBRARY is set (which exists only for Qt3, but not for Qt4), it
> stops, because you should not use both within one project.
> If you want to work around this, unset QT_QT_LIBRARY.
Exactly!
The setting of QT_QMAKE_EXECUTABLE is not idempotent.
It see
On Thursday 12 March 2009, A. Maitland Bottoms wrote:
> david.cole at kitware.com (David Cole) writes:
> > If you set QT_QMAKE_EXECUTABLE to the full path to a qmake, *that* qmake
> > is used above all else to find the right Qt. Regardless of QTDIR or
> > PATH. Setting QT_QMAKE_EXECUTABLE is *th
david.cole at kitware.com (David Cole) writes:
> If you set QT_QMAKE_EXECUTABLE to the full path to a qmake, *that* qmake is
> used above all else to find the right Qt. Regardless of QTDIR or PATH.
> Setting QT_QMAKE_EXECUTABLE is *the* official way to tell CMake where the Qt
> that you want is
On Wednesday 11 March 2009, Boudewijn Rempt wrote:
> On Wed, 11 Mar 2009, Doug Henry wrote:
> > I have multiple Qt installations and would like to know how I guide the
> > find_package(Qt4) command to find the correct one. I assume there is a
> > variable I can set which defines the search path, w
Or set it from a ctest -S script,or set it in the cmake-gui or ccmake UI
On Wed, Mar 11, 2009 at 2:36 PM, David Cole wrote:
> No env var, use -D
>
>
> On Wed, Mar 11, 2009 at 2:35 PM, Michael Jackson <
> mike.jack...@bluequartz.net> wrote:
>
>> Just to be clear on that, I know QT_QMAKE_EXECUTAB
No env var, use -D
On Wed, Mar 11, 2009 at 2:35 PM, Michael Jackson <
mike.jack...@bluequartz.net> wrote:
> Just to be clear on that, I know QT_QMAKE_EXECUTABLE is a CMake variable
> but is there a corresponding environment variable for that?
>
> or should be we doing cmake
> -DQT_QMAKE_EXECUTABL
Just to be clear on that, I know QT_QMAKE_EXECUTABLE is a CMake
variable but is there a corresponding environment variable for that?
or should be we doing cmake -DQT_QMAKE_EXECUTABLE:PATH=/usr/local/qt/
bin/qmake ../
---
Mike Jackson www.bluequartz.net
On Mar 11, 2009, at
If you set QT_QMAKE_EXECUTABLE to the full path to a qmake, *that* qmake is
used above all else to find the right Qt. Regardless of QTDIR or PATH.
Setting QT_QMAKE_EXECUTABLE is *the* official way to tell CMake where the Qt
that you want is. All else is a "find-and-guess" game if you have multiple
You can always do:
export QTDIR=/home/dhenry/qtsdk-2009.01/qt
export PATH=$QTDIR/bin:$PATH
to put the desired qmake as the first one found.
_
Mike Jackson mike.jack...@bluequartz.net
BlueQuartz Software
Looks like QTDIR is checked last, so it will always use the one found in my
path. I was (incorrectly) expecting QTDIR to be an override, but it
functions more like a safety net.
-thanks
On Wed, Mar 11, 2009 at 1:34 PM, Doug Henry
> wrote:
> thanks for the responses. I may have missed a detai
thanks for the responses. I may have missed a detail somewhere. I set
QTDIR (environment and I tried in cmake file) but it always finds the same
version of Qt. Below is a listing of my attempts. cmake always finds
version 4.3.4, which is installed in /tools/lin64, but my QTDIR variable
points t
On Wed, Mar 11, 2009 at 5:48 PM, Boudewijn Rempt wrote:
> On Wed, 11 Mar 2009, Doug Henry wrote:
>
>> I have multiple Qt installations and would like to know how I guide the
>> find_package(Qt4) command to find the correct one. I assume there is a
>> variable I can set which defines the search pa
On Wed, 11 Mar 2009, Doug Henry wrote:
> I have multiple Qt installations and would like to know how I guide the
> find_package(Qt4) command to find the correct one. I assume there is a
> variable I can set which defines the search path, which will allow me to
> change the path to find a differen
I have multiple Qt installations and would like to know how I guide the
find_package(Qt4) command to find the correct one. I assume there is a
variable I can set which defines the search path, which will allow me to
change the path to find a different installed version. Thanks.
:doug
___
14 matches
Mail list logo