PDA

View Full Version : expected initializer before »)« token



Holy
12th May 2008, 22:00
Hi;I'm new in this Forum und in qt programming.
i tried to copy a tutorial an translate it from qt2 to qt4 there is no mistake anymore except this one :

g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I. -I. -I. -o ESG1.o ESG1.cpp
ESG1.cpp:67: Fehler: expected `)' before »,« token
ESG1.cpp:67: Fehler: expected initializer before »)« token
ESG1.cpp: In member function »virtual void ESG1::focusInEvent(QFocusEvent*)«:
ESG1.cpp:259: Warnung: Adresse eines temporären Wertes wird ermittelt
ESG1.cpp: In member function »virtual void ESG1::focusOutEvent(QFocusEvent*)«:
ESG1.cpp:264: Warnung: Adresse eines temporären Wertes wird ermittelt
make: *** [ESG1.o] Fehler 1
i don't understand what it means, than i can see no mistake in the programm code at all.can u help me please?
thanks .

kandalf
12th May 2008, 22:17
Hello, can you, please, post your message in english.

Thank you.

jacek
24th May 2008, 16:24
Could you post line 67 from ESG1.cpp?