Doc: Fix \code command usage


Since Qt 5.12, \code command accepts parameters, and in-line usage
no longer works (and was never documented to work).

Also, use \badcode for qmake snippets to make it appear as plain text.

Task-number: QTBUG-70980
Change-Id: I53cafdc912b4663d03c19b0a0003693330c94f15
Reviewed-by: Martin Smith <martin.smith@qt.io>
commitf9d223b03eb047c806ab4046318d9b76ff39136c
parent448b3a35cea27878a3123ec7e40f875032dd3267
authorTopi Reinio <topi.reinio@qt.io>
committerTopi Reiniƶ <topi.reinio@qt.io>
commit timeThu, 25 Oct 2018 09:43:29 +0000