Okay, solved this way for future reference (not the best and
well-polished solution!):

cat ./src/qt4support/include-helper.pri
system("mkdir -p $$PWD/../../include/$$QT.module.name")

for(header_file, PUBLIC_HEADERS) {
    system("cp $${header_file} $$PWD/../../include/$$QT.module.name")
}

header_files.files  = $$PUBLIC_HEADERS
header_files.path   = $$[QT_INSTALL_PREFIX]/include/$$QT.module.name
INSTALLS            += header_files

Best Regards,
Laszlo Papp
_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to