On 01/25/2010 01:43 PM, rgheck wrote:
On 01/23/2010 12:51 PM, Abdelrazak Younes wrote:
On 23/01/2010 17:55, rgheck wrote:
On 01/23/2010 11:29 AM, Abdelrazak Younes wrote:
On 23/01/2010 16:51, rgheck wrote:
On 01/23/2010 10:44 AM, BH wrote:
On Sat, Jan 23, 2010 at 10:22 AM, rgheck<rgh...@bobjweil.com>
wrote:
That said, after I did this, I was still unable to compile,
because I kept
getting "Qt libraries not found" errors. I got these errors both
after
installing qt4-mac-devel from macports and installing the Qt SDK
from Nokia.
If you, or someone, knows how to deal with this, I'd be pleased
to hear it.
I've only succeeded by compiling Qt4 from source and installing it
(for me, in ~/lyx/qt4...). Notice that you need to remove *.la from
[QT4DIR]/lib/.
Then with pkg-config installed via macports, and qt4-dir
specified in
configure, everything works.
OK, well, I'll try the first and get back to you.
Why don't you try Nokia's Qt with CMake first? This will save you
the Qt compile and I believe this is the best long term solution,
both for the users and the developpers.
I tried with the Qt SDK. That found moc and something else, but not
the Qt header files.
Cmake works fine when it finds qmake. Did you make sure qmake was in
your path?
The problem is that I can't even configure properly. I get the "Qt
libraries not found" error at the end of that. Do I not need to
configure if I'm using cmake?
Of course not, not even autogen.sh :-)
mkdir build
cd build
cmake [path to lyx trunk]/development/cmake
You might need to pass -G for generating XCode project if you're using
XCode. Other wise just open the file CMakeList in QtQcreator and it do
everything for you.
Abdel.