Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.2
-
None
-
31e665c7cd9b2edb25fa695bed9c528c95ad0c64, Qt4.8: 0fc9791b4471f13eb5786689fd9b0ac134b69455
Description
The description of the SUBDIRS variable in the qmake Manual states the following:
It is essential that the project file in each subdirectory has the same name as the subdirectory itself, so that qmake can find it. For example, if the subdirectory is called myapp then the project file in that directory should be called myapp.pro.
http://doc.qt.nokia.com/4.7-snapshot/qmake-variable-reference.html#subdirs
However, it seems to be possible to specify a relative path to a .pro file in any directory.
For example, the following code specifies that plugin_coreplugin/plugin_coreplugin.pro and mylogin.pro belong to the project. For example,
TEMPLATE = subdirs
SUBDIRS = plugin_coreplugin \
../another/plugin/myplugin.pro
Attachments
Issue Links
- relates to
-
QTBUG-28428 Modularize Qmake Manual
-
- Closed
-
For Gerrit Dashboard: QTBUG-14139 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
63437,3 | Doc: update description of qmake SUBDIRS variable | stable | qt/qtbase | Status: MERGED | +2 | 0 |
64364,1 | Doc: update description of qmake SUBDIRS variable | 4.8 | qt/qt | Status: MERGED | +2 | 0 |