Results 1 to 2 of 2

Thread: Does anybody know what this error is?

  1. #1
    Join Date
    Jul 2012
    Posts
    201
    Thanks
    26
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Unhappy Does anybody know what this error is?

    I'm getting the error below, when i build my project. is this familiar to anybody?



    g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\Qt2\2010.04\qt\include\QtCore" -I"..\..\..\..\Qt2\2010.04\qt\include\QtGui" -I"..\..\..\..\Qt2\2010.04\qt\include" -I"..\..\..\..\Qt2\2010.04\qt\include\ActiveQt" -I"debug" -I"..\Assignment1Q1" -I"." -I"..\..\..\..\Qt2\2010.04\qt\mkspecs\win32-g++" -o debug\moc_bookwriter.o debug\moc_bookwriter.cpp
    g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-subsystem,console -mthreads -Wl -o debug\Assignment1Q1.exe debug/main.o debug/book.o debug/bookinput.o debug/bookwriter.o debug/moc_bookinput.o debug/moc_bookwriter.o -L"c:\Qt2\2010.04\qt\lib" -lQtGuid4 -lQtCored4
    mingw32-make[1]: Leaving directory `C:/UNISA MODULES/COS3711/ASSIGNMENTS/Assignment1Q1-build-desktop'
    mingw32-make: Leaving directory `C:/UNISA MODULES/COS3711/ASSIGNMENTS/Assignment1Q1-build-desktop'
    debug/moc_bookinput.o:C:\UNISA MODULES\COS3711\ASSIGNMENTS\Assignment1Q1-build-desktop/debug/moc_bookinput.cpp:85: undefined reference to `bookInput::getDate()'
    collect2: ld returned 1 exit status
    mingw32-make[1]: *** [debug\Assignment1Q1.exe] Error 1
    mingw32-make: *** [debug] Error 2
    The process "C:/Qt2/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
    Error while building project Assignment1Q1 (target: Desktop)
    When executing build step 'Make'

  2. #2
    Join Date
    May 2010
    Location
    Romania
    Posts
    1,021
    Thanks
    62
    Thanked 260 Times in 246 Posts
    Qt products
    Qt5
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Re: Does anybody know what this error is?

    Do you have a definition for bookInput::getDate()? Tell us more information and maybe show some code, anyway my guess is that you added that slot and didn't run qmake before you tried to build your project.

  3. The following user says thank you to Zlatomir for this useful post:

    ayanda83 (25th February 2013)

Similar Threads

  1. Replies: 4
    Last Post: 29th April 2014, 16:20
  2. Replies: 1
    Last Post: 28th December 2012, 22:13
  3. : error: [\NokiaQtSDK\Symbian\SDK\epoc32\release\gcce\udeb\V ideo.exe] Error 1
    By ranjit.kadam in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 1st May 2011, 22:11
  4. Replies: 3
    Last Post: 23rd January 2011, 12:15
  5. Replies: 1
    Last Post: 25th October 2008, 19:18

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.