Longscroll-Qt Installation Instructions

Download

https://github.com/TripleWhy/longscroll-qt/releases

Compiling

Compiling is as easy as with any other Qt program. You can either open src/longscroll-qt.pro in your favorite IDE or use qmake directly. In both cases you shold additionally build the install target. The examples are examples/simple/simple.pro and examples/demo/demo.pro.

Compiling from the command line could be for example like this:

cd src
qmake
make
make install

# Build and run examples:

cd ..
cd examples/simple/
qmake
make
make install
LD_LIBRARY_PATH=<longscroll-qt lib dir> ./simple <some dir>
# for example:
LD_LIBRARY_PATH=../../dist/linux-g++-64/lib ./simple ~/Pictures/

cd ..
cd demo/
qmake
make
make install
LD_LIBRARY_PATH=<longscroll-qt lib dir> ./demo [some dir [demo number]]
# for example:
LD_LIBRARY_PATH=../../dist/linux-g++-64/lib ./demo

Notes:

  • You might have to use qmake -qt=5 on ubuntu.
  • Replace make by nmake or jom when building a msvc version.

Additional Make Targets

make install
make docHtml
make docQhp
make docs
  • install Installs the library into the dist directory.
  • docHtml Creates html documentation inside the dist directory.
  • docQhp Creates qhp documentation inside the dist directory. This can be loaded in Qt Assistant and Qt Creator.
  • docs Creates html and qhp documentation.

 

Back to Qt Marketplace