diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-10-04 15:15:31 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2019-10-07 21:20:05 +0200 |
commit | 096ea169993bd161aeb93c7acd8dbe41c5c27b29 (patch) | |
tree | 3bae02ae02a274f585778d98a5e5fecdb2072225 | |
parent | 4094c3bd180cfb5223f6b21b1e800cedd6b5d646 (diff) |
repc: Use declarative approach in moc.pri
The assignment is technically correct but pro2cmake cannot handle it
properly. Append to SOURCES and HEADERS instead, as this doesn't make a
real difference to the QMake project.
Change-Id: I1360c96d25be09b767b54553a9aed8cb0f4768b1
Reviewed-by: Brett Stottlemyer <bstottle@ford.com>
-rw-r--r-- | tools/repc/moc_copy/moc.pri | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/repc/moc_copy/moc.pri b/tools/repc/moc_copy/moc.pri index b689a35..6d0ca8a 100644 --- a/tools/repc/moc_copy/moc.pri +++ b/tools/repc/moc_copy/moc.pri @@ -1,7 +1,7 @@ INCLUDEPATH += $$PWD -HEADERS = $$PWD/moc.h \ +HEADERS += $$PWD/moc.h \ $$PWD/preprocessor.h \ $$PWD/parser.h \ $$PWD/symbols.h \ @@ -9,7 +9,7 @@ HEADERS = $$PWD/moc.h \ $$PWD/utils.h \ $$PWD/generator.h \ $$PWD/outputrevision.h -SOURCES = $$PWD/moc.cpp \ +SOURCES += $$PWD/moc.cpp \ $$PWD/preprocessor.cpp \ $$PWD/generator.cpp \ $$PWD/parser.cpp \ |