×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    128

    unable to fix link error

    I am trying to compile my first QTMobility project as I ned sound recording.
    I am trying to create it for symbian devices. My code is based on "http://doc.qt.nokia.com/qtmobility-1.0-beta/multimedia.html" example. But, i am getting "[COLOR="rgb(0, 0, 0)"]undefined reference to MediaServiceProvider::defaultServiceProvider[/COLOR]" etc.. error.

    I know it's linking error and found some thread but unable to find any suggestion for symbian devices.
    Here is my ".pro" file.

    [COLOR="rgb(72, 209, 204)"]QT += core gui network xml

    TARGET = mysample
    TEMPLATE = app

    CONFIG += mobility
    MOBILITY = mulitmedia

    INCLUDEPATH += C:/NokiaQtSDK/Symbian/SDK/epoc32/include ../../src/multimedia ../../src/multimedia/audio
    INCLUDEPATH += C:/NokiaQtSDK/Symbian/SDK/epoc32/include/middleware

    SOURCES += main.cpp\
    entrywindow.cpp \
    MyMediaRecorder.cpp

    HEADERS += entrywindow.h \
    MyMediaRecorder.h

    FORMS += entrywindow.ui

    symbian {
    QT += phonon
    TARGET.UID3 = 0xe5b5ce7e
    TARGET.CAPABILITY += UserEnvironment ReadDeviceData
    LIBS += -lcone -leikcore -lavkon
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x800000
    }

    RESOURCES += \
    mysample.qrc
    [/COLOR]

    Any pointers please??

  2. #2
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: unable to fix link error

    Is it "MediaServiceProvider" or "QMediaServiceProvider"?

Similar Threads

  1. The link for download is fix or depends on events?
    By sliawatimena in forum Automatic Feedback Channel
    Replies: 2
    Last Post: 2009-12-06, 11:27
  2. How to fix this error
    By chart12 in forum Symbian
    Replies: 1
    Last Post: 2009-08-23, 18:53
  3. How to fix the error -9?
    By Phiphatc in forum Symbian
    Replies: 4
    Last Post: 2007-12-14, 11:30
  4. error lnk2001 : unable to link bluetooth.lib
    By alice77 in forum Symbian
    Replies: 1
    Last Post: 2003-11-05, 12:31

Posting Permissions

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