<div dir="ltr">On Fri, Sep 13, 2013 at 6:10 PM, Otmar Struwe <span dir="ltr"><<a href="mailto:ost.wolf@web.de" target="_blank">ost.wolf@web.de</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


  

    
  
  <div 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>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><span class="HOEnZb"><font color="#888888">
       Otmar<br>
    </font></span></font>
  </div>

<br>_______________________________________________<br>
KDevelop mailing list<br>
<a href="mailto:KDevelop@kde.org">KDevelop@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kdevelop" target="_blank">https://mail.kde.org/mailman/listinfo/kdevelop</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">You probably need to install the application first.</div><div class="gmail_extra"><br></div><div class="gmail_extra">Aleix</div></div>