From ffe2394d0bd930ed1bcc60d1c40e77e1a0d3f2c9 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Thu, 21 Dec 2023 02:58:01 -0500 Subject: [PATCH] updated README.md and chapter 3 docs to remove mention of qmake --- .gitignore | 1 + .../03-writing-your-first-application.asciidoc | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) 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 ....