ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] QtRadio & brach4
@ 2007-11-29  8:52 Алексей Шенцев
  2007-11-29 17:44 ` Andrey Rahmatullin
  0 siblings, 1 reply; 3+ messages in thread
From: Алексей Шенцев @ 2007-11-29  8:52 UTC (permalink / raw)
  To: ALT Devel discussion list

Всем привет!
Попробовал пересобрать qtradio. И получил такое:
cc1plus: warning: command line option "-Wbad-function-cast" is valid for 
C/ObjC but not for C++
about.moc.cpp:12:2: error: #error "The header file 'about.h' doesn't include 
<QObject>."
about.moc.cpp:40: error: 'const QMetaObject About::staticMetaObject' is not a 
static member of 'class About'
about.moc.cpp:40: error: variable 'const QMetaObject About::staticMetaObject' 
has initializer but incomplete type
about.moc.cpp:45: error: prototype for 'const QMetaObject* About::metaObject() 
const' does not match any in class 'About'
about.h:35: error: candidate is: virtual QMetaObject* About::metaObject() 
const
about.moc.cpp:45: error: 'const QMetaObject* About::metaObject() const' cannot 
be overloaded
about.h:35: error: with 'virtual QMetaObject* About::metaObject() const'
about.moc.cpp: In member function 'const QMetaObject* About::metaObject() 
const':
about.moc.cpp:47: error: cannot convert 'QMetaObject* (*)()' to 'const 
QMetaObject*' in return
about.moc.cpp: At global scope:
about.moc.cpp:50: error: no 'void* About::qt_metacast(const char*)' member 
function declared in class 'About'
about.moc.cpp: In member function 'void* About::qt_metacast(const char*)':
about.moc.cpp:55: error: 'qt_metacast' is not a member of 'QDialog'
about.moc.cpp: At global scope:
about.moc.cpp:58: error: 'int About::qt_metacall' is not a static member 
of 'class About'
about.moc.cpp:58: error: incomplete type 'QMetaObject' used in nested name 
specifier
about.moc.cpp:58: error: expected primary-expression before 'int'
about.moc.cpp:58: error: expected primary-expression before 'void'
about.moc.cpp:58: error: initializer expression list treated as compound 
expression
about.moc.cpp:59: error: expected ',' or ';' before '{' token
make[2]: *** [about.moc.o] Error 1
make[2]: Leaving directory `/home/ashen/RPM/BUILD/QtRadio-0.8.1/qtradio'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ashen/RPM/BUILD/QtRadio-0.8.1'
make: *** [all] Error 2

В чём может быть проблема?
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] QtRadio & brach4
  2007-11-29  8:52 [devel] QtRadio & brach4 Алексей Шенцев
@ 2007-11-29 17:44 ` Andrey Rahmatullin
  2007-11-30  7:03   ` Алексей Шенцев
  0 siblings, 1 reply; 3+ messages in thread
From: Andrey Rahmatullin @ 2007-11-29 17:44 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

On Thu, Nov 29, 2007 at 11:52:52AM +0300, Алексей Шенцев wrote:
> about.moc.cpp:12:2: error: #error "The header file 'about.h' doesn't include 
> <QObject>."
> about.moc.cpp:40: error: 'const QMetaObject About::staticMetaObject' is not a 
> static member of 'class About'
Q_OBJECT в class About нету, что ли...

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> Потенциальные мантейнеры уже не первый раз жалуются, что join@ не
> торопится с ответом.
join никогда не торопился с ответом - на то есть масса веских причин.
		-- inger in devel@

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [devel] QtRadio & brach4
  2007-11-29 17:44 ` Andrey Rahmatullin
@ 2007-11-30  7:03   ` Алексей Шенцев
  0 siblings, 0 replies; 3+ messages in thread
From: Алексей Шенцев @ 2007-11-30  7:03 UTC (permalink / raw)
  To: ALT Linux Team development discussions

В сообщении от Thursday 29 November 2007 20:44:30 Andrey Rahmatullin 
написал(а):
> On Thu, Nov 29, 2007 at 11:52:52AM +0300, Алексей Шенцев wrote:
> > about.moc.cpp:12:2: error: #error "The header file 'about.h' doesn't
> > include <QObject>."
> > about.moc.cpp:40: error: 'const QMetaObject About::staticMetaObject' is
> > not a static member of 'class About'
>
> Q_OBJECT в class About нету, что ли...
Всё на много проще и банальней - я забыл переключиться с Qt4 на Qt3 ... :)
-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
XMPP: ashen@altlinux.org, AlexShen@jabber.ru
ICQ: 271053845

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-11-30  7:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-29  8:52 [devel] QtRadio & brach4 Алексей Шенцев
2007-11-29 17:44 ` Andrey Rahmatullin
2007-11-30  7:03   ` Алексей Шенцев

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git