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>.
Loading...
Searching...
No Matches
qjsengine.cpp File Reference

(59c5038af49b82a8ee9c93455cdf093fa097aec8)

#include "qjsengine.h"
#include "qjsengine_p.h"
#include "qjsvalue.h"
#include "qjsvalue_p.h"
#include "private/qv4engine_p.h"
#include "private/qv4mm_p.h"
#include "private/qv4errorobject_p.h"
#include "private/qv4globalobject_p.h"
#include "private/qv4script_p.h"
#include "private/qv4runtime_p.h"
#include <private/qv4dateobject_p.h>
#include <private/qqmlbuiltinfunctions_p.h>
#include <private/qqmldebugconnector_p.h>
#include <private/qv4qobjectwrapper_p.h>
#include <private/qv4qmetaobjectwrapper_p.h>
#include <private/qv4stackframe_p.h>
#include <private/qv4module_p.h>
#include <private/qv4symbol_p.h>
#include <QtCore/qdatetime.h>
#include <QtCore/qmetaobject.h>
#include <QtCore/qstringlist.h>
#include <QtCore/qvariant.h>
#include <QtCore/qcoreapplication.h>
#include <QtCore/qdir.h>
#include <QtCore/qfile.h>
#include <QtCore/qfileinfo.h>
#include <QtCore/qpluginloader.h>
#include <qthread.h>
#include <qmutex.h>
#include <qwaitcondition.h>
#include <private/qqmlglobal_p.h>
#include <qqmlengine.h>
#include "moc_qjsengine.cpp"
+ Include dependency graph for qjsengine.cpp:

Go to the source code of this file.

Functions

static QT_BEGIN_NAMESPACE void checkForApplicationInstance ()
 
static QUrl urlForFileName (const QString &fileName)
 

Function Documentation

◆ checkForApplicationInstance()

static QT_BEGIN_NAMESPACE void checkForApplicationInstance ( )
static

Definition at line 324 of file qjsengine.cpp.

References QCoreApplication::instance(), and qFatal.

Referenced by QJSEngine::QJSEngine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ urlForFileName()

static QUrl urlForFileName ( const QString & fileName)
static

Definition at line 463 of file qjsengine.cpp.

References fileName, QUrl::fromLocalFile(), QUrl::setPath(), QUrl::setScheme(), and url.

Referenced by QJSEngine::evaluate(), and QJSEngine::importModule().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: