summaryrefslogtreecommitdiffstats
path: root/examples/qmlsurface/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qmlsurface/main.cpp')
-rw-r--r--examples/qmlsurface/main.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/qmlsurface/main.cpp b/examples/qmlsurface/main.cpp
index 2c953fe7..6b859158 100644
--- a/examples/qmlsurface/main.cpp
+++ b/examples/qmlsurface/main.cpp
@@ -33,9 +33,6 @@ int main(int argc, char *argv[])
viewer.addImportPath(QString::fromLatin1("assets:/qml"));
viewer.engine()->addPluginPath(QString::fromLatin1("%1/../%2").arg(QDir::homePath(),
QString::fromLatin1("lib")));
-#else
- viewer.addImportPath(QString::fromLatin1("%1/%2").arg(QCoreApplication::applicationDirPath(),
- QString::fromLatin1("qml")));
#endif
viewer.setTitle(QStringLiteral("Tycho crater on the Moon (height exaggerated)"));
viewer.setSource(QUrl("qrc:/qml/main.qml"));