Results 1 to 3 of 3

Thread: expected initializer before »)« token

  1. #1
    Join Date
    May 2008
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default expected initializer before »)« token

    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 .
    Last edited by Holy; 12th May 2008 at 22:32.

  2. #2
    Join Date
    Jan 2006
    Posts
    46
    Thanks
    2
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: expected initializer before »)« token

    Hello, can you, please, post your message in english.

    Thank you.
    Kandalf
    There's no place like ~

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: expected initializer before »)« token

    Could you post line 67 from ESG1.cpp?

Similar Threads

  1. Need help integrating sigc++ with a KDE3/Qt3 app
    By Valheru in forum Qt Programming
    Replies: 1
    Last Post: 17th November 2007, 15:39
  2. Program crashes (SIGSEGV)
    By Voldemort in forum Qt Programming
    Replies: 47
    Last Post: 21st May 2007, 20:09
  3. Compile Errors
    By luffy27 in forum Qt Programming
    Replies: 3
    Last Post: 4th November 2006, 05:26
  4. Replies: 2
    Last Post: 25th March 2006, 14:21
  5. use libs under qt4
    By raphaelf in forum Qt Programming
    Replies: 6
    Last Post: 27th February 2006, 17:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.