my $pri_install_classes = "";
my $pri_install_files = "";
my $pri_install_pfiles = "";
+ my $pri_install_qpafiles = "";
my $libcapitals = $lib;
$libcapitals =~ y/a-z/A-Z/;
$pri_install_files.= "$pri_install_iheader ";;
}
}
+ elsif ($qpa_header) {
+ my $pri_install_iheader = fixPaths($iheader, $current_dir);
+ $pri_install_qpafiles.= "$pri_install_iheader ";;
+ }
else {
my $pri_install_iheader = fixPaths($iheader, $current_dir);
$pri_install_pfiles.= "$pri_install_iheader ";;
$headers_pri_contents .= "SYNCQT.HEADER_FILES = $pri_install_files\n";
$headers_pri_contents .= "SYNCQT.HEADER_CLASSES = $pri_install_classes\n";
$headers_pri_contents .= "SYNCQT.PRIVATE_HEADER_FILES = $pri_install_pfiles\n";
+ $headers_pri_contents .= "SYNCQT.QPA_HEADER_FILES = $pri_install_qpafiles\n";
my $headers_pri_file = "$out_basedir/include/$lib/headers.pri";
if(-e $headers_pri_file) {
open HEADERS_PRI_FILE, "<$headers_pri_file";
private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES
private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/$$eval(QT.$${MODULE}.VERSION)/$$TARGET/private
INSTALLS += private_headers
+
+ qpa_headers.files = $$SYNCQT.QPA_HEADER_FILES
+ qpa_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/$$eval(QT.$${MODULE}.VERSION)/$$TARGET/qpa
+ INSTALLS += qpa_headers
}