edit SideBar

Main / Winapps

Using the notification area (system tray):


On Windows, you always link against a .lib file, even if the library itself is in a DLL. What you normally have to do to use an external library, on any platform, is (Qt example):

    Add the library to the LIBS variable in your .pro file:
    @LIBS += -llibrary@
    Add the library path to the LIBS variables in your .pro file:
    @LIBS += -LC:/path/to/library@
    Add the include path to the INCLUDEPATH variable in your .pro file:
    @INCLUDEPATH += C:/path/to/includes@

Then, if the library is a DLL, you must make sure the DLL is found when you run the program. The DLL is what gets deployed with the executable.

Page last modified on November 11, 2016, at 07:21 PM