From b5e4f06e9f2f2a21e625e7103e37a0a80bf88e9c Mon Sep 17 00:00:00 2001 From: Milian Wolff Date: Mon, 19 Dec 2016 14:26:14 +0100 Subject: [PATCH] Fix linking on recent Qt for iOS The qtmn hack is not required anymore. --- examples/QZXingLive/main.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/examples/QZXingLive/main.cpp b/examples/QZXingLive/main.cpp index 03f55da..7dc5dcf 100644 --- a/examples/QZXingLive/main.cpp +++ b/examples/QZXingLive/main.cpp @@ -7,14 +7,7 @@ #include #include "QZXingFilter.h" - -#if defined(Q_OS_IOS) -/// Reference for iOS entry point: -/// http://stackoverflow.com/questions/25353686/you-are-creating-qapplication-before-calling-uiapplicationmain-error-on-ios -extern "C" int qtmn(int argc, char **argv) -#else int main(int argc, char *argv[]) -#endif { QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps); QGuiApplication app(argc, argv);