QT-tutorials

Janne L�hteenm�ki janza at pc028.otanner.as.tampere.fi
Sat Jun 10 07:48:18 BST 2000


hi!

I've been going through the tutorials in QT documentation. When I try to make
tutorial 7,  "One Thing Leads to Another" I get the following errors:


/bin/sh ../libtool --mode=link g++  -O0 -g3 -Wall   -o qt_tutorial7 -L/usr/X11R6/lib   main.o lcdrange.o -lqt -lXext -lX11  
g++ -O0 -g3 -Wall -o qt_tutorial7 main.o lcdrange.o  -L/usr/X11R6/lib -lqt -lXext -lX11
lcdrange.o: In function `LCDRange::LCDRange(QWidget *, char const *)':
/home/janza/develop/qt_tutorial/qt_tutorial7/qt_tutorial7/lcdrange.cpp:13: undefined reference to `LCDRange::QPaintDevice virtual table'
/home/janza/develop/qt_tutorial/qt_tutorial7/qt_tutorial7/lcdrange.cpp:13: undefined reference to `LCDRange virtual table'
collect2: ld returned 1 exit status
gmake: *** [qt_tutorial7] Error 1
*** failed ***

There is a makefile included in the tutorial project:


#############################################################################
# $Id: Makefile,v 2.6 1998/02/27 14:03:19 hanord Exp $
#
# Win32 Makefile, requires Microsoft nmake.
#
# Copyright (C) 1998 by Troll Tech AS.  All rights reserved.
#
#############################################################################

PROJECT = t7

!INCLUDE $(QTDIR)\Makefile.inc


But I don't know what to do with it since KDevelop generates it's own makefile
for QT-project...

-- 
-janza




More information about the KDevelop mailing list