<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'>That did it! <div><br></div><div>Why does this work while CONFIG += Qt0Feedback doesn't? I would expect CONFIG += Qt0Feedback to work...<br><br><div><hr id="stopSpelling">Date: Wed, 12 Feb 2014 20:45:36 +0600<br>From: coderusinbox@gmail.com<br>To: devel@lists.sailfishos.org<br>Subject: Re: [SailfishDevel] undefined symbols<br><br>
try with<br>
<br>
<tt>CONFIG += link_pkgconfig</tt><tt><br>
</tt><tt>PKGCONFIG += Qt0Feedback</tt><br>
<br>
<div class="ecxmoz-cite-prefix">On 12.02.2014 20:40, . . wrote:<br>
</div>
<blockquote cite="mid:COL130-W1574B3173AC5FB3CC2E90DB6920@phx.gbl">
<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}
.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}
--></style>
<div dir="ltr">Ok, fixed that and I am now using QCoreApplication
(I used a template project previously).
<div><br>
</div>
<div>But I'm still getting those errors. How do I link with the
haptics lib?<br>
<br>
<div>
<hr id="ecxstopSpelling">Date: Wed, 12 Feb 2014 16:37:23 +0200<br>
From: <a class="ecxmoz-txt-link-abbreviated" href="mailto:qt@csipa.in.rs">qt@csipa.in.rs</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>
<div class="ecxmoz-cite-prefix">On 12/02/14 16: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;">#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>
</blockquote>
<br>
Note that these are quite GUI (so not console), should be a
QCoreApplication and no QQuickView. The unresolved errors
are due to not linking the lib with haptics.<br>
<br>
Best regards,<br>
Attila<br>
<br>
_______________________________________________
SailfishOS.org Devel mailing list</div>
</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>