try with
CONFIG += link_pkgconfig
PKGCONFIG += Qt0Feedback
On 12.02.2014 20:40, . . wrote:
Ok, fixed that and I am now using QCoreApplication (I used a template
project previously).
But I'm still getting those errors. How do I link with the haptics lib?
------------------------------------------------------------------------
Date: Wed, 12 Feb 2014 16:37:23 +0200
From: q...@csipa.in.rs
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] undefined symbols
On 12/02/14 16:06, . . wrote:
help needed. new to Qt and Sailfish development (but not new to C++)
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.
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.
#include <QGuiApplication>
#include <QQuickView>
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.
Best regards,
Attila
_______________________________________________ SailfishOS.org Devel
mailing list
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list