Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Linking a lib with QT on linux
Forum Updated to NodeBB v4.3 + New Features

Linking a lib with QT on linux

Scheduled Pinned Locked Moved Solved General and Desktop
22 Posts 4 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Christian EhrlicherC Christian Ehrlicher

    @mrjj said in Linking a lib with QT on linux:

    With objdump or ?

    Yes, "objdump -T" - take a look at the libfw_console_api.so output and you will notice that they're plain C functions - they are not annotated.

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by mrjj
    #21

    @Christian-Ehrlicher
    Thank you
    Its handy to know. goes on my of list of things to try when you get undefined's and
    checked path many times :=)

    1 Reply Last reply
    0
    • K Offline
      K Offline
      Keith Harville
      wrote on last edited by
      #22

      for the header fix, I added in the header and that took care of it

      #ifdef __cplusplus
      #define FWCONSOLEAPI_DECLSPEC extern  "C"
      #else
      #define FWCONSOLEAPI_DECLSPEC extern
      #endif//__cplusplus
      

      thank you again, you guys are awesome

      1 Reply Last reply
      1

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved