|
|
Hi,
i am trying to compile the first project of the
Qt Designer Quick Start and receiving the folling
error message:
$ nmake /f Makefile
Microsoft (R) Program Maintenance Utility, Version 8.00.50727.42
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.
E:\Programme\qt-win-free-mingw-3.3.4\bin\uic.exe
conversionform.ui -i co
nversionform.h -o conversionform.cpp
g++ -c -mthreads -w -O2 -fexceptions -frtti -DUNICODE -DQT_DLL
-DQT_THR
EAD_SUPPORT -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
-I"E:\P
rogramme\qt-win-free-mingw-3.3.4\include" -I"."
-I"tmp\moc\release-shared-mt" -I
"E:\Programme\qt-win-free-mingw-3.3.4\mkspecs\win32-g++" -o
tmp\obj\release-shar
ed-mt\conversionform.o conversionform.cpp
E:\Programme\qt-win-free-mingw-3.3.4\bin\moc.exe
conversionform.h -o tmp
\moc\release-shared-mt\moc_conversionform.cpp
g++ -c -mthreads -w -O2 -fexceptions -frtti -DUNICODE -DQT_DLL
-DQT_THR
EAD_SUPPORT -DQT_ACCESSIBILITY_SUPPORT -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
-I"E:\P
rogramme\qt-win-free-mingw-3.3.4\include" -I"."
-I"tmp\moc\release-shared-mt" -I
"E:\Programme\qt-win-free-mingw-3.3.4\mkspecs\win32-g++" -o
tmp\obj\release-shar
ed-mt\moc_conversionform.o
tmp\moc\release-shared-mt\moc_conversionform.cpp
g++ -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtim
e-pseudo-reloc -mthreads -Wl,-s -Wl,-subsystem,windows -e
__Z19QtWinMainCRTStart
upv -o metric.exe tmp\obj\release-shared-mt\main.o
tmp\obj\release-shared-mt\co
nversionform.o tmp\obj\release-shared-mt\moc_conversionform.o
-L"C:\tmp\qt-3\lib
" -lqtmain -lqt-mt -lopengl32 -lglu32 -lkernel32 -luser32 -lgdi32
-lcomdlg32 -la
dvapi32 -lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm -lwsock32
-lwinspool
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../i686-pc-cygwin/bin/ld:
cannot find
-lqtmain
collect2: ld returned 1 exit status
NMAKE : fatal error U1077: "E:\Programme\Cygwin\bin\g++.EXE":
Rückgabe-Code "0x1
"
Stop.
Administrator@voodoo5
/cygdrive/e/programme/qt-win-free-mingw-3.3.4/tutorial/met
ric
$
Please can anybody give me a hint what exactly he misses?
In the lib directory of qt there are these 2 files:
libqtmain.a
libqtmain.prl
Can the linker not find those files or is something else wrong?
Thanks in advice
Pascal Bleyler
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|
|