Abdelrazak Younes wrote: > Peter Kümmel wrote: >> Abdelrazak Younes wrote: >>> Dear Joost, dear Peter, >>> >>> I wanted to try Qt4.2 but avoid it compilatation ao I tried lyx Joost's >>> package (lyx-windows-deps-msvc-qt4.zip). I put the inner qt-4/bin in my >>> PATH variable but I have a conflict problem: >>> >>> D:\devel\lyx\trunk\development\cmake>cmake . -Dnls=1 >>> -DGNUWIN32_DIR=D:\devel\lyx\trunk\lyx-windows-deps-msvc-qt4 >>> -- Found GNUWIN32: D:\devel\lyx\trunk\lyx-windows-deps-msvc-qt4 >>> -- Check for working C compiler: cl >>> -- Check for working C compiler: cl -- works >>> -- Check size of void* >>> -- Check size of void* - done >>> -- Check for working CXX compiler: cl >>> -- Check for working CXX compiler: cl -- works >>> Warning: QT_QMAKE_EXECUTABLE reported QT_INSTALL_LIBS as >>> D:\LyX\lyx-winPackage-msvc\qt-4\lib >>> Warning: D:\LyX\lyx-winPackage-msvc\qt-4\lib does NOT exist, Qt must NOT >>> be installed correctly >>> . >>> Could NOT find QtGlobal header >>> -- Configuring done >>> >>> The problem is apparently that CMake relies on QT_INSTALL_LIBS which was >>> set depending on Joost's personal path to qt. >>> >>> Can that be corrected Peter? >>> >>> Abdel. >>> >>> >> >> cmake gets all qt paths from qmake, now you run cmake with a different >> qmake, >> thus the error. You could delete all QT variables in CMakeCache.txt >> and run cmake >> again. > > I think this is something else as I remove CMakeCache.txt before trying.
The path to qt is hard coded it Joost's qmake: D:\LyX\lyx-winPackage-msvc\qt-4\lib Do you have Joost's qt at this place? > >> maybe it is easyer with the cmake gui: cmakesetup. >> >> aspell: >> copy aspell.lib aspelld.lib > > I did that, thanks, > Abdel. > > -- Peter Kümmel