Skip to content

Commit fde31cb

Browse files
authored
Fix for "make: Nothing to be done for 'install'"
[ci skip]
1 parent 26ba622 commit fde31cb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

+5
Original file line numberDiff line numberDiff line change
@@ -192,13 +192,18 @@ By default, qmake `.pro` files generated by Qt Creator unfortunately don't suppo
192192
make: Nothing to be done for `install'.
193193
find: `appdir/': No such file or directory
194194
```
195+
### Fix for "make: Nothing to be done for 'install'"
195196

196197
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.
197198

199+
[Here](https://github.com/ilia3101/MLV-App/issues/17#issuecomment-393507203) is another simple example.
200+
198201
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.
199202

200203
Please see the section "Installing Files" on http://doc.qt.io/qt-5/qmake-advanced-usage.html.
201204

205+
### For projects that use CMake or autotools instead of qmake
206+
202207
```
203208
- make INSTALL_ROOT=appdir install ; find appdir/
204209
```

0 commit comments

Comments
 (0)