[SailfishDevel] undefined symbols

. . droll at hotmail.com
Wed Feb 12 14:40:56 UTC 2014


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: qt at csipa.in.rs
To: devel at 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 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140212/783db209/attachment.html>


More information about the Devel mailing list