Jean-Marc Lasgouttes wrote: > Angus> Just for information, the attached script allows me to build a > Angus> cross-compiled LyX/Win 1.3.x, although at the moment I mush use > Angus> the natively compiled qt3.dll if the executable is to actually > Angus> run. Still working on that one. > > Two small remarks: > > QTDIR=/home/angus/mingw-xcompile/qt3 > FRONTEND_FLAGS="--with-qt-dir='${QTDIR}'" > > Isn't it enough to just define QTDIR?
But I'm not 'exporting' QTDIR, I'm passing it to the configure script in a format it will understand and *store*. Thereafter, I can run make at my leisure without worrying whether QTDIR is set or not. Or do I miss something? > CONFIGURE="../configure --enable-maintainer-mode \ > > --enable-maintainer mode is now automatic with development versions. Thanks for the info. > Angus> Linking against the qt3.dll is still much slower than that of a > Angus> native linux binary (~20 mins, little changed from on Windows) > Angus> but the compiling is much quicker than on Windows and is only a > Angus> little slower than the native linux compilation. > > Did you succeed with static linking? Nope. Haven't tried. Do I need to re-compile (witness the QT_DIR, __declspec(dllimport) discussion) or can I just redo the linking step? If the latter, what flags should I pass to the compiler to link against libqt.a rather than qt3.dll? Seriously, I don't know. -- Angus