[SailfishDevel] undefined symbols

. . droll at hotmail.com
Wed Feb 12 14:47:31 UTC 2014


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: coderusinbox at gmail.com
To: devel at 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: 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
        
      
      

      
      

      _______________________________________________
SailfishOS.org Devel mailing list
    
    

  


_______________________________________________
SailfishOS.org Devel mailing list 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140212/498bf02f/attachment.html>


More information about the Devel mailing list