ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Алексей Шенцев" <ashen@nsrz.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] QtRadio & brach4
Date: Thu, 29 Nov 2007 11:52:52 +0300
Message-ID: <200711291152.52538.ashen@nsrz.ru> (raw)

Всем привет!
Попробовал пересобрать 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


             reply	other threads:[~2007-11-29  8:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29  8:52 Алексей Шенцев [this message]
2007-11-29 17:44 ` Andrey Rahmatullin
2007-11-30  7:03   ` Алексей Шенцев

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200711291152.52538.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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