mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] update: Qt 4.7.0 RC1


From: Luis Saavedra
Subject: Re: [Mingw-cross-env-list] update: Qt 4.7.0 RC1
Date: Mon, 30 Aug 2010 06:00:10 -0400



2010/8/29 Mark Brand <address@hidden>
Hi Luis,


I'm trying to add the information to make a debug but I fail, I tried adding "debug_and_release" in the ./configure options (in qt.mk file) but still get the same error in compilling my program:

/opt/mingw/usr/lib/gcc/i686-pc-mingw32/4.5.0/../../../../i686-pc-mingw32/bin/ld: cannot find -lqtmaind

I think that is not build or not installed the libqtmaind.a object, any suggestions?


Thanks for bringing this to my attention. The configure script needed some changes for -debug-and-release, which are now in the development repo:

http://hg.savannah.gnu.org/hgweb/mingw-cross-env/rev/c1fccfe46fc2

You can get the changes with the usual "hg pull -u".

Could you let me know if this solves the problem?


Thanks you!!! that solve my problem to make a debug info, but generates another bug (not present in the last beta1), when I try to compile with svg suport:

/opt/mingw/usr/i686-pc-mingw32/lib/libQtSvg.a(qsvghandler.o):qsvghandler.cpp:(.text+0x2de): undefined reference to `__imp___Z7qstrtodPKcPS0_Pb'

trying to fix that I encountered the following change in qsvghandler.cpp:

--- qt-everywhere-opensource-src-4.7.0-beta1/src/svg/qsvghandler.cpp    2010-06-14 23:37:15.000000000 -0400
+++ qt-everywhere-opensource-src-4.7.0-rc1/src/svg/qsvghandler.cpp      2010-08-24 09:50:27.000000000 -0400
@@ -74,7 +74,7 @@
 static const char *qt_inherit_text = "inherit";
 #define QT_INHERIT QLatin1String(qt_inherit_text)

-double qstrtod(const char *s00, char const **se, bool *ok);
+Q_DECL_IMPORT double qstrtod(const char *s00, char const **se, bool *ok);
 
 // ======== duplicated from qcolor_p


and seeing the documentation of QT[1] about Q_DECL_IMPORT I can not understand what affects this macro to static compilation, and I think the solution is create a momentary revert patch, but to probe this I need another 6 hours of qt compilation snif snif

regards,
Luis

[1] http://doc.trolltech.com/4.6/sharedlibrary.html

regards,

Mark


reply via email to

[Prev in Thread] Current Thread [Next in Thread]