[Qt-creator] Patch: ensure that install rules for docs are generated correctly

Ilkka Laukkanen ilkka.laukkanen at sasken.com
Fri Mar 13 09:23:19 CET 2009


Hi,

I noticed that creator suffers from the same qmake issue that I wrestled
with on another project: if you want to have installable files that are
generated at build-time, you have to ensure that the *targets* already
exist when qmake is run or install rules won't be generated in the
Makefile. In creator's case it's the .qch file that won't get installed,
unless you:

  1) run qmake
  2) make install so that the .qch file is generated
  3) run qmake *again* so that the install rules are regenerated
  4) make install so the .qch file is installed.

This patch tries to address that issue by adding a (unix scoped)
system() command in the doc/doc.pri file that creates an empty
placeholder file when qmake is run. This ensures that the install rules
are always created.

I don't know if this problem exists on other platforms.


-- 
Best regards,

Ilkka Laukkanen
SW Engineer

Sasken Finland Oy
Hermiankatu 12 B
FI-33720 Tampere
Tel. +358 40 539 3984, fax. +358 3 318 6100
ilkka.laukkanen at sasken.com

www.sasken.com www.sasken.fi
SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In 
case you are not the original intended Recipient of the message, you must not, directly or 
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are 
requested to delete it and inform the sender. Any views expressed in this message are 
those of the individual sender unless otherwise stated. Nothing contained in this message 
shall be construed as an offer or acceptance of any offer by Sasken Communication 
Technologies Limited ("Sasken") unless sent with that express intent and with due 
authority of Sasken. Sasken has taken enough precautions to prevent the spread of 
viruses. However the company accepts no liability for any damage caused by any virus 
transmitted by this email
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Touch-.qch-file-so-that-install-rules-get-generated.patch
Type: text/x-patch
Size: 1085 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090313/f15890c4/attachment.bin 


More information about the Qt-creator-old mailing list