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. How to load custom libraries in vlc-qt?
Forum Updated to NodeBB v4.3 + New Features

How to load custom libraries in vlc-qt?

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

    Hello!I want to load the custom vlc which is installed by building the source code and I don't want to use the system version(installed if any) for my mediaplayer using vlc-qt.Can anyone tell me how to deal with this?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      LuGRU
      wrote on last edited by
      #2

      Specify path to the lib, instead of leaving it empty, like this:

      LIBS += -L$$OUT_PWD/../../../projects/mylib/ -lmylib
      

      You may also consider using PRE_TARGETDEPS for static libraries, but I doub that You did compiled libVlc statically.

      Also if You do work with custom libraries sometimes You will need to copy them to debug / release directories, bo work around this use -L with basically specify path for library.

      docs: http://doc.qt.io/qt-5/qmake-variable-reference.html#libs

      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