Add moc dependency also to CorePrivate

Otherwise if you start a make -j14 in src/sql without having built
anything it would hang because sql only depends on CorePrivate and not
Core and thus moc would not be build at the right time

Change-Id: I916242782e6aea4a0491d870391f91182959ca7c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-08 17:45:36 +01:00
parent f88e78fd19
commit 622816499d

View File

@ -241,6 +241,8 @@ add_qt_module(Core
add_dependencies(Core Qt::moc)
add_dependencies(Core Qt::rcc)
add_dependencies(CorePrivate Qt::moc)
add_dependencies(CorePrivate Qt::rcc)
configure_file(global/qconfig.cpp.in global/qconfig.cpp)