Skip to content
Snippets Groups Projects
Commit 1b50cdce authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

WelcomePage: turning widgets into a proper plugin


Change-Id: Ifffaa8f848777f6961b49dff048672b194570fff
Reviewed-by: default avatarAlessandro Portale <alessandro.portale@nokia.com>
parent 51de4ed2
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@
**************************************************************************/
import QtQuick 1.1
import "widgets"
import widgets 1.0
Rectangle {
id: rectangle1
......
......@@ -31,7 +31,7 @@
**************************************************************************/
import QtQuick 1.0
import "widgets"
import widgets 1.0
Rectangle {
id: rectangle1
......
......@@ -31,7 +31,7 @@
**************************************************************************/
import QtQuick 1.1
import "widgets"
import widgets 1.0
Rectangle {
id: gettingStartedRoot
......
......@@ -31,7 +31,7 @@
**************************************************************************/
import QtQuick 1.0
import "widgets"
import widgets 1.0
Rectangle {
id: rectangle1
......
......@@ -31,7 +31,7 @@
**************************************************************************/
import QtQuick 1.0
import "widgets"
import widgets 1.0
Rectangle {
width: 920
......
......@@ -15,6 +15,10 @@ Project {
ImageFiles {
directory: "."
}
importPaths: {
directory: "."
}
/* List of plugin directories passed to QML runtime */
// importPaths: [ "../exampleplugin" ]
}
CustomColors 1.0 CustomColors.qml
GettingStartedItem 1.0 GettingStartedItem.qml
ProjectItem 1.0 ProjectItem.qml
CustomFonts 1.0 CustomFonts.qml
LinkedText 1.0 LinkedText.qml
RecentProjects 1.0 RecentProjects.qml
CustomizedGridView 1.0 CustomizedGridView.qml
LinksBar 1.0 LinksBar.qml
SearchBar 1.0 SearchBar.qml
CustomTab 1.0 CustomTab.qml
Logo 1.0 Logo.qml
SessionItem 1.0 SessionItem.qml
Delegate 1.0 Delegate.qml
PageCaption 1.0 PageCaption.qml
Sessions 1.0 Sessions.qml
Feedback 1.0 Feedback.qml
PageLoader 1.0 PageLoader.qml
ToolTip 1.0 ToolTip.qml
......@@ -234,6 +234,9 @@ void WelcomeMode::initPlugins()
QDeclarativeEngine *engine = m_welcomePage->engine();
QStringList importPathList = engine->importPathList();
importPathList << Core::ICore::resourcePath() + QLatin1String("/welcomescreen");
engine->setImportPathList(importPathList);
if (!debug)
engine->setOutputWarningsToStandardError(false);
engine->setNetworkAccessManagerFactory(new NetworkAccessManagerFactory);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment