From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 20 Jul 2004 13:57:47 +0000 From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA?= To: community Message-Id: <20040720135747.414f1590.f0rk@mail.ru> X-Mailer: Sylpheed version 0.9.10 (GTK+ 1.2.10; i586-alt-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: 8bit X-Spam: Not detected Subject: [Comm] =?koi8-r?b?79vJwsvBINMgUXREZXNpZ25lcifP19PLyc0g0NLPxcvU?= =?koi8-r?b?z80=?= X-BeenThere: community@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: community@altlinux.ru List-Id: Mailing list for ALT Linux users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 08:40:54 -0000 Archived-At: List-Archive: List-Post: Создаю в 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 ***************************************************