Asger Ottar Alstrup wrote: > Hi, > > I'm getting closer. 24 unresolved externals. One of them is the dll > import issue with LyXLength. It seems I have to build a new static Qt to > fix this, so that takes quite a while.
NOOOOOOOOOOOOOO! Surely not. Just remove the Q_EXPORT macro from the class definition in the qt2 frontend. > Until then, I miss a few other symbols: > > class lyx::support::Package > char const * const lyx_version_info and friends. > > Those come from generated files, I guess. Can someone send me a copy for > Windows? Take the version of package.C.in that you have and rename the '%'-variables as something sensible. They're meant to be sensible last-ditch fallbacks to if all other searches have failed. $ diff -u src/support/package.C.in build/src/support/package.C --- src/support/package.C.in 2005-01-18 17:46:34.000000000 +0000 +++ build/src/support/package.C 2005-01-17 18:30:22.000000000 +0000 @@ -163,20 +163,20 @@ // configuration-time. string const top_srcdir() { - static string const dir("%TOP_SRCDIR%"); + static string const dir("/home/angus/lyx/devel"); return dir; } string const hardcoded_localedir() { - return string("%LOCALEDIR%"); + // On Windows, this will be "C:/Programs/LyX/Resources/locale" + return string("/home/angus/lyx-installed/share/locale"); } string const hardcoded_system_support_dir() { - return string("%LYX_DIR%"); + return string("/home/angus/lyx-installed/share/lyx-1.4.0cvs"); } } // namespace anon @@ -184,7 +184,7 @@ string const & Package::top_srcdir() const { - static string const dir("%TOP_SRCDIR%"); + static string const dir("/home/angus/lyx/devel"); return dir; } -- Angus