Results 1 to 6 of 6

Thread: The header file 'mainwindow.h' doesn't include <QObject>.

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    92
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default The header file 'mainwindow.h' doesn't include <QObject>.

    i want build Symbian QTcreator S60 5th like this instruction: http://v16.lscache3.c.youtube.com/vi...be37827648d40d
    or http://labs.trolltech.com/blogs/2009...t-for-symbian/
    but it error message

    C:\Users\BotNetVN\Desktop\CamOnMoiNguoi\moc_mainwi ndow.cpp:12: #error "The header file 'mainwindow.h' doesn't include <QObject>."
    ERROR: cpp.EXE failure
    make[1]: *** [MAKEFILECAMONMOINGUOI_0XE8E190B0] Error 33
    source: <link removed>


    why error ?
    Last edited by nhs_0702; 14th May 2010 at 12:46.

Similar Threads

  1. QGraphicsItem doesn't inherit QObject?
    By xyzt in forum Qt Programming
    Replies: 6
    Last Post: 26th September 2011, 15:59
  2. compile to arm+include header
    By nataly in forum Qt Programming
    Replies: 1
    Last Post: 8th November 2009, 13:59
  3. Mingw doesn't find qt include files
    By NineTailFox in forum Newbie
    Replies: 2
    Last Post: 12th November 2008, 09:18
  4. unable to include header file
    By sonia in forum Qt Programming
    Replies: 1
    Last Post: 10th July 2007, 09:56
  5. Replies: 3
    Last Post: 23rd July 2006, 19:02

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
  •  
Qt is a trademark of The Qt Company.