<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Courier">Hello,<br>
<br>
I created a project from the "QML Application" template.
Everything works fine (compiling, linking ...), but when I start
the application the following messages appear.<br>
</font>
<blockquote><font face="Courier">Starting:
/home/test/projekte/KDE_QML/build/src/kde_qml</font><br>
<font face="Courier"><a class="moz-txt-link-freetext" href="file:///home/test/projekte/KDE_QML/build/src/">file:///home/test/projekte/KDE_QML/build/src/</a>:
File not found </font><br>
<font face="Courier">KCrash: Application 'kde_qml' crashing...</font><br>
<font face="Courier">KCrash: Attempting to start
/usr/lib64/kde4/libexec/drkonqi from kdeinit</font><br>
<font face="Courier">*** Exited with return code: 253 ***</font><br>
</blockquote>
<font face="Courier">The problem is that the in "kde_qmlview.cpp"
the "main.qml" is not found. <br>
<br>
view->setSource(QUrl::fromLocalFile(KStandardDirs::locate("data",
"kde_qml/qml/main.qml")));<br>
<br>
Of course I can change this path to an absolute, but that is not
realy comfortable and of course error prone, if I ever want to
release the programm. Is there a better way to set up the
environment?<br>
<br>
The same problem will come up with the UI files.<br>
<br>
I am using Kdevelop 4.5.1 with the Kdevelop platform 1.5.1.<br>
<br>
Kind regards <br>
Otmar<br>
</font>
</body>
</html>