<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>My .pro file looks like this<div><br></div><div><pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">The</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">name</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">of</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">your</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">app</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#800080;">TARGET</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>TestVibraUI</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">C++</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">sources</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#800080;">SOURCES</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>main.cpp</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">C++</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">headers</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#800080;">HEADERS</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>QtFeedback/</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">QML</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">files</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">and</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">folders</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;">qml.files<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>*.qml<span style=" color:#c0c0c0;"> </span>pages<span style=" color:#c0c0c0;"> </span>cover<span style=" color:#c0c0c0;"> </span>main.qml</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">The</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">.desktop</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">file</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;">desktop.files<span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>TestVibraUI.desktop</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#008000;">#</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">Please</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">do</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">not</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">modify</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">the</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">following</span><span style=" color:#c0c0c0;"> </span><span style=" color:#008000;">line.</span></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#808000;">include</span>(sailfishapplication/sailfishapplication.pri)</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#800080;">CONFIG</span><span style=" color:#c0c0c0;"> </span>+=<span style=" color:#c0c0c0;"> </span>Qt0Feedback</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#800080;">OTHER_FILES</span><span style=" color:#c0c0c0;"> </span>=<span style=" color:#c0c0c0;"> </span>\</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#c0c0c0;">    </span>rpm/TestVibraUI.yaml<span style=" color:#c0c0c0;"> </span>\</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><span style=" color:#c0c0c0;">    </span>rpm/TestVibraUI.spec</pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre>
<pre style="margin-top: 0px; margin-bottom: 0px;"><br></pre><pre style="margin-top: 0px; margin-bottom: 0px;">Still problematic...??</pre><br><div><hr id="stopSpelling">Date: Wed, 12 Feb 2014 20:31:33 +0600<br>From: coderusinbox@gmail.com<br>To: devel@lists.sailfishos.org<br>Subject: Re: [SailfishDevel] undefined symbols<br><br>
  
    
  
  
    Qt0Feedback<br>
    <br>
    <div class="ecxmoz-cite-prefix">On 12.02.2014 20:31, . . wrote:<br>
    </div>
    <blockquote cite="mid:COL130-W15175F29657E3D1FB7B7D2B6920@phx.gbl">
      <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
      <div dir="ltr">You mean to include Qt0Feedback in CONFIG or
        QtFeedback?<br>
        <br>
        <div>
          <hr id="ecxstopSpelling">Date: Wed, 12 Feb 2014 20:11:20 +0600<br>
          From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:coderusinbox@gmail.com">coderusinbox@gmail.com</a><br>
          To: <a class="ecxmoz-txt-link-abbreviated" href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a><br>
          Subject: Re: [SailfishDevel] undefined symbols<br>
          <br>
          its Qt0Feedback in CONFIG of .pro file as far i remember.<br>
          <br>
          <div class="ecxmoz-cite-prefix">On 12.02.2014 20:06, . .
            wrote:<br>
          </div>
          <blockquote cite="mid:COL130-W85B21D30CEFA8F5DD573BAB6920@phx.gbl">
            <style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}


--></style>
            <div dir="ltr">help needed. new to Qt and Sailfish
              development (but not new to C++)
              <div><br>
              </div>
              <div><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">does
                  anyone know how i can build a console application for
                  Sailfish that uses Qt? i only want to use certain Qt
                  classes with no UI.</span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">i
                  must be missing something in my .pro file as the
                  compiler is complaining about unresolved symbols? i
                  created a new project under Qt Creator as C++
                  application.</span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">i
                  also tried creating a SailfishOS project and in
                  main.cpp I have my code added in. I commented out </span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <div class="ecxquote" style="padding:0px 0px 0.75em 1.8em;color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;background-position:0px 0px;">
                  <blockquote class="ecxbq" style="font-style:italic;font-size:10pt;line-height:normal;font-family:arial, helvetica, sans-serif;border-left-width:3px;border-left-style:solid;border-left-color:rgb(204, 204, 204);padding-right:5px;padding-left:5px;">//Sailfish::showView(view.data());<br>
                    //return app->exec();</blockquote>
                </div>
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">same
                  thing. still complaining about unresolved symbols. i
                  am trying to use QFeedbackHapticsEffect and
                  QFeedbackActuator. my #include section looks like this</span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">#include

                  <QtFeedback/QFeedbackActuator></span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">#include

                  <QtFeedback/QFeedbackHapticsEffect></span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">#include
                  <QGuiApplication></span><br style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                <span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">#include
                  <QQuickView></span></div>
              <div><span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;"><br>
                </span></div>
              <div><span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;"><br>
                </span></div>
              <div><span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">This
                  is what I'm seeing when I build my app.</span></div>
              <div><span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;"><br>
                </span></div>
              <div><span style="color:rgb(51, 51, 51);font-family:Arial, sans-serif;font-size:14.399999618530273px;line-height:13.4399995803833px;">
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:17:

                    error: undefined reference to
                    `QFeedbackActuator::actuators()'</div>
                  <div>C:\Users\xxx\Documents\Jolla\TestVibraUI\main.cpp:24:

                    error: undefined reference to
                    `QFeedbackActuator::name() const'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:40:

                    error: undefined reference to
                    `QFeedbackHapticsEffect::QFeedbackHapticsEffect(QObject*)'</div>
                  <div>C:\Users\xxx\Documents\Jolla\TestVibraUI\main.cpp:42:

                    error: undefined reference to
                    `QFeedbackHapticsEffect::setIntensity(double)'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:43:

                    error: undefined reference to
                    `QFeedbackHapticsEffect::setDuration(int)'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:44:

                    error: undefined reference to
                    `QFeedbackHapticsEffect::setActuator(QFeedbackActuator*)'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:45:

                    error: undefined reference to
                    `QFeedbackEffect::start()'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:46:

                    error: undefined reference to
                    `QFeedbackEffect::stop()'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:46:

                    error: undefined reference to
                    `QFeedbackHapticsEffect::~QFeedbackHapticsEffect()'</div>
                  <div>\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:46:

                    error: undefined reference to
                    `QFeedbackHapticsEffect::~QFeedbackHapticsEffect()'</div>
                  <div><br>
                  </div>
                  <div>I must be missing something really really basic.
                    :(</div>
                </span></div>
            </div>
            <br>
            <fieldset class="ecxmimeAttachmentHeader"></fieldset>
            <br>
            <pre>_______________________________________________
SailfishOS.org Devel mailing list</pre>
          </blockquote>
          <br>
          <br>
          _______________________________________________
          SailfishOS.org Devel mailing list</div>
      </div>
      <br>
      <fieldset class="ecxmimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
SailfishOS.org Devel mailing list</pre>
    </blockquote>
    <br>
  

<br>_______________________________________________
SailfishOS.org Devel mailing list</div></div>                                         </div></body>
</html>