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. Add shared libraries to my projects.
QtWS25 Last Chance

Add shared libraries to my projects.

Scheduled Pinned Locked Moved Unsolved General and Desktop
librariessharedshared library
4 Posts 2 Posters 1.4k Views
  • 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.
  • AlvaroSA Offline
    AlvaroSA Offline
    AlvaroS
    wrote on last edited by
    #1

    Hello everyone.
    First of all thanks a lot for reading this post and being able to help.

    I have a shared library mylib.so and a program who execute it in a terminal lis /myprogram

    I would like to add this library to my qt creator project. i have tried to find something in qt tutorials but no solution..

    How can I do that?

    thanks a lot!

    1 Reply Last reply
    0
    • jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      In a qmake based project you can right-click on the project then select "Add library..." and follow.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      AlvaroSA 1 Reply Last reply
      0
      • jsulmJ jsulm

        In a qmake based project you can right-click on the project then select "Add library..." and follow.

        AlvaroSA Offline
        AlvaroSA Offline
        AlvaroS
        wrote on last edited by
        #3

        @jsulm Yes, I do that but when I build my project it gives me an error which is that it can not find the library...

        jsulmJ 1 Reply Last reply
        0
        • AlvaroSA AlvaroS

          @jsulm Yes, I do that but when I build my project it gives me an error which is that it can not find the library...

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @AlvaroS Please post your pro file. Nad is this lib built using the same compiler and for same architecture?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0

          • Login

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