1
0
Fork 0
forked from len0rd/rockbox

Theme Editor: fix building on Windows.

The imported qtfindreplacedialog assumes getting compiled as library.
Including the files directly causes problems on Windows because of its
__declspec() handling.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27559 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-07-25 18:06:41 +00:00
parent 4e8ef93509
commit 62f661829b
2 changed files with 6 additions and 0 deletions

View file

@ -8,10 +8,14 @@
#include <QtCore/qglobal.h>
#ifndef FINDREPLACE_NOLIB
#if defined(FINDREPLACE_LIBRARY)
# define FINDREPLACESHARED_EXPORT Q_DECL_EXPORT
#else
# define FINDREPLACESHARED_EXPORT Q_DECL_IMPORT
#endif
#else
#define FINDREPLACESHARED_EXPORT
#endif
#endif // FINDREPLACE_GLOBAL_H

View file

@ -23,6 +23,8 @@ INCLUDEPATH += models
INCLUDEPATH += graphics
INCLUDEPATH += quazip
INCLUDEPATH += qtfindreplacedialog
DEFINES += FINDREPLACE_NOLIB
cross {
message("Crossbuilding for W32 binary")