I just synced my local copy of the lyx repo and compilation now fails
with Qt related issues.

Here is the first error:

[  4%] Building CXX object src/support/CMakeFiles/support.dir/Systemcall.cpp.o
cd /home/stefano/builds/lyx-devel/lyx/build/src/support &&
/usr/bin/c++   -DQT_CORE_LIB -Wall -Wunused-parameter
-fno-strict-aliasing  -Wall -Wunused-parameter  -fno-strict-aliasing
-O0 -g3 -D_DEBUG -fPIC -I/home/stefano/builds/lyx-devel/lyx/build
-I/home/stefano/builds/lyx-devel/lyx/src
-I/home/stefano/builds/lyx-devel/lyx/boost
-I/home/stefano/builds/lyx-devel/lyx/src/support
-I/home/stefano/builds/lyx-devel/lyx/build/src/support
-I/home/stefano/builds/lyx-devel/lyx/src/support/mythes
-I/usr/include/qt -I/usr/include/qt/QtCore
-I/usr/lib/qt/mkspecs/linux-g++    -DBOOST_USER_CONFIG="<config.h>" -o
CMakeFiles/support.dir/Systemcall.cpp.o -c
/home/stefano/builds/lyx-devel/lyx/src/support/Systemcall.cpp
In file included from
/home/stefano/builds/lyx-devel/lyx/src/support/Systemcall.cpp:631:0:
/home/stefano/builds/lyx-devel/lyx/src/support/moc_SystemcallPrivate.cpp:13:2:
error: #error "This file was generated using the moc from 4.8.5. It"
 #error "This file was generated using the moc from 4.8.5. It"


Isn't the build process still relying on  Qt 4? The cmake build comes
preset to use the moc from version 4 (Qt 4.8.5) (it looks in
/usr/lib/bin/qt4/moc). Or perhaps is my system to blame? Arch defaults
to QT5.

Stefano

-- 
__________________________________________________
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies         Ph:   +1 (979) 845-2125
Texas A&M University                          Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org

Reply via email to