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. maybe it is easyer with the cmake gui: cmakesetup. aspell: copy aspell.lib aspelld.lib -- Peter Kümmel