Results 1 to 2 of 2

Thread: Missing library? "cannot find -lQtMessaging"

  1. #1
    Join Date
    Jan 2012
    Location
    Dortmund, Germany
    Posts
    159
    Thanks
    69
    Thanked 10 Times in 8 Posts
    Qt products
    Qt4
    Platforms
    Windows Android

    Default Missing library? "cannot find -lQtMessaging"

    I am trying to build a project (that I made ond a Win7 desktop) for Android.

    The compiler throws:
    C:/necessitas/android-ndk-r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.4.3/../../../../arm-linux-androideabi/bin/ld.exe: cannot find -lQtMessaging
    I can't find any filename containing "qtmessaging" anywhere in my necessitas tree, but there are a few possibly matching files in my SDK folder, for example here:
    C:\QtSDK\Simulator\QtMobility\mingw\lib


    I've added
    Qt Code:
    1. LIBS += -lQtMessaging
    To copy to clipboard, switch view to plain text mode 
    to my .pro file, but to no avail :-(

    Any ideas?

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Missing library? "cannot find -lQtMessaging"

    You need QtMobility, or at least the messaging module, built using the Android tool chain.

Similar Threads

  1. Qt4VSAddin with VS10 - Error about missing assembly "stdole" on VS startup
    By neobrain in forum Installation and Deployment
    Replies: 13
    Last Post: 2nd March 2011, 23:13
  2. Replies: 2
    Last Post: 27th September 2010, 15:45
  3. xlib: extension "XFree86-DRI" missing on display ":0.0".
    By kiransu123 in forum Qt Programming
    Replies: 5
    Last Post: 3rd August 2009, 14:43
  4. Replies: 0
    Last Post: 3rd December 2008, 11:58
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.