ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Андрей <f0rk@mail.ru>
To: community <community@altlinux.ru>
Subject: [Comm] Ошибка с QtDesigner'овским проектом
Date: Tue, 20 Jul 2004 13:57:47 +0000
Message-ID: <20040720135747.414f1590.f0rk@mail.ru> (raw)

Создаю в QtDesigner'е пустую форму.
(qt3-designer-3.3.2-alt1)
Создаю test.pro, к нему диалог-окно (создаются формы, модули).
Сохраняю все, даю qmake -o Makefile test.pro, создается Makefile, все
как надо...
Затем даю make и компиляция валится с ошибкой:
[taw@localhost test]$ qmake -o Makefile test.pro
[taw@localhost test]$ make
/usr/lib/qt3//bin/uic form1.ui -o .ui/form1.h
/usr/lib/qt3//bin/uic form1.ui -i form1.h -o .ui/form1.cpp
g++ -c -pipe -Wall -W -pipe -Wall -O2 -march=i586 -mcpu=i686
-DGLX_GLXEXT_LEGACY -fno-exceptions  -DQT_NO_DEBUG
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3//include -I.ui/ -I.
-I.moc/ -o .obj/form1.o .ui/form1.cpp/usr/lib/qt3//bin/moc .ui/form1.h
-o .moc/moc_form1.cpp g++ -c -pipe -Wall -W -pipe -Wall -O2 -march=i586
-mcpu=i686 -DGLX_GLXEXT_LEGACY -fno-exceptions  -DQT_NO_DEBUG
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/lib/qt3//include -I.ui/ -I.
-I.moc/ -o .obj/moc_form1.o .moc/moc_form1.cpp g++  -o test .obj/form1.o
.obj/moc_form1.o   -L/usr/lib/qt3//lib -L/usr/X11R6/lib -lqt-mt -lXext
-lX11
-lm/usr/lib/gcc-lib/i586-alt-linux/3.3.3/../../../crt1.o(.text+0x18): In
function `_start':: undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [test] Ошибка 1

gcc 3.3.3-alt5.
Что не так?
Спасибо за помощь.
-- 
С уважением, Андрей aka f0rk
EMAIL:  f0rk@mail.ru
ICQ:       201045832
***************************************************
   Powered By ALT Linux Sisyphus 20040524       
   Working linux kernel: 2.6.6-wks26-up-alt2    
***************************************************


             reply	other threads:[~2004-07-20 13:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-20 13:57 Андрей [this message]
2004-07-20  9:39 ` Denis Dubentsov (Vector)

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=20040720135747.414f1590.f0rk@mail.ru \
    --to=f0rk@mail.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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