Qt 4.8
Classes | Functions
qlibrary_p.h File Reference
#include "QtCore/qt_windows.h"
#include "QtCore/qlibrary.h"
#include "QtCore/qpointer.h"
#include "QtCore/qstringlist.h"
#include "QtCore/qplugin.h"
#include "QtCore/qsharedpointer.h"

Go to the source code of this file.

Classes

class  QLibraryPrivate
 

Functions

bool qt_debug_component ()
 

Function Documentation

◆ qt_debug_component()

bool qt_debug_component ( )

Definition at line 1319 of file qlibrary.cpp.

Referenced by QLibraryPrivate::isPlugin(), QLibraryPrivate::loadPlugin(), qt_parse_pattern(), QPluginLoader::setFileName(), QLibraryPrivate::unload(), QFactoryLoader::update(), and QFactoryLoader::updateDir().

1320 {
1321  static int debug_env = -1;
1322  if (debug_env == -1)
1323  debug_env = QT_PREPEND_NAMESPACE(qgetenv)("QT_DEBUG_PLUGINS").toInt();
1324 
1325  return debug_env != 0;
1326 }
Q_CORE_EXPORT QByteArray qgetenv(const char *varName)
static int toInt(const QByteArray &str)
Definition: generator.cpp:167
#define QT_PREPEND_NAMESPACE(name)
This macro qualifies identifier with the full namespace.
Definition: qglobal.h:87