Results 1 to 6 of 6

Thread: Strange Errors while compiling (QT Header Files)

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Wiki edits
    5

    Default Re: Strange Errors while compiling (QT Header Files)

    What's QViewerList? There may be the problem while casting to a QObject for the ctor of the base class. And better put the #include* inside the def.

    EDIT: And it is confusing if you are naming your own classes like Qt. So you might want choose another letter to start you class names.

  2. #2
    Join Date
    May 2009
    Posts
    61
    Qt products
    Qt3 Qt4
    Platforms
    MacOS X Unix/X11 Windows
    Thanks
    5
    Thanked 6 Times in 6 Posts

    Default Re: Strange Errors while compiling (QT Header Files)

    Quote Originally Posted by Lykurg View Post
    There may be the problem while casting to a QObject for the ctor of the base class.
    That would not result in a syntax error, would it? Sounds more like a missing ";" at the end of a class or something like that.
    Last edited by auba; 20th May 2009 at 22:19.

  3. #3
    Join Date
    May 2008
    Posts
    61
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    9

    Default Re: Strange Errors while compiling (QT Header Files)

    can you post the .pro file contents ?

Similar Threads

  1. C++ Compiling Errors when use Visual Studio 6.0
    By seguprasad in forum General Programming
    Replies: 1
    Last Post: 3rd February 2009, 11:47
  2. A good system on header files
    By baray98 in forum General Programming
    Replies: 3
    Last Post: 22nd January 2009, 23:17
  3. compiling problem / Qt DLL files
    By ht1 in forum Newbie
    Replies: 1
    Last Post: 5th January 2008, 17:58
  4. qt3 themes example: missing header files?
    By nikita in forum Qt Programming
    Replies: 3
    Last Post: 9th August 2006, 12:12
  5. [Win32/VC++ 8.0] Strange problems with qrc_*.cpp files
    By mloskot in forum Installation and Deployment
    Replies: 6
    Last Post: 6th March 2006, 10:28

Tags for this Thread

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.