Download Latest Version QCustomPlot-sharedlib.tar (10.2 kB)
Email in envelope

Get an email when there's a new version of PhotonLoop

Home / lib / qcustomplot2 / qcustomplot-sharedlib
Name Modified Size InfoDownloads / Week
Parent folder
sharedlib-usage 2017-11-22
sharedlib-compilation 2017-11-22
build-sharedlib-compilation-Desktop_Qt_5_9_1_MSVC2015_64bit-Release 2017-11-22
build-sharedlib-compilation-Desktop_Qt_5_9_1_MSVC2015_64bit-Debug 2017-11-22
build-sharedlib-compilation-Desktop_Qt_5_7_0_MSVC2015_64bit-Release 2017-11-22
build-sharedlib-compilation-Desktop_Qt_5_7_0_MSVC2015_64bit-Debug 2017-11-22
readme.txt 2017-11-22 1.5 kB
Totals: 7 Items   1.5 kB 158
Compiling QCustomPlot as shared library:
  - Make sure the amalgamated QCustomPlot source files (qcustomplot.h/.cpp) are in the directory above sharedlib (two directories above the .pro files).
  - Run qmake; make; in the sharedlib-compilation directory. This will create two library versions: "qcustomplot" for release mode and "qcustomplotd" for debug mode.
    For example, on Unix this will create libqcustomplot.so and libqcustomplotd.so and some softlink files to those shared library files.
    On MS Windows it will create corresponding .dll files.
    
Compiling an application that uses the shared library:
  - Copy all created library/softlink files from the previous step to the sharedlib-usage directory
  - run qmake; make; in the sharedlib-usage directory. This will build the application.
  
Running the application:
  - Make sure the application executable can find the shared library files:
    On MS Windows it is sufficient to have the library .dll files in the same directory as the executable.
    On Unix you have at least two options: You can specify the current directory in the LD_LIBRARY_PATH variable (call in
    terminal: "export LD_LIBRARY_PATH=." before launching the application from the same terminal session). This is useful
    for testing if it works. The other option is to install the library files to one of the default locations for shared
    objects: /usr/local/lib or /usr/lib for example.
  - Launch the application.
Source: readme.txt, updated 2017-11-22