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. About linking the libraries

About linking the libraries

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 677 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.
  • V Offline
    V Offline
    Variag
    wrote on last edited by
    #1

    Hello!
    I'd like to link some Intel TBB dynamic libraries to my Qt project like posted here: https://software.intel.com/ru-ru/node/506097
    As I understand the goal is to load the library before the standart system libraries, like with LD_PRELOAD.
    So, the question is how to perform such an operation in Qt Creator? What should i write in the pro-file or what options should i set?
    Thanks in advance.

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

      You can link your application against the proxy library: LIBS += -ltbbmalloc_proxy LIBS += -LPATH_TO_DIR_CONTAINING_LIB

      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