forked from qt-creator/qt-creator
Initialiaze everything.
This commit is contained in:
@@ -388,6 +388,8 @@ QtVersion::QtVersion(const QString &name, const QString &path, int id,
|
|||||||
m_isAutodetected(isAutodetected),
|
m_isAutodetected(isAutodetected),
|
||||||
m_autodetectionSource(autodetectionSource),
|
m_autodetectionSource(autodetectionSource),
|
||||||
m_hasDebuggingHelper(false),
|
m_hasDebuggingHelper(false),
|
||||||
|
m_mkspecUpToDate(false),
|
||||||
|
m_versionInfoUpToDate(false),
|
||||||
m_notInstalled(false),
|
m_notInstalled(false),
|
||||||
m_defaultConfigIsDebug(true),
|
m_defaultConfigIsDebug(true),
|
||||||
m_defaultConfigIsDebugAndRelease(true),
|
m_defaultConfigIsDebugAndRelease(true),
|
||||||
@@ -409,12 +411,35 @@ QtVersion::QtVersion(const QString &name, const QString &path,
|
|||||||
m_autodetectionSource(autodetectionSource),
|
m_autodetectionSource(autodetectionSource),
|
||||||
m_hasDebuggingHelper(false),
|
m_hasDebuggingHelper(false),
|
||||||
m_mkspecUpToDate(false),
|
m_mkspecUpToDate(false),
|
||||||
m_versionInfoUpToDate(false)
|
m_versionInfoUpToDate(false),
|
||||||
|
m_notInstalled(false),
|
||||||
|
m_defaultConfigIsDebug(true),
|
||||||
|
m_defaultConfigIsDebugAndRelease(true),
|
||||||
|
m_hasExamples(false),
|
||||||
|
m_hasDemos(false),
|
||||||
|
m_hasDocumentation(false)
|
||||||
{
|
{
|
||||||
m_id = getUniqueId();
|
m_id = getUniqueId();
|
||||||
setPath(path);
|
setPath(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
QtVersion::QtVersion()
|
||||||
|
: m_name(QString::null),
|
||||||
|
m_id(-1),
|
||||||
|
m_isAutodetected(false),
|
||||||
|
m_hasDebuggingHelper(false),
|
||||||
|
m_mkspecUpToDate(false),
|
||||||
|
m_versionInfoUpToDate(false),
|
||||||
|
m_notInstalled(false),
|
||||||
|
m_defaultConfigIsDebug(true),
|
||||||
|
m_defaultConfigIsDebugAndRelease(true),
|
||||||
|
m_hasExamples(false),
|
||||||
|
m_hasDemos(false),
|
||||||
|
m_hasDocumentation(false)
|
||||||
|
{
|
||||||
|
setPath(QString::null);
|
||||||
|
}
|
||||||
|
|
||||||
QtVersion::~QtVersion()
|
QtVersion::~QtVersion()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@@ -52,9 +52,8 @@ public:
|
|||||||
bool isAutodetected = false, const QString &autodetectionSource = QString());
|
bool isAutodetected = false, const QString &autodetectionSource = QString());
|
||||||
QtVersion(const QString &name, const QString &path, int id,
|
QtVersion(const QString &name, const QString &path, int id,
|
||||||
bool isAutodetected = false, const QString &autodetectionSource = QString());
|
bool isAutodetected = false, const QString &autodetectionSource = QString());
|
||||||
QtVersion()
|
QtVersion();
|
||||||
:m_name(QString::null), m_id(-1)
|
|
||||||
{ setPath(QString::null); }
|
|
||||||
~QtVersion();
|
~QtVersion();
|
||||||
|
|
||||||
bool isValid() const; //TOOD check that the dir exists and the name is non empty
|
bool isValid() const; //TOOD check that the dir exists and the name is non empty
|
||||||
|
Reference in New Issue
Block a user