syncqt: fix CamelCase aliases for injected headers
don't put them into GENERATED_HEADER_FILES, as they obviously cannot be found in a pre-synced source dir. instead, let the injection code itself add them to INJECTED_HEADER_FILES. Task-number: QTBUG-67813 Change-Id: Id2a7c565b14fcba8aba9d1dd8b1dd39c586d0d91 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
967bb3f0d8
commit
e46f9d68d8
@ -1086,7 +1086,7 @@ foreach my $lib (@modules_to_sync) {
|
||||
# }
|
||||
my $class_header = "$class ";
|
||||
$pri_install_gfiles .= $class_header
|
||||
unless($pri_install_gfiles =~ $class_header);
|
||||
unless ($shadow || $pri_install_gfiles =~ $class_header);
|
||||
$injection .= ":$class";
|
||||
}
|
||||
|
||||
|
@ -149,6 +149,7 @@ for (injection, SYNCQT.INJECTIONS) {
|
||||
write_file($$CLASS_FWD, CLASS_FWD_CONT)|error()
|
||||
touch($$CLASS_FWD, $$MAIN_FWD)
|
||||
!git_build: QMAKE_DISTCLEAN += $$CLASS_FWD
|
||||
SYNCQT.INJECTED_HEADER_FILES += $$CLASS_FWD
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user