aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r--headergenerator.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index 1c761639a..0d7524cbd 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -395,7 +395,6 @@ void HeaderGenerator::finishGeneration()
s << "#include <memory>" << endl << endl;
if (usePySideExtensions())
s << "#include <qsignal.h>" << endl;
- writeExportMacros(s);
QStringList requiredTargetImports = TypeDatabase::instance()->requiredTargetImports();
if (!requiredTargetImports.isEmpty()) {
@@ -465,23 +464,6 @@ void HeaderGenerator::finishGeneration()
s << "#endif // " << includeShield << endl << endl;
}
-
-void HeaderGenerator::writeExportMacros(QTextStream& s)
-{
- QString macro = getApiExportMacro();
- s << "\
-#if defined _WIN32 || defined __CYGWIN__\n\
- #define " << macro << " __declspec(dllexport)\n\
-#else\n\
-#if __GNUC__ >= 4\n\
- #define " << macro << " __attribute__ ((visibility(\"default\")))\n\
-#else\n\
- #define " << macro << "\n\
-#endif\n\
-#endif\n\
-\n";
-}
-
void HeaderGenerator::writeSbkTypeFunction(QTextStream& s, const AbstractMetaEnum* cppEnum)
{
QString enumName = cppEnum->name();