Results 1 to 2 of 2

Thread: Create and use library Qt creator

  1. #1
    Join Date
    Feb 2011
    Posts
    13
    Thanks
    2
    Thanked 1 Time in 1 Post
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Create and use library Qt creator

    Hi all,
    I create a shared object ( dynamic library) by Eclipse IDE and I can use this *.so for Qt Creator, Eclipse. But when I create a shared object by Qt Creator, I can not use it on both Eclipse , Qt Creator. I use "ldd" command to check it, I see no problem.
    Please tell me why?
    Thank you

  2. #2
    Join Date
    Feb 2011
    Posts
    13
    Thanks
    2
    Thanked 1 Time in 1 Post
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: Create and use library Qt creator

    If we mix source code C, C++ in library, executable project for header file, please note key word:
    #ifdef __cplusplus
    extern "C" {
    #endif
    //prototype here
    #ifdef __cplusplus
    }
    #endif

Similar Threads

  1. Using the standard library with qt creator
    By DragonLance156156 in forum Qt Tools
    Replies: 12
    Last Post: 3rd February 2016, 09:59
  2. Replies: 2
    Last Post: 19th February 2011, 12:26
  3. QT Creator and additional library
    By banita in forum Qt Tools
    Replies: 4
    Last Post: 7th September 2010, 15:37
  4. Replies: 4
    Last Post: 18th December 2009, 19:55
  5. How create a dll/ library with Qt
    By ccosta in forum Qt Programming
    Replies: 1
    Last Post: 2nd November 2009, 23:02

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.