×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    9

    Qt and Sensor Framework

    Hi, i developed my first application by following orders in last post on Qt Labs. Then i want to use Sensors and read http://wiki.forum.nokia.com/index.ph...nsor_Framework. When i build my application i get these errors:

    /Users/mehmet/Documents/FirstApp/mainwindow.cpp:9: undefined reference to `CSensrvChannelFinder::NewLC()'
    /Users/mehmet/Documents/FirstApp/mainwindow.cpp:9: undefined reference to `CSensrvChannelFinder::NewLC()'

    i added my those libs to my pro file and paths are correct:

    LIBS += "C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/release/armv5/lib/SensrvClient.lib"
    LIBS += "C:/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/release/armv5/lib/sensrvutil.lib"

  2. #2
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: Qt and Sensor Framework

    Use LIBS += -lsensrvutil
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  3. #3
    Registered User
    Join Date
    Nov 2009
    Posts
    9

    Re: Qt and Sensor Framework

    Thanks for the answer. I solved my problem by adding LIBS += -lSensrvClient

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×