QtPdf – installing

QtPDF is a part of QT Library.

fatal: unable to connect to code.qt.io:
code.qt.io[0: 62.212.35.92]: errno=Invalid argument

This is problem because person who wrote a article about installing forget change repository address:
http://blog.qt.io/blog/2017/01/30/new-qtpdf-qtlabs-module/

The Solution:

git clone https://github.com/qt-labs/qtpdf.git
cd qtpdf
git submodule update --init --recursive
qmake
make
cd examples/pdf/pdfviewer
qmake
make
./pdfviewer /path/to/my/file.pdf

Posted in c++ and tagged , , .

Dodaj komentarz

Twój adres email nie zostanie opublikowany. Pola, których wypełnienie jest wymagane, są oznaczone symbolem *

This site uses Akismet to reduce spam. Learn how your comment data is processed.