QtSupport: Move built-in list of tutorials to resources

Task-number: QTCREATORBUG-17635
Change-Id: Ie1a738efe2dc6dbb217079cce508642b5c1504d6
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
hjk
2017-01-26 16:23:04 +01:00
parent 42e3492e1a
commit a0402dc0df
21 changed files with 137 additions and 129 deletions

View File

@@ -551,10 +551,9 @@ BaseQtVersion *ExamplesListModel::findHighestQtVersion() const
QStringList ExamplesListModel::exampleSources(QString *examplesInstallPath, QString *demosInstallPath)
{
QStringList sources;
QString resourceDir = Core::ICore::resourcePath() + QLatin1String("/welcomescreen/");
// Qt Creator shipped tutorials
sources << (resourceDir + QLatin1String("/qtcreator_tutorials.xml"));
sources << ":/qtsupport/qtcreator_tutorials.xml";
QString examplesPath;
QString demosPath;