forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user