forked from qt-creator/qt-creator
QmlJS: remove qtquick1 leftovers
QT_INSTALL_IMPORTS and the used ProjectInfo.qtImportsPath variable were only used for QtQuick1. Change-Id: I34da0cfc77effa84f3a7578e7f91fed0768a9bf4 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -2229,12 +2229,6 @@ ImportInfo::ImportInfo()
|
||||
ImportInfo ImportInfo::moduleImport(QString uri, ComponentVersion version,
|
||||
const QString &as, UiImport *ast)
|
||||
{
|
||||
// treat Qt 4.7 as QtQuick 1.0
|
||||
if (uri == QLatin1String("Qt") && version == ComponentVersion(4, 7)) {
|
||||
uri = QLatin1String("QtQuick");
|
||||
version = ComponentVersion(1, 0);
|
||||
}
|
||||
|
||||
ImportInfo info;
|
||||
info.m_type = ImportType::Library;
|
||||
info.m_name = uri;
|
||||
|
||||
Reference in New Issue
Block a user