diff options
author | Fawzi Mohamed <fawzi.mohamed@digia.com> | 2014-07-10 10:59:32 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-07-10 15:28:48 +0200 |
commit | 916dd4b2ceef5a420cf9713532feabd510c617ad (patch) | |
tree | 2d9ee02d2a142889a029c1040e036813dcdc36b9 /src/lib/qtprofilesetup/templates | |
parent | 840c3d9db7db82332fcb2372aaf43c19575553c0 (diff) |
ios: correctly renames main
we still use the #define for this, which might change also unrelated
uses of main. We might want to use a pre link step to rename the
mangled symbol as done by mkspecs/macx-ios-clang/rename_main.sh
Change-Id: Ib013a506109ad472bdc202c9470767493ad5cdcb
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/qtprofilesetup/templates')
-rw-r--r-- | src/lib/qtprofilesetup/templates/core.qbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/qtprofilesetup/templates/core.qbs b/src/lib/qtprofilesetup/templates/core.qbs index ded719e5b..42adea266 100644 --- a/src/lib/qtprofilesetup/templates/core.qbs +++ b/src/lib/qtprofilesetup/templates/core.qbs @@ -74,7 +74,7 @@ Module { defines.push("QT_NO_DEBUG"); if (qbs.targetOS.contains("ios")) defines = defines.concat(["DARWIN_NO_CARBON", "QT_NO_CORESERVICES", "QT_NO_PRINTER", - "QT_NO_PRINTDIALOG", "main=qt_main"]); + "QT_NO_PRINTDIALOG", "main=qtmn"]); return defines; } cpp.includePaths: { |