<!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&nbsp; 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&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = app<br>
TARGET&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = designer<br>
<br>
CONFIG&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -= moc<br>
DESTDIR&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = $$QT_BUILD_TREE/bin<br>
<br>
SOURCES&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; += main.cpp<br>
INCLUDEPATH&nbsp;&nbsp;&nbsp;&nbsp; += ../designer<br>
LIBS&nbsp;&nbsp;&nbsp; += -ldesignercore -lqui -lqassistantclient -L$$QT_BUILD_TREE/lib<br>
win32 {<br>
&nbsp;&nbsp; RC_FILE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = designer.rc<br>
&nbsp;&nbsp; win32-g++ {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TARGETDEPS += $$QT_BUILD_TREE/lib/libdesignercore.a<br>
<font color="#3333ff">&nbsp; } win32-g++-cross {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TARGETDEPS += $$QT_BUILD_TREE/lib/libdesignercore.a<br>
</font>&nbsp;&nbsp; } else {<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TARGETDEPS += $$QT_BUILD_TREE/lib/designercore.lib<br>
&nbsp;&nbsp; }<br>
}<br>
mac {<br>
&nbsp;&nbsp; RC_FILE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = designer.icns<br>
&nbsp;&nbsp; QMAKE_INFO_PLIST = Info_mac.plist<br>
&nbsp;&nbsp; staticlib:CONFIG -= global_init_link_order #yuck<br>
}<br>
<br>
<br>
target.path=$$bins.path<br>
INSTALLS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; += target<br>
<br>
<br>
Regards<br>
&nbsp;Ralf <br>
<br>
</body>
</html>