diff --git a/.gitignore b/.gitignore index 32698b35..138bebe4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ Makefile .qmake.stash .uuid +build obj moc rcc diff --git a/doc/tutorials/03-writing-your-first-application.asciidoc b/doc/tutorials/03-writing-your-first-application.asciidoc index b912e892..1e7015c8 100644 --- a/doc/tutorials/03-writing-your-first-application.asciidoc +++ b/doc/tutorials/03-writing-your-first-application.asciidoc @@ -11,9 +11,8 @@ layout: docs === Building the QSkinny repository In this chapter we will write a simple QSkinny application on Linux from scratch. -As a prerequisite, a recent Qt version (>= 5.6) should be available and the directory of -its `qmake` binary in the current `$PATH`. On debian bullseye we need to install -these packages `build-essential qt-qmake qtbase5-dev qtbase5-private-dev +As a prerequisite, a recent Qt version (>= 5.6) should be available. On debian bullseye we need to install +these packages `build-essential qtbase5-dev qtbase5-private-dev qtdeclarative5-dev qtdeclarative5-private-dev libqt5svg5-dev`. Then we can build and install QSkinny to `/opt/qskinny` with the following commands: @@ -23,8 +22,9 @@ Then we can build and install QSkinny to `/opt/qskinny` with the following comma cd /home/user/dev/ git clone https://github.com/uwerat/qskinny.git cd qskinny -PREFIX=/opt/qskinny qmake -r -make +mkdir build +cd build +cmake ../ && make sudo make install ....