Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include "qioseventdispatcher.h"
#include "qiosapplicationdelegate.h"
#include "qiosglobal.h"
#include <QtCore/qprocessordetection.h>
#include <QtCore/private/qcoreapplication_p.h>
#include <QtCore/private/qthread_p.h>
#include <qpa/qwindowsysteminterface.h>
import <Foundation/NSArray.h>
import <Foundation/NSString.h>
import <Foundation/NSProcessInfo.h>
import <Foundation/NSThread.h>
import <Foundation/NSNotification.h>
import <UIKit/UIApplication.h>
#include <setjmp.h>
#include <sys/mman.h>
Go to the source code of this file.
Classes | |
class | QIOSApplicationStateTracker |
Macros | |
#define | qAlignDown(val, align) val & ~(align - 1) |
#define | qAlignUp(val, align) qAlignDown(val + (align - 1), align) |
Enumerations | |
enum | SetJumpResult { kJumpPointSetSuccessfully = 0 , kJumpedFromEventDispatcherProcessEvents , kJumpedFromEventLoopExecInterrupt , kJumpedFromUserMainTrampoline } |
Functions | |
int | qt_main_wrapper (int argc, char *argv[]) |
int | main (int argc, char *argv[]) |
[2] | |
static void | __attribute__ ((noinline, noreturn)) user_main_trampoline() |
static bool | rootLevelRunLoopIntegration () |
bool | __attribute__ ((returns_twice)) QIOSJumpingEventDispatcher |
Variables | |
static const size_t | kBytesPerKiloByte = 1024 |
static const long | kPageSize = sysconf(_SC_PAGESIZE) |
static const char | kApplicationWillTerminateExitCode = char(SIGTERM | 0x80) |
Definition at line 30 of file qioseventdispatcher.mm.
#define qAlignUp | ( | val, | |
align ) qAlignDown(val + (align - 1), align) |
Definition at line 31 of file qioseventdispatcher.mm.
enum SetJumpResult |
Enumerator | |
---|---|
kJumpPointSetSuccessfully | |
kJumpedFromEventDispatcherProcessEvents | |
kJumpedFromEventLoopExecInterrupt | |
kJumpedFromUserMainTrampoline |
Definition at line 226 of file qioseventdispatcher.mm.
|
static |
Definition at line 236 of file qioseventdispatcher.mm.
References arg, arguments, QList< T >::count(), i, kJumpedFromUserMainTrampoline, main(), Q_UNLIKELY, qCDebug, and qFatal.
bool __attribute__ | ( | (returns_twice) | ) |
Definition at line 476 of file qioseventdispatcher.mm.
References RunLoopObserver< T >::addToMode(), QEventLoop::EventLoopExec, kApplicationWillTerminateExitCode, kJumpedFromEventDispatcherProcessEvents, kJumpedFromEventLoopExecInterrupt, kJumpPointSetSuccessfully, QEventDispatcherCoreFoundation::processEvents(), qApp, qCDebug, qFatal, and QT_APPLE_SCOPED_LOG_ACTIVITY.
int main | ( | int | argc, |
char * | argv[] ) |
[2]
[3]
[2]
[2]
[4]
[2]
This creates and populates a model with values from a string list then displays the contents of the model using a QListView widget. [0]
[0] [1]
[printing a custom type]
[printing a custom type] [storing a custom value]
[storing a custom value]
[retrieving a custom value]
[retrieving a custom value]
[0]
[0] [1]
[1]
[0]
[0]
[1]
[1] [2]
[2]
[0]
[0]
[2]
[2]
[22]
[22]
[3]
[3]
[4]
[4]
[10]
[10]
[qcinfo_stream]
[qcinfo_stream]
[11]
[11]
[12]
[12]
[13]
[13]
[qcinfo_printf]
[qcinfo_printf]
[14]
[14]
[15]
[15]
[16]
[16]
[17]
[17]
[0]
[0]
[1]
[1]
[2]
[2]
[Window class using revision]
[Window class using revision]
[0]
[0]
[0]
[0]
[1]
[1]
[2]
[2]
[0]
[0]
[write output] [start stream]
[start stream]
[write element]
[write element]
[finish stream]
[finish stream] [write output]
[1]
[1]
[0]
[0]
[0]
[0] //! [1]
[1]
[0]
[0] //! [1]
[1]
[0]
[0] //! [1]
[1] //! [2]
[2]
[0]
[0]
[1]
[1]
[Adding a resource]
[Adding a resource]
[Inserting an image with a cursor]
[Inserting an image with a cursor]
[Inserting an image using HTML]
[Inserting an image using HTML]
[0]
[0] //! [1]
[1]
[0]
[0] //! [1]
[1]
[2]
[2]
[3]
[3]
[4]
[4]
[0]
[0] //! [1]
[1] //! [2]
[2]
[3]
[3] //! [4]
[4]
[5]
[5]
[6]
[6] //! [7]
[7] //! [8]
[8]
[9]
[9] //! [10]
[10]
[11]
[11]
[12]
[12] //! [13]
[13] //! [14]
[14]
[15]
[15] //! [16]
[16]
[17]
[17]
[18]
[18] [19]
[19] [20]
[20] [21]
[21] [22]
[22]
[23]
[23]
[24]
[24]
[0]
[0]
[1]
[1]
[0]
[1]
[2] //! [3]
[0] //! [2] //! [4] //! [5]
[3] //! [6]
[4] //! [6] //! [7]
[7]
[5]
[8]
[0]
[0]
[1]
[1]
[2]
[2]
[0]
[1]
[1]
[2]
[2]
[3]
[3]
[0]
[1]
[0] //! [1] //! [2] //! [3]
[2]
[4]
[3] //! [4]
[5]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[properties]
[properties]
[cast]
[cast]
[findChild]
[findChild]
[QQmlComponent-b]
[QQmlComponent-b]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[0]
[1]
[2]
[Media Audio Input Device Enumeration]
[Media Audio Input Device Enumeration]
[Media Video Input Device Enumeration]
[Media Video Input Device Enumeration]
Definition at line 77 of file buffer.cpp.
References TestRunnerSystemSemaphore::acquire(), activityFromAndroidManifest(), QCommandLineParser::addHelpOption(), Parser::addIncludeDirs(), QGraphicsScene::addItem(), QCommandLineParser::addOption(), QCommandLineParser::addPositionalArgument(), QBoxLayout::addStretch(), QCommandLineParser::addVersionOption(), QBoxLayout::addWidget(), Qt::AlignHCenter, Options::androidPlatform, animation, Options::apkPath, app, QTextEdit::append(), Options::applicationBinary, Options::architectures, arg, args, QCoreApplication::arguments(), arguments, QList< T >::at(), QMediaDevices::audioInputs, Options::auxMode, QPalette::Base, QTextBlock::begin(), Qt::blue, QFont::Bold, Options::build, Automaton::build(), buildAndroidProject(), button, bytearray_ptr_ctor_snippet(), CannotBuildAndroidProject, CannotCopyAndroidExtraLibs, CannotCopyAndroidExtraResources, CannotCopyAndroidSources, CannotCopyAndroidTemplate, CannotCopyApk, CannotCopyGnuStl, CannotCopyQtFiles, CannotCreateRcc, CannotFindApplicationBinary, CannotInstallApk, CannotReadDependencies, CannotReadInputFile, CannotSignPackage, CannotUpdateAndroidFiles, category(), QLoggingCategory::categoryName(), QTextFragment::charFormat(), cleanAndroidFiles(), QAbstractButton::clicked(), QItemSelectionModel::Columns, component(), QObject::connect(), QHash< Key, T >::constBegin(), QHash< Key, T >::constEnd(), QTextFragment::contains(), containsApplicationBinary(), copyAndroidExtraLibs(), copyAndroidExtraResources(), copyAndroidSources(), copyAndroidTemplate(), Options::copyDependenciesOnly, copyPackage(), copyQtFiles(), copyStdCpp(), createApplication(), createRcc(), CTF, Options::currentArchitecture, QDateTime::currentDateTime(), QDir::currentPath(), cursor, QSqlQueryModel::data(), DEBUGPRINTF, Options::depFilePath, Options::deploymentMechanism, device, dir, directory, QFileSystemModel::directoryLoaded(), Qt::DisplayRole, QTextEdit::document, QElapsedTimer::elapsed(), Qt::endl(), engine, QQuickView::engine(), ETW, QJSEngine::evaluate(), QApplication::exec(), execAdbCommand(), execCommand(), QFile::exists(), Expectations::expectOne(), exposeMethod(), exposeProperty(), QFileInfo::fileName(), QDir::Files, filters, QObject::findChild(), QSplashScreen::finish(), QImage::Format_RGB32, QUrl::fromLocalFile(), QVariant::fromValue(), g_options, g_testInfo, getCurrentTimeString(), QJSEngine::globalObject(), Qt::green, groupBox, QMessageAuthenticationCode::hash(), hello, help_me(), Options::helpRequested, QDir::Hidden, i, Movie::id, QTextDocument::ImageResource, in, QAbstractTableModel::index(), Options::inputFileName, QMap< Key, T >::insert(), Options::installApk, installApk(), QLoggingCategory::installFilter(), Options::installLocation, QCoreApplication::installTranslator(), InvalidArguments, QMetaObject::invokeMethod(), Parser::isEmpty(), QString::isEmpty(), QCommandLineParser::isSet(), QTextFragment::isValid(), CommandLineOptions::isValid(), it, item, QTextCursor::KeepAnchor, Options::keyStore, layout, QTextFragment::length(), list, LTTNG, main_snippet(), MainWindow(), map, QPixmap::mask(), model, myCategoryFilter(), QJSEngine::newQObject(), NoError, QDir::NoSymLinks, QElapsedTimer::nsecsElapsed(), number, QString::number(), o, obtainSdkVersion(), oldCategoryFilter, out, output, Options::outputDirectory, packageNameFromAndroidManifest(), packagePath(), panic(), Parser::parse(), parseArgs(), parseArgs(), parseOptions(), parseOptions(), parseProvider(), parseTestArgs(), pixmap, QTextFragment::position(), QCommandLineParser::positionalArguments(), printHelp(), printHelp(), CommandLineOptions::printHelp(), CommandLineOptions::printHelpOnly(), printLogcat(), printLogcatCrashBuffer(), QCommandLineParser::process(), QCoreApplication::processEvents(), pullFiles(), Q_ARG, Q_RETURN_ARG, Q_UNLIKELY, Q_UNUSED, qCCritical, qCDebug, qCFatal, qCInfo, qCritical, qCWarning, qDebug, qerr(), qobject_cast< QQuickItem * >(), qout(), qPrintable, QPushButton, qRgb(), qSetMessagePattern(), QStringLiteral, QT_REQUIRE_VERSION, QCoreApplication::quit(), QQmlProperty::read(), read_datastream_snippets(), readDependencies(), readInputFile(), QIODeviceBase::ReadOnly, readXmlFile(), rect, Qt::red, QSettings::registerFormat(), TestRunnerSystemSemaphore::release(), QFile::remove(), QWidget::resize(), QDir::Reversed, QQuickView::rootContext(), QQuickView::rootObject(), QSqlQueryModel::rowCount(), QItemSelectionModel::Rows, runRcc(), runUic(), scene, QItemSelectionModel::Select, QItemSelectionModel::select(), selection, QTextBlockFormat::setAlignment(), QTextTableFormat::setAlignment(), QCommandLineParser::setApplicationDescription(), QCoreApplication::setApplicationName(), QCoreApplication::setApplicationVersion(), setBuffer_snippet(), QTextTableFormat::setCellPadding(), QTextTableFormat::setCellSpacing(), QTextCursor::setCharFormat(), QQmlContext::setContextProperty(), CppGenerator::setCopyright(), Options::setCurrentQtArchitecture(), QAbstractItemModel::setData(), CppGenerator::setDebugInfo(), QHashSeed::setDeterministicGlobalSeed(), QTextEdit::setDocument(), FilterObject::setFilteredObject(), QLoggingCategory::setFilterRules(), QSortFilterProxyModel::setFilterWildcard(), QTextCharFormat::setFontItalic(), QTextCharFormat::setFontUnderline(), QTextCharFormat::setFontWeight(), QTextFormat::setForeground(), QTextEdit::setHtml(), setLayout(), QAbstractItemView::setModel(), QTableView::setModel(), QTreeView::setModel(), QTextImageFormat::setName(), QTextCursor::setPosition(), QObject::setProperty(), QJSValue::setProperty(), QTreeView::setRootIndex(), QGraphicsScene::setSceneRect(), QTreeView::setSelectionModel(), QQuickView::setSource(), QApplication::setStyle(), QLabel::setText(), settings, QVariant::setValue(), CppGenerator::setWarningsAreErrors(), QWidget::setWindowTitle(), QCryptographicHash::Sha256, QWindow::show(), QGraphicsItem::show(), QWidget::show(), sigHandler(), SIGNAL, SignedAPK, signPackage(), QTimer::singleShot, QDir::Size, QFileInfo::size(), QList< T >::size(), SLOT, spinBox, splash, split(), QElapsedTimer::start(), QTimer::start(), QTextCursor::Start, startProcess(), SyntaxErrorOrHelpRequested, testRunnerLock, text, QIODeviceBase::Text, QLineEdit::textChanged(), QTextEdit::textCursor(), textEdit, timer, Options::timer, Options::timing, title, QItemSelectionModel::Toggle, QTextFormat::toImageFormat(), QVariant::toInt(), QDir::toNativeSeparators(), QJSValue::toNumber(), QVariant::toString(), tr, QCoreApplication::translate(), QIODeviceBase::Truncate, Options::Unbundled, uninstallTestPackage(), UnsignedAPK, updateAndroidFiles(), usbEntries(), QSettings::UserScope, QCommandLineParser::value(), vbox, QMediaDevices::videoInputs, view, waitForStartedAndFinished(), widget, window(), withComponent(), QTextCursor::WordRight, QQmlProperty::write(), Parser::write(), write_datastream_snippets(), writeCtf(), writeDependencyFile(), writeEtw(), writeLttng(), QIODeviceBase::WriteOnly, and writeXmlFile().
int qt_main_wrapper | ( | int | argc, |
char * | argv[] ) |
Definition at line 186 of file qioseventdispatcher.mm.
References infoPlistValue(), kBytesPerKiloByte, Q_UNUSED, qCDebug, qDebug, qMax(), and QT_APPLE_LOG_ACTIVITY.
|
static |
Definition at line 276 of file qioseventdispatcher.mm.
Referenced by QIOSEventDispatcher::create().
|
static |
Definition at line 376 of file qioseventdispatcher.mm.
Referenced by __attribute__().
|
static |
Definition at line 33 of file qioseventdispatcher.mm.
Referenced by qt_main_wrapper().
|
static |
Definition at line 34 of file qioseventdispatcher.mm.