because there are no qt5 config for Qt0Feedback, but pkgconfig did the magic with including libraries :)

don't ask me why, i resolved that trouble myself in the past, and Qt0Feedback thing is suspicious too :D

On 12.02.2014 20:47, . . wrote:
That did it!

Why does this work while CONFIG += Qt0Feedback doesn't? I would expect CONFIG += Qt0Feedback to work...

------------------------------------------------------------------------
Date: Wed, 12 Feb 2014 20:45:36 +0600
From: coderusin...@gmail.com
To: devel@lists.sailfishos.org
Subject: Re: [SailfishDevel] undefined symbols

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 <mailto:q...@csipa.in.rs>
    To: devel@lists.sailfishos.org <mailto: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


_______________________________________________
SailfishOS.org Devel mailing list

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to