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.
  • A Offline
    A Offline
    AlvaroS
    wrote on 21 Jun 2016, 08:12 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
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 21 Jun 2016, 08:42 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

      A 1 Reply Last reply 21 Jun 2016, 09:23
      0
      • J jsulm
        21 Jun 2016, 08:42

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

        A Offline
        A Offline
        AlvaroS
        wrote on 21 Jun 2016, 09:23 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...

        J 1 Reply Last reply 21 Jun 2016, 09:40
        0
        • A AlvaroS
          21 Jun 2016, 09:23

          @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...

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 21 Jun 2016, 09:40 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

          4/4

          21 Jun 2016, 09:40

          • Login

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