Qt3 problems: missing mkspecs? missing libqt-mt.dll.a?

Bob Tanner kde-cygwin@mail.kde.org
Wed, 13 Nov 2002 17:07:54 -0600


Installed qt-3.0.4b1.tar.bz2 and noticed that the qmake make-specs where
missing.

I just copied them from my linux box to the /usr/lib/qt3/mkspecs directory and
that fixed my qmake problems.

I'm took a very simple qt-designer project from my linux box to cygwin. 

$ qmake -o Makefile
$ make 
<snip>

g++  -o multiclip .obj/main.o .obj/multiclipform.o .obj/moc_multiclipform.o
-L/usr/lib/qt3/lib -L/usr/X11R6/lib -lqt-mt -lXext -lX11 -lm
/usr/lib/qt3/lib/libqt-mt.dll.a: file not recognized: File truncated
collect2: ld returned 1 exit status
make: *** [multiclip] Error 1

$ pwd
/usr/lib/qt3/lib

$ ls -al
total 10836
drwxrwxrwx    2 blah None         4096 Nov 13 16:41 .
drwxrwxrwx    7 blah None         4096 Nov 13 16:44 ..
-rwxrwxrwx    1 blah None           41 Apr 18  2002 .cvsignore
-rwxrwxrwx    1 blah None           63 Apr 18  2002 README
-rwxrwxrwx    1 blah None          122 Jun 16 14:32 editor-1.prl
-rwxrwxrwx    1 blah None       231806 Jun 23 14:35 libeditor.dll.a
-rwxrwxrwx    1 blah None            0 Jun 16 14:04 libqt-mt.dll.a
-rwxrwxrwx    1 blah None     10697764 Jun 21 06:03 libqt.dll.a

The libqt-mt.dll.a is 0 bytes. I double-check the .tar.bz2 and the file is 0
bytes there as well.

Is this because cygwin does not support threads?


-- 
Bob Tanner <tanner@real-time.com>         | Phone : (952)943-8700
http://www.mn-linux.org, Minnesota, Linux | Fax   : (952)943-8500
http://www.tcwug.org, Minnesota, Wireless | Coding isn't a crime. 
Fingerprint: 02E0 2734 A1A1 DBA1 0E15  623D 0036 7327 93D9 7DA3