[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Can't compile qt3 programs with debian



Hello,

using debian testing (sarge), I have the following qt debs installed:
markus@Eddie: > COLUMNS=120 dpkg -l \*qt\* | grep ii
ii  libqt2                   2.3.1-22                 
ii  libqt3                   3.0.3-20020329-1         
ii  libqt3-dev               3.0.3-20020329-1         
ii  libqt3-mt                3.0.3-20020329-1         
ii  libqt3-mt-mysql          3.0.3-20020329-1         
ii  libqt3-mysql             3.0.3-20020329-1         
ii  qt3-doc                  3.0.3-20020329-1         
ii  qt3-tools                3.0.3-20020329-1         

I extracted /usr/share/doc/qt3-doc/examples.tgz and tried to compile
some examples. None worked because of similar errors:

markus@Eddie: > qmake -o Makefile  aclock.pro   
markus@Eddie: > make
Some of the required modules (full-config) are not available.
Skipped.

With every example, one or the other module is missing.

But the worst is still coming: I can't compile (link) my own qt3
programs neither ! Every qt object gives me an "undefined reference"

I made a simple qt3 project with designer. Then:

markus@Eddie: > qmake -o Makefile Sticken.pro 
markus@Eddie: > make
g++  -o Sticken .obj/sticken.o .obj/StickenMainBaseFrm.o
.obj/qmake_image_collection.o .obj/moc_StickenMainBaseFrm.o 
-L/usr/share/qt/lib -L/usr/X11R6/lib -L/usr/lib -lqt -lXext -lX11
-lm.obj/sticken.o: In function `main':.obj/sticken.o(.text+0x1b):
undefined reference to `QApplication::QApplication[in-charge](int&,
char**)'.obj/sticken.o(.text+0x71): undefined reference to
`QObject::connect(QObject const*, char const*, QObject const*, char
const*)'.obj/sticken.o(.text+0x7a): undefined reference to
`QApplication::exec()'

This goes on over several pages.

Now I desperately need your help. I need to write some qt programs,
soon...

Many thanks in advance,
-- 
Markus Grunwald

Registered Linux User Nr 101577      http://www.grunwald.2xs.de
http://counter.li.org                (hier pgp/gpg public key)

Attachment: pgpPOLYgikY4I.pgp
Description: PGP signature


Reply to: