On Thursday, July 21, 2011 11:48:04 pm Daniel Näslund wrote:
> On Thu, Jul 21, 2011 at 7:00 PM, wrote:
> >> Managed to compile and link when I added the following snippet to the
> >> toolchain file:
> >>
> >> set(QT_HEADERS_DIR /opt/env/lenny-ppc/usr/lib)
> >> set(QT_LIBRARY_DIR /opt/env
On Thu, Jul 21, 2011 at 7:00 PM, wrote:
>> Managed to compile and link when I added the following snippet to the
>> toolchain file:
>>
>> set(QT_HEADERS_DIR /opt/env/lenny-ppc/usr/lib)
>> set(QT_LIBRARY_DIR /opt/env/lenny-ppc/usr/include/qt4)
>>
>> set(QT_QTCORE_LIBRARY /opt/env/lenny
- Original Message -
> Hi Clint and thanks for your advices (sorry about the delayed
> answer),
>
> On Tue, Jul 19, 2011 at 1:33 AM, clin...@elemtech.com
> wrote:
> > When cross compiling, only some the qmake queries are actually
> > used.
> >
> > Finding the rest just works if subdirs
-
From: "Daniel Näslund"
Date: Mon, Jul 18, 2011 11:50 am
Subject: [CMake] How pass a -spec parameter to FindQt4.cmake?
To: "clin...@elemtech.com"
Cc:
On Mon, Jul 18, 2011 at 07:23:26AM -0700, clin...@elemtech.com wrote:
> What version of cmake are you using?
$ cmake --versio
On Mon, Jul 18, 2011 at 07:23:26AM -0700, clin...@elemtech.com wrote:
> What version of cmake are you using?
$ cmake --version
cmake version 2.8.4
> And since you are cross-compiling, what does your toolchain file for
> cmake look like?
The contents of my toolchain.cmake file:
set(CMAKE_
not need to build your own qmake.
Clint
- Reply message -
From: "Daniel Näslund"
Date: Mon, Jul 18, 2011 12:12 am
Subject: [CMake] How pass a -spec parameter to FindQt4.cmake?
To:
Hi!
I'm trying to cross-compile a Qt-application for the powerpc platform.
CMake looks for t
Hi!
I'm trying to cross-compile a Qt-application for the powerpc platform.
CMake looks for the Qt libraries in the wrong place - it finds the host
libraries instead of the target libraries:
Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as /usr/lib
Warning: But QtCore couldn't be f