<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Angus Leeming schrieb:
<blockquote cite="midd47u13$i4d$1@sea.gmane.org" type="cite">
<pre wrap="">I don't know how to fix this one. linking of designer.exe is failing
because designercore.lib does not exist. (The .a file does exist however.)
$ ls lib
CVS libqassistantclient.a libqtmain.a qt3.dll
libdesignercore.a libqassistantclient.prl libqtmain.prl qt.prl
libdesignercore.prl libqnp.prl libqui.a README
libeditor.prl libqt.a libqui.prl
Failure message:
make[4]: Entering directory
`/home/angus/mingw-xcompile/qt3/tools/designer/app'
make[4]: *** No rule to make target
`/home/angus/mingw-xcompile/qt3/lib/designercore.lib', needed by
`../../../bin/designer.exe'. Stop.
make[4]: Leaving directory
`/home/angus/mingw-xcompile/qt3/tools/designer/app'</pre>
</blockquote>
This is because your QMAKESPEC=win32-g++-cross is evulated as
different from the original win32-g++. To avoid such problems I patched
the original win32-g++ mkspecs<br>
<br>
Add the blue lines to
/home/angus/mingw-xcompile/qt3/tools/designer/app/app.pro <br>
TEMPLATE = app<br>
TARGET = designer<br>
<br>
CONFIG -= moc<br>
DESTDIR = $$QT_BUILD_TREE/bin<br>
<br>
SOURCES += main.cpp<br>
INCLUDEPATH += ../designer<br>
LIBS += -ldesignercore -lqui -lqassistantclient -L$$QT_BUILD_TREE/lib<br>
win32 {<br>
RC_FILE = designer.rc<br>
win32-g++ {<br>
TARGETDEPS += $$QT_BUILD_TREE/lib/libdesignercore.a<br>
<font color="#3333ff"> } win32-g++-cross {<br>
TARGETDEPS += $$QT_BUILD_TREE/lib/libdesignercore.a<br>
</font> } else {<br>
TARGETDEPS += $$QT_BUILD_TREE/lib/designercore.lib<br>
}<br>
}<br>
mac {<br>
RC_FILE = designer.icns<br>
QMAKE_INFO_PLIST = Info_mac.plist<br>
staticlib:CONFIG -= global_init_link_order #yuck<br>
}<br>
<br>
<br>
target.path=$$bins.path<br>
INSTALLS += target<br>
<br>
<br>
Regards<br>
Ralf <br>
<br>
</body>
</html>