LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-16-2005, 12:06 PM   #1
noteventime
Member
 
Registered: Mar 2005
Location: a small planet in the vicinity of Betelgeuse
Distribution: ArchLinux
Posts: 53

Rep: Reputation: 15
Unhappy QT class compile error.


Hello,
I'm doing a tutorial on QT/KDE programming and (often) when i try to create a new Q_OBJECT class i get errors like these

stuff.moc.cpp: In static member function ‘static QMetaObject* stuff::staticMetaObject()’:
stuff.moc.cpp:54: error: ‘staticMetaObject’ is not a member of ‘QCanvasSprite’
stuff.moc.cpp: In member function ‘virtual void* Station::qt_cast(const char*)’:
stuff.moc.cpp:72: error: ‘qt_cast’ is not a member of ‘QCanvasSprite’
stuff.moc.cpp: In member function ‘virtual bool Station::qt_invoke(int, QUObject*)’:
stuff.moc.cpp:77: error: ‘qt_invoke’ is not a member of ‘QCanvasSprite’
stuff.moc.cpp: In member function ‘virtual bool Station::qt_emit(int, QUObject*)’:
stuff.moc.cpp:82: error: ‘qt_emit’ is not a member of ‘QCanvasSprite’
stuff.moc.cpp: In member function ‘virtual bool Station::qt_property(int, int, QVariant*)’:
stuff.moc.cpp:88: error: ‘qt_property’ is not a member of ‘QCanvasSprite’

The class is derived from QCanvasSprite, as you probably can see, and i used the Q_OBJECT macro.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tribes 2 Connection Challenge Error (Class B IP Address) sloik2000 Linux - Games 2 04-08-2007 04:52 PM
Error loading class message generated by applet BobBuchanan Programming 0 06-27-2004 05:39 PM
Compile to .class file AMMullan Programming 1 03-31-2004 05:59 AM
BlackBox.class & VerifierBug.class virus ??? dalek Linux - Security 4 02-29-2004 09:55 AM
sendmail-8.12.11 hash class error tanhs Red Hat 0 02-27-2004 01:27 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration