Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Add uic-created header files to installation target
soroush last edited by
I have a widget library containing ui file. Pro file looks like this:
TEMPLATE = lib
SOURCES += ...
HEADERS += ...
FORMS += ...
TARGET = foo
headers.files = $$HEADERS
target.path = /usr/lib
headers.path = /usr/include/foo/
INSTALLS += target headers
When I'm installing library on system, ui_*.h files are not present in /usr/include/foo/ and this cause compilation error. How do I either remove need to those files or include them in installation target?