mirror of
https://github.com/status-im/qzxing.git
synced 2025-02-01 13:46:00 +00:00
Fix linking on recent Qt for iOS
The qtmn hack is not required anymore.
This commit is contained in:
parent
0e10d8aeca
commit
b5e4f06e9f
@ -7,14 +7,7 @@
|
||||
#include <Qt>
|
||||
#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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user