diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-06-11 12:21:15 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-06-11 14:49:12 (GMT) |
commit | e311bd0b23cf8696f284b8da3dcc5a591c7b689e (patch) | |
tree | e9bcddf734f63acf04b2387d665d856764592a07 /src/xmlpatterns | |
parent | 6f5f6e1455162a890ff9ae0adaeab38216b7f103 (diff) | |
download | Qt-e311bd0b23cf8696f284b8da3dcc5a591c7b689e.zip Qt-e311bd0b23cf8696f284b8da3dcc5a591c7b689e.tar.gz Qt-e311bd0b23cf8696f284b8da3dcc5a591c7b689e.tar.bz2 |
Allow to build Qt in static with mingw
Some functions were marked with Q_DECL_IMPORT where they should just be
Q_CORE_EXPORT. The reason is that this macro is expanded to nothing in
case of static builds whereas Q_DECL_IMPORT isn't (it is a dllimport).
That leads the linker to try to import it and it shouldn't.
Task-number: QTBUG-10791
Reviewed-by: gabi
Diffstat (limited to 'src/xmlpatterns')
-rw-r--r-- | src/xmlpatterns/data/qdecimal_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmlpatterns/data/qdecimal_p.h b/src/xmlpatterns/data/qdecimal_p.h index d17b647..2a5e0b3 100644 --- a/src/xmlpatterns/data/qdecimal_p.h +++ b/src/xmlpatterns/data/qdecimal_p.h @@ -61,7 +61,7 @@ QT_BEGIN_NAMESPACE /** * Defined in QtCore's qlocale.cpp. */ -Q_DECL_IMPORT extern char *qdtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp); +Q_CORE_EXPORT char *qdtoa(double d, int mode, int ndigits, int *decpt, int *sign, char **rve, char **resultp); namespace QPatternist { |