v...@lyx.org wrote: > Author: vfr > Date: Sun Jun 5 19:51:02 2011 > New Revision: 38957 > URL: http://www.lyx.org/trac/changeset/38957 > > Log: > Add a FancyLineEdit class. This code was taken from QtCreator and modified a > little. > > Patch from venom00.
g++ -DHAVE_CONFIG_H -I. -I../../.. -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_NO_CAST_TO_ASCII -DQT_NO_STL -I../../../src -I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I../../../boost -Wextra -Wall -O -MT FancyLineEdit.o -MD -MP -MF .deps/FancyLineEdit.Tpo -c -o FancyLineEdit.o FancyLineEdit.cpp FancyLineEdit.cpp:19:37: error: QtCore/QPropertyAnimation: No such file or directory FancyLineEdit.cpp: In member function 'void lyx::frontend::FancyLineEdit::updateMargins()': FancyLineEdit.cpp:169: error: 'QMargins' was not declared in this scope FancyLineEdit.cpp:169: error: expected `;' before 'margins' FancyLineEdit.cpp:172: error: 'margins' was not declared in this scope FancyLineEdit.cpp:172: error: 'setTextMargins' was not declared in this scope FancyLineEdit.cpp: In member function 'void lyx::frontend::FancyLineEdit::updateButtonPositions()': FancyLineEdit.cpp:184: error: 'textMargins' was not declared in this scope FancyLineEdit.cpp:187: error: 'textMargins' was not declared in this scope FancyLineEdit.cpp: In member function 'void lyx::frontend::IconButton::animateShow(bool)': FancyLineEdit.cpp:289: error: 'QPropertyAnimation' was not declared in this scope FancyLineEdit.cpp:289: error: 'animation' was not declared in this scope FancyLineEdit.cpp:289: error: expected type-specifier before 'QPropertyAnimation' FancyLineEdit.cpp:289: error: expected `;' before 'QPropertyAnimation' FancyLineEdit.cpp:292: error: 'QAbstractAnimation' has not been declared FancyLineEdit.cpp:294: error: 'QPropertyAnimation' was not declared in this scope FancyLineEdit.cpp:294: error: 'animation' was not declared in this scope FancyLineEdit.cpp:294: error: expected type-specifier before 'QPropertyAnimation' FancyLineEdit.cpp:294: error: expected `;' before 'QPropertyAnimation' FancyLineEdit.cpp:297: error: 'QAbstractAnimation' has not been declared make[6]: *** [FancyLineEdit.o] Error 1 qt 4.4. btw will we bump new deps for qt version for 2.1? currently we claim to be compatible with qt 4.2.(1) pavel