From fde31cbbbc8fc8c65a6ba7ead61b9921a8ad293d Mon Sep 17 00:00:00 2001 From: probonopd Date: Thu, 31 May 2018 12:04:45 +0000 Subject: [PATCH] Fix for "make: Nothing to be done for 'install'" [ci skip] --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 91b69ad..79cc2dc 100644 --- a/README.md +++ b/README.md @@ -192,13 +192,18 @@ By default, qmake `.pro` files generated by Qt Creator unfortunately don't suppo make: Nothing to be done for `install'. find: `appdir/': No such file or directory ``` +### Fix for "make: Nothing to be done for 'install'" If `qmake` does not allow for `make install` or does not install the desktop file and icon, then you need to change your `.pro` file it similar to https://github.com/probonopd/FeedTheMonkey/blob/master/FeedTheMonkey.pro. +[Here](https://github.com/ilia3101/MLV-App/issues/17#issuecomment-393507203) is another simple example. + It is common on Unix to also use the build tool to install applications and libraries; for example, by invoking `make install`. For this reason, `qmake` has the concept of an install set, an object which contains instructions about the way a part of a project is to be installed. Please see the section "Installing Files" on http://doc.qt.io/qt-5/qmake-advanced-usage.html. +### For projects that use CMake or autotools instead of qmake + ``` - make INSTALL_ROOT=appdir install ; find appdir/ ```